# \[4.10.1\] OnlineExternalInterfaceSteam.cpp Error

**URL:** <https://forums.unrealengine.com/t/4-10-1-onlineexternalinterfacesteam-cpp-error/341657>\
**Category:** Platform & Builds\
**Tags:** Steam, unreal-engine, bug-report, question, CPP\
**Created:** [December 16, 2015, 9:22pm UTC](https://forums.unrealengine.com/t/4-10-1-onlineexternalinterfacesteam-cpp-error/341657 "2015-12-16T21:22:11Z")\
**Posts on this page:** 5\
**Page:** 1

<div class="post-metadata">

**Author:** ![Justin.Dooley](https://d1ap1mz92jnks1.cloudfront.net/user_avatar/forums.unrealengine.com/justin.dooley/32/1194553_2.png) [@Justin.Dooley](https://forums.unrealengine.com/u/Justin.Dooley)\
**Post date:** [December 16, 2015, 9:22pm UTC](https://forums.unrealengine.com/t/4-10-1-onlineexternalinterfacesteam-cpp-error/341657/1 "2015-12-16T21:22:11Z")

</div>

showWebURL() will never return anything other than https:// sites.

```
bool FOnlineExternalUISteam::ShowWebURL(const FString& WebURL)
{
	if (!WebURL.StartsWith(TEXT("https://")))
	{
		SteamFriends()->ActivateGameOverlayToWebPage(TCHAR_TO_UTF8(*FString::Printf(TEXT("https://%s"), *WebURL)));
	}
	else
	{
		SteamFriends()->ActivateGameOverlayToWebPage(TCHAR_TO_UTF8(*WebURL));
	}
	
	return true;
}

```

First if statement should not have the !

---

<div class="post-metadata">

**Author:** ![joeGraf](https://d3kjluh73b9h9o.cloudfront.net/original/4X/2/8/5/28502927f1d97ba1051b3b47ccfe17233bf41ef0.png) [@joeGraf](https://forums.unrealengine.com/u/joeGraf)\
**Post date:** [December 16, 2015, 10:45pm UTC](https://forums.unrealengine.com/t/4-10-1-onlineexternalinterfacesteam-cpp-error/341657/2 "2015-12-16T22:45:22Z")

</div>

ActivateGameOverlayToWebPage() requires the full URL be specified including the protocol. Make sure your URL includes either https: or http: as the start of the URL.

---

<div class="post-metadata">

**Author:** ![Justin.Dooley](https://d1ap1mz92jnks1.cloudfront.net/user_avatar/forums.unrealengine.com/justin.dooley/32/1194553_2.png) [@Justin.Dooley](https://forums.unrealengine.com/u/Justin.Dooley)\
**Post date:** [December 17, 2015, 5:49pm UTC](https://forums.unrealengine.com/t/4-10-1-onlineexternalinterfacesteam-cpp-error/341657/3 "2015-12-17T17:49:40Z")

</div>

Tested using the following strings, these were the results.

test: www.google.ca  
return: [https://www.google.ca/](https://www.google.ca/)

test: [http://www.google.ca](http://www.google.ca)  
return: [https://http](https://http)://www.google.ca/

test: [https://www.google.ca](https://www.google.ca)  
return: [https://www.google.ca](https://www.google.ca)

---

<div class="post-metadata">

**Author:** ![joeGraf](https://d3kjluh73b9h9o.cloudfront.net/original/4X/2/8/5/28502927f1d97ba1051b3b47ccfe17233bf41ef0.png) [@joeGraf](https://forums.unrealengine.com/u/joeGraf)\
**Post date:** [December 17, 2015, 6:17pm UTC](https://forums.unrealengine.com/t/4-10-1-onlineexternalinterfacesteam-cpp-error/341657/4 "2015-12-17T18:17:13Z")

</div>

Ah, now I understand. That’s a bug for sure. Will get it assigned out.

---

<div class="post-metadata">

**Author:** ![anonymous\_user\_41845f4a](https://d3kjluh73b9h9o.cloudfront.net/original/4X/2/8/5/28502927f1d97ba1051b3b47ccfe17233bf41ef0.png) [@anonymous\_user\_41845f4a](https://forums.unrealengine.com/u/anonymous_user_41845f4a)\
**Post date:** [December 17, 2015, 8:30pm UTC](https://forums.unrealengine.com/t/4-10-1-onlineexternalinterfacesteam-cpp-error/341657/5 "2015-12-17T20:30:09Z")

</div>

Hello,

I’ve placed a bug in for this issue under the number UE-24654. I’ll be sure to update you here when a fix has gone in or if we have any further questions.

Have a nice day!
