Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

getUserDetails/getSelfUserDetailsWithSucess/getMediaForUser response is bad request (400) with all of them #251

Open
Uncpy opened this issue Sep 2, 2016 · 4 comments

Comments

@Uncpy
Copy link

Uncpy commented Sep 2, 2016

Hey,
I'm currently working on app, which uses this wrapper for Instagram. Instagram used to work and stopped about 2-3 months ago. There were no changes in code, redirect starts with http:// and app passed Review, so it looks like everything is fine. I receive access token, user is authenticated, but methods from title stopped working.

Could you try to help me resolving this problem? :)

@Kingson
Copy link

Kingson commented Oct 18, 2017

I have the same issue.

@shyambhat
Copy link
Owner

shyambhat commented Jun 3, 2018

Instagram has deprecated some of their API endpoints. Unfortunately there's nothing we can do from our side.

InstagramKit v4.0 makes these deprecated APIs unavailable and adds ability to look into the detailed response body the server sends. (#240)

Could you please update to the latest pod and inspect the response bodies of the response?

@alexeydonov
Copy link

The problem is the endpoint for getSelfUserDetails getting URL-encoded so it looks like
https://api.instagram.com/v1/users%2Fself?access_token=... instead of https://api.instagram.com/v1/users/self?access_token=...

Instagram just stopped tolerating incorrectly encoded URLs

@kkak10
Copy link

kkak10 commented Mar 29, 2019

@alexeydonov @shyambhat

I think this PR can solve the problem.

#285

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

5 participants