Facebook Tutorial

This tutorial refers to Userlike’s live chat product. For Userlike’s Unified Messaging tutorials, click here.

Setup your Facebook integration

You can use the Facebook Javascript SDK with Userlike. You can let Userlike load the SDK and provide your Facebook App ID. In case you want to load the SDK yourself because you use it outside of the Userlike Chat, you can find a sample how to do this here. You need to follow these three steps to make the Facebook integration work.

  1. Setup a Facebook Application
  2. Add the Facebook Javascript SDK to your page
  3. Configure the Chat Widget with your Facebook App ID

Setup a Facebook Application

Go to the Facebook Developers portal and create a new application.

  1. Click the "Settings" button
  2. In the Basic settings, click the "Add Platform" button below the settings configuration
  3. Select Website in the platform dialog
  4. Enter your "URL"
  5. In the App Domains input field, add your domain that matches the one in the "URL". Save your settings

Add the Facebook Javascript SDK