omniauth / omniauth-instagram

OmniAuth strategy for Instagram.
112 stars 85 forks source link

Access Token #35

Closed mikeheft closed 6 years ago

mikeheft commented 6 years ago

I am having trouble accessing the access token that is required on all api calls to get any data. The credentials['token'] does not work for me. Any insights on where in the maybe the request.env is would be? I can get the token through postman using https://api.instagram.com/oauth/authorize/?client_id=#{ENV['INSTAGRAM_ID']}&redirect_uri=REDIRECT_URI&response_type=token but it comes back in the cookies. All of the documentation that I see says to just get it the once. But wouldn't it expire?

EDIT: Sorry to have wasted time. I got it to work, haha.