Graph API Webhooks Heroku Sample

This is a sample client for Facebook's Webhooks product and Instagram's Subscriptions API, powered by Node.js on Heroku.

Setup

Facebook Webhooks

  1. Refer to Facebook's Webhooks sample app documentation to see how to use this app.

  2. Deploy the sample app on Heroku with this button:

    Deploy

Instagram Subscription API

  1. Register an Instagram API client.

  2. Deploy the sample app on Heroku with this button:

    Deploy

  3. Set up your client's subscription using your https://<your-subdomain>.herokuapp.com/instagram as the callback URL. It is recommended that you set a TOKEN config var as part of the set up of your Heroku app to secure requests. If you choose not to set a config var, then you will need to set a verify token of 'token' when configuring the callback URL.