Sharing game link on Facebook with a thumbnail image?

0 favourites
  • 2 posts
From the Asset Store
[C2] [C3] NOT support C3 build service | support Banner ads, Interstitial ads, Rewared video ads.
  • 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:" & URLEncode("") &"&picture="&URLEncode("")& "&display=popup&ref=plugin&src=share_button"& quote=Description of the game here.&hashtag=#tags #arent #displayed[/code:31f8dg3i]
    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:31f8dg3i]<meta property="og:image" content="" />[/code:31f8dg3i]
    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!
  • Try Construct 3

    Develop games in your browser. Powerful, performant & highly capable.

    Try Now Construct 3 users don't see these ads
  • Hi. I've used this plugin in the past which was okay it may help

Jump to:
Active Users
There are 1 visitors browsing this topic (0 users and 1 guests)