![]() It just takes out one small step for the user… (A redirect it seems is normally done in the header text of the script, but we need to build up the url in the PHP code first. The script has a clever work around to allow you to do a redirect to the Facebook Oauth login page with the need for them to press a button. ![]() This makes it a little smarter as they would already have pressed login once in the game before opening up the embedded browser. So the user does not have to press a login with Facebook button on the first loginwithfacebook.php webpage. This has an automatic redirect to Facebook where a user will be asked to login if not already logged in and then approve any permission requests. Plus here is an updated loginwithfb.php script. Here is the link to download the files used in this tutorial: Tutorial for the PHP script that mine was originally based on. What data is accessible from a friends list:įacebook login using Service Side Code and the URL behaviorsįacebooks official info on building a manual login.PLUS HERE’S SOME USEFUL INFO ON CUSTOMISING THIS FURTHER: Put correct URLs in the GameSalad Demo,.Trickest part I try to explain is toward the bottom of the callback.PHP file where you need to ensure the file you output from your Database is formatted exactly the same as the way GameSalad sends out its JSON files. ![]() Plus a rough run through of what’s going on in each of the three scripts. Update each script with the App Id, Secret code, URLs and database/table names. ![]() – Add the required URL information in 4 places.
0 Comments
Leave a Reply. |
AuthorWrite something about yourself. No need to be fancy, just an overview. ArchivesCategories |