PHP Login Register With Facebook

Overview

Now a days most of the project required login through social media. This article will guide you to crate login/ register with Facebook. You need to generate your API keys in Facebook to use this script. 

Click here to generate App ID/API Key and App Secret for Facebook.

It can easily be inserted into any existing PHP application and integrated with the existing system.

As the demo doesn’t work on iframe, please click link below to view the demo.

Click here to view demo.

Features

  • User registration and Login
  • No need to save password in database
  • Easy to customize
  • Ability to connect using a Facebook account
  • The most easy way to get an app featuring a Facebook connect functionality

Requirements

  • PHP 5.6+
  • MySQL

Instructions

  • Click here to know more about Permissions in Facebook.
  • Click here to generate App ID/API Key and App Secret for Facebook.
  • Save the App Client ID and Client Secret and Redirect URL in fbconfig.php file.
  • You need to generate your Application key and Application Secret. Most
    important your website must be HTTPS enabled. The redirect URL must be HTTPS:// otherwise it will not work and you will get Error message.

Related