#API Setup With Instagram Login
20 messages · Page 1 of 1 (latest)
Judging by the message here #offtopic-chat message, your redirect URI is http://3877-193-80-183-229.ngrok-free.app/accounts/instagram/login/callback/. Is that what you've configured in the settings of your app in Instagram?
yes i had done the correct uri
ive done https://
and im using ngrok
its strange as i got google working and facebook ive just struggled with instagram and its a must for me
The redirect URL in the link you posted in #offtopic-chat is http not https.
i have made sure it is https but im looking at the admin panel and i havent made a social application token, maybe instagram needs this?
ive made a social application and named it Insta Auth and ive added the client id and secret key
It's not https in the Instagram link you posted in #offtopic-chat though. Have you changed anything since that?
since then i have run a new ngrok server and replaced the link in my settings.py and my OAuth redirect URIs in my Instagram API to
https://3877-193-80-183-229.ngrok-free.app/accounts/instagram/login/callback/
And what's the URL of the Instagram OAuth page now?
ok now ive got it working i was missing some scopes , but now when i log in i get this message
We suspect automated behavior on your account To prevent your account from being temporarily restricted or permanently disabled, ensure that no other users or tools have access to your account and that you're following our Terms of Use. Also consider changing your password to a stronger one to prevent unauthorized access to your account by third parties. Dismiss
when i click dismiss it doesnt redirect and log me into my website with instagram , instead it logs me into instagram home page
but if i go back to the site manually im logged in with instagram
dam im so close to making this work haha, its now logging me in with my account but its not redirecting correctly to the website
https://developers.facebook.com/docs/instagram-platform/instagram-api-with-instagram-login/
its so weird and tempremental , for a minitue it was logging me into my website but just didnt redirect back to it now its saying invaild scopes