Does anyone know a good Facebook authentication tutorial?

I am linking my application to Facebook and I want people to log in to my Facebook account, but I cannot figure out how to do this. I read on Facebook Connect, but it seems like it is no longer used, but every tutorial that I can find seems to link to it. When I try to follow them, this does not work because the interface has changed.

So, can someone direct me to a textbook or guide to do it in a new way?

Basically, I want to do the following:

A user who subscribes to Facebook and gets to my web page is automatically registered in my application (with the usual permissions to provide Facebook) and can log into his Facebook account if they are not already logged in.

Then I want to use Facebook to connect users with my friends who are also registered on my site so that they can share things.

I would also like to have access to the Facebook comments made on the walls from my site, so the comment stream for a specific message can be seen both on my site and on Facebook, and comments can be made on.

If someone can point me in the right direction (or even tell me what I should type on Google!), I would be very grateful.

Thank.

+5
source share
3 answers

, , . Graph API - , , , - , , Facebook.

+2

, , - OAuth 2.0.

Facebook , :

https://developers.facebook.com/docs/authentication/client-side/

In this example, authentication takes place entirely in Javascript on the client side, so you can request a potential user to authenticate via Facebook, and then confirm access to your application.

If the user is already logged in, only confirmation of access for your application is performed.

If the user has already registered and access has already been granted, the user does not need to log in or re-confirm access.

0
source

All Articles