jaliss/securesocial — pull request #19 by poornerd (2012-01-05 11:44:38+00:00)
Title: Update For Instagram

I added a new Provider for Instagram, but discovered that in the Oauth2Provider in the line with:

OAuth2.Response response = service.retrieveAccessToken(authUrl);

Instagram needs a POST not GET !!!

I updated Oauth2Provider to post, and add the "grant_type" as a parameter (which might possibly need to be parameterized) but not sure what to because now it does a POST for all Oauth2