How do I

Get help using Construct 2

Post » Tue Jul 05, 2016 9:16 am

Hello! Sorry if this was asked before or a tutorial made. How do I add a share on social media button (for all the main social networks)? I know how to connect a link to a button, but I don't know how to make the user share the game.
Thank you.
B
4
Posts: 30
Reputation: 266

Post » Tue Jul 05, 2016 7:56 pm

You need to first look up the API for each social media outlet that you want to use, then create your AJAX to submit whatever data you want to submit to them. Then you create a nice image (or borrow one) and create click events for each one.

Like Facebook's API:
https://developers.facebook.com/docs/public_feed
https://www.ravenheart.ca/home
I don't check the forums much anymore, but I will receive an email for PMs.

"Someone once told me I bite off more than I can chew...

I told them I would rather choke on greatness than nibble on mediocrity."
B
23
S
6
G
1
Posts: 1,419
Reputation: 4,857


Return to How do I....?

Who is online

Users browsing this forum: Yahoo [Bot] and 6 guests