Configuring Facebook

1. To configure facebook for your site, point your browser to https://developers.facebook.com/apps/?action=create and login.

2.a. If you already have existing apps, simply click the + Add a New App button and then from the options provided, choose www Web option. Click on the Skip and Create App ID button.

2.b. If you do not have any existing apps, directly from the options provided, choose www Web option.

3. Fill in the details as required and click on the Create App ID.

4. You need to make this app and all its live features available to the general public by turning the status to “Yes”

Facebook-Config-Social-Login

5. Copy the App ID and App Secret.

FB-application-id

Configuring the Setting

Once you have your App ID and App Secret, go to
CometChat Administration Panel –> Settings –> Authentication Modes –> Facebook

Enter your App ID in the Facebook API Key and App secret in the Facebook API Secret Key fields. Finally click on Update Settings button.

fbloginapi

You have thus successfully configured Facebook. Your site users can now use their Facebook credentials to login to your site.

Not finding what you need?

The CometChat team is here to help!