Facebook configuration

In order to get access to the instagram insights, users have to log in using the Facebook login. That means that the deployed instance of the application must be declared to Facebook first

  1. Go on https://developers.facebook.com/ and create a new app. The name does not matter
  2. Add two products : Facebook login and API Graph for Instagram
  3. About Facebook login, you need to have an HTTPS callback URL defined. If you don't plan to host the app with your own domain, then have a look at ngrok. It will allow you to have a https temporary public domain. Then you paste your url and append /auth/facebook/callback to it. For example :
https://927f5e43ada5.ngrok.io/auth/facebook/callback
  1. About API Graph, there is nothing to do
  2. Go back to the parameters of the app, in the standard parameter you should find the app ID and the secret key. You will need them later