Easy Facebook Authentication
I don’t know what it is about Facebook documentation that I find tedious. I feel that their documentation overcomplicates things because they try and cover so much. Anyway, I created a very basic version of how to implement their Authentication API.

Take a look at the simple demo here:
http://www.tonylea.com/go/examples/easy-facebook-authentication/
You can checkout the repository here:
https://github.com/tnylea/easy-facebook-authentication
There are two main files and they are very self explanatory. ‘index.php’ contains a link to the Facebook OAuth url with the current APP ID, then ‘output.php’ takes the access_token of the authenticated user and outputs a JSON array. Then you can feel free to use the data as you wish

Social Links
Thank you for taking the time to read this post. We hope you've enjoyed the
content here. Please feel free to use the links below to share this post with others.