How to Login Using Facebook in Your Game or App - Construct 3

4

Attached Files

The following files have been attached to this tutorial:

.c3p

loginfacebook.c3p

Download now 962.07 KB
.c3p

loginfacebook.c3p

Download now 962.07 KB

Stats

2,007 visits, 4,239 views

Tools

Translations

This tutorial hasn't been translated.

License

This tutorial is licensed under CC BY 4.0. Please refer to the license text if you wish to reuse, share or remix the content contained within this tutorial.

Published on 30 Aug, 2020.

Hello all

If you want the user login in your game with facebook native c3 plugin see this

demo

rafaeltrigo.000webhostapp.com/flogin

All My tutorials here

construct.net/en/tutorials/construct-tutorials-2525

Fisrt of all , when the user logged in you can get the facebook user Id , so thats good for save personal information in a database , or for other purposes , you can get the photo facebook id aswell and you can use some share options too , like share the app , or a link from your game

1 ) You nedd an app Id , and you can get it in : developers.facebook.com

Click : Create first App , Choose for Everything Else and create your app Id

when you get the app id from facebook developers just type it in the plugin in c3

Click on facebook pluging in project bar , and on left side will see the app id to fill

2 ) Alow the urls you will use

for a preview mode I use : preview.construct.net/local/index.html or if you upload for a site jus type the url of your site

but where to put it ? in facebook developers go to : Facebook login , settings and fill the urls in : Valid OAuth Redirect URIs

And The End !

In developers site , you can get a test user too if you want

.C3P

loginfacebook.c3p

Download now 962.07 KB
.C3P

loginfacebook.c3p

Download now 962.07 KB
  • 5 Comments

  • Order by
Want to leave a comment? Login or Register an account!