Obtaining the Application setting values for Facebook
To enable the use of authentication credentials for Facebook, you must specify the Application setting values for your Facebook account.
Note: You must have an account with Facebook to obtain the Application setting values.
You must enter your Application ID and Application consumer secret in the corresponding fields. You can obtain these values by completing the following steps:
- Creating a new application at https://developers.facebook.com/apps. You can gain the details by clicking Add a New App, selecting Website as your platform, entering the values that satisfy your requirements, then clicking Create App ID.
- In the Tell us about your website section, you must set the
Site URL to
https://site_url.com/
, then click Next. - Click Skip Quick Start, then you can find the Application ID and Application consumer secret in the Settings tab of your Facebook App.
- In the Basic section in the Settings tab, enter
your App Domain value, which must be in the format of
example_app_domain_name.com
, as opposed towww.example_app_domain_name.com
. Click Save Changes. - Click Add Product, then Facebook Login. In the
Valid OAuth redirects URIs field, enter the Callback
URL to
https://site_url.com/hybridauth/endpoint?hauth.done=Facebook
. Click Save Changes. - Click App Review, then select Yes in response to Make Appname public?. Click Confirm.