This is a simple login using the Facebook V-4 APi
Change three lines of code and you can get this login working in minutes.
each line you need to change has this comment above it,
// EDIT THIS LINE ********************************************
-
Upload the whole folder to your server, do not change any file paths.
-
Create a new application at https://developers.facebook.com/ to acquire an App ID and App Secret.
-
Change 3 lines of code in the index.php file.
After setup to view the website go to http://www.YOUR/URL.com/Facebook-Login-Example