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.
Develop games in your browser. Powerful, performant & highly capable.
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: