First, you'll need to register your app on Facebook. Follow these steps:
-
Visit https://developers.facebook.com/apps
-
Click "Add a New App".
-
Select "Website" and type a name for your app.
-
Click "Create New Facebook App ID".
-
Select a category in the dropdown and click "Create App ID".
-
Under "Tell us about your website", set Site URL to: {{siteUrl}} and click "Next".
-
Click "Skip to Developer Dashboard".
-
Go to the "Settings" tab and add an email address under "Contact Email". Click "Save Changes".
-
Go to the "Status & Review" tab and select Yes for "Do you want to make this app and
all its live features available to the general public?". Click "Confirm".
-
Go back to the Dashboard tab.