Instagram/python-instagram — pull request #95 by cmlh (2014-08-26 07:33:58+00:00)
Title: "Deploy to Heroku" Button

I have published an example to http://python-instagram.herokuapp.com/ but the app.json file expect this to be hosted at https://github.com/Instagram/python-instagram

The workaround was to push my "Heroku" branch as the "master" branch on Heroku i.e.
```
git push heroku Heroku:master
```
Also, the following environment variables need to be configured on Heroku:
```
heroku config:set CLIENT_ID=[insert from http://instagram.com/developer/clients/manage/]
heroku config:set CLIENT_SECRET=[insert from http://instagram.com/developer/clients/manage/]
heroku config:set REDIRECT_URI=[insert from http://instagram.com/developer/clients/manage/]
```
The alternative is to "override" the environment variables using their Platform API but it is not possible to obfuscate "CLIENT_ID" and "CLIENT_SECRET" yet.