github - Instagram Ruby Gem Authorization Error -
when run sample application instagram ruby gem github page located here: https://github.com/instagram/instagram-ruby-gem
i following error:
{"code": 400, "error_type": "oauthexception", "error_message": "you must include valid client_id, response_type, , redirect_uri parameters"}
i can't figure out problem.
found problem. url ruby code sending instagram authorize app was
https://instagram.com/oauth/authorize/?client_id=xxx&redirect_url=xxx&response_type=code
but instead should have been:
https://instagram.com/oauth/authorize/?client_id=xxx&redirect_uri=xxx&response_type=code
do notice difference? in query request instagram module should have used variable name redirect_uri instead of redirect_url access tokens.
Comments
Post a Comment