Demo: https://scrumpit.herokuapp.com/index.html
-
Create a Facebook app, go to the Facebook App Dashboard to do this.
-
Note your app ID, and namespace.
-
Define your application's base URI including the directory containing these uploaded files.
-
Add your website's domain as an app domain, website URL, and mobile website URL in the Facebook Developers app dashboard for your app.
-
Create an Open Graph action - object pair:
eat
ameal
. -
Edit the
eat
action. Select the following optional capabilities: Tags, User Messages, Place, Explicitly Shared. Save Changes. -
Go through all the *.html and replace: The sample app ID, 314522715291696, with one your app ID. Occurences of ''https://scrumpit.herokuapp.com'' with your website.
-
Open up js/main.js and replace ''scumptiousios'' with your app namespace.