Sharing game link on Facebook with a thumbnail image?

Discussion and feedback on Construct 2

Post » Tue Sep 05, 2017 4:25 pm

Hi all,

I'm trying to make a button in Construct 2 that shares the link to my game on Facebook alongside a logo/preview image. The built-in Facebook object doesn't do anything despite ostensibly having an action specifically for that purpose (i.e. nothing opens in the browser), but I've had more luck opening a URL using the Browser object. This is what the URL looks like:

Code: Select all" & URLEncode("") &"&picture="&URLEncode("")& "&display=popup&ref=plugin&src=share_button"& quote=Description of the game here.&hashtag=#tags #arent #displayed

While this does successfully open a Share dialog in Facebook, the image isn't displayed, despite me manually adding a meta property in index.html:

Code: Select all
<meta property="og:image" content="" />

The tags are also gone, but that's a much lesser concern.

Does anybody have any ideas as to what could be wrong? For something as seemingly trivial as a Share button, this is sure taking a lot of time... Thanks for your suggestions!
Posts: 4
Reputation: 183

Post » Thu Sep 07, 2017 11:53 am

Hi. I've used this plugin in the past which was okay it may help
Posts: 120
Reputation: 2,862

Return to Construct 2 General

Who is online

Users browsing this forum: No registered users and 1 guest