# Pull down the repo
git clone git@github.com:cleanandcreative/oauth_data_proxy.git && cd oauth_data_proxy
bundle install
# Install a local config file, which we'll then add values to
touch config.local.yml
echo "development:" >> config.local.yml
echo " instagram:" >> config.local.yml
echo " client_id: ''" >> config.local.yml
echo " client_secret: ''" >> config.local.yml
echo " access_token: ''" >> config.local.yml
$EDITOR config.local.yml
#
# Now copy client\_id and client_secret from your instagram app [registration page][app_registration]
#
# Start the server
shotgun
Go through the login process, and copy/paste the returned access_token into the config.local.yml file.
http://localhost:9393/instagram/users/self/feed
- [https://github.com/jrconlin/oauthsimple/blob/master/php/example.php][https://github.com/jrconlin/oauthsimple/blob/master/php/example.php]
- [http://unitedheroes.net/OAuthSimple/][http://unitedheroes.net/OAuthSimple/]
- [https://github.com/mislav/instagram][https://github.com/mislav/instagram]
- [https://github.com/cosenary/Instagram-PHP-API][https://github.com/cosenary/Instagram-PHP-API]
- [https://github.com/macuenca/Instagram-PHP-API][https://github.com/macuenca/Instagram-PHP-API]
- [https://github.com/Phunky/instagram-curl-php/blob/master/instagram-curl.php][https://github.com/Phunky/instagram-curl-php/blob/master/instagram-curl.php]
- [http://marktrapp.com/blog/2009/09/17/oauth-dummies][http://marktrapp.com/blog/2009/09/17/oauth-dummies]