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_SECRETconfig 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/facebookas the callback URL andtokenas the verify_token.
- Register an Instagram API client.
- Set up your client's subscription using your
https://<your-subdomain>.herokuapp.com/instagramas the callback URL andtokenas the verify_token.