This is a sample client for Facebook's Graph API Webhooks and Instagram's Subscriptions API, powered by Node.js on Heroku.
- Deploy with this button:
- Test your deployment with
curl https://<your-subdomain>.herokuapp.com
- you should see "It works!". - For handling POST request validation (optional, but suggested), set the
APP_SECRET
config var using your app secret value from your Facebook app's settings.
- Create a new Facebook application.
- Set up your Facebook application's Graph API Webhooks subscription using
https://<your-subdomain>.herokuapp.com/facebook
as the callback URL andtoken
as the verify_token.
- Register an Instagram API client.
- Set up your client's subscription using your
https://<your-subdomain>.herokuapp.com/instagram
as the callback URL andtoken
as the verify_token.