Closed fsjdg closed 4 years ago
I'm having the same problem. The problem is with user agent from the call to the url https://i.instagram.com/api/v1/users/{userId}/info/
. Instagram changed it and now only the app is able to access that url.
This PR fixes the problem https://github.com/postaddictme/instagram-php-scraper/pull/545
Same problem here!
I'm having the same problem. The problem is with user agent from the call to the url
https://i.instagram.com/api/v1/users/{userId}/info/
. Instagram changed it and now only the app is able to access that url.This PR fixes the problem #545
Problem solved with this change, thanks!
Change the user agent will work
Sorry but did the API change again (logged out)?
Conclusion: Need to be logged in (again).
Uncaught InstagramScraper\Exception\InstagramException: Response code is 400. Body: message => useragent mismatch; status => fail; Something went wrong. Please report issue.
Same problem here since today.
This issue has been automatically marked as stale because it has not had recent activity. It will be closed if no further activity occurs. Thank you for your contributions.
Hi, Hope you are doing great, I am Integrating Instagram in my App i am Getting Instagram id And Client id But i need to get user name On the Basis Of these Details i tried To use Instagram Graph Api And Above Api's Which You shared Above i am Unable to Get the response From Those Please Help me to get the User name From Instagram it will help To Complete My App Functionality Please Any Body Have Solution Please respond here
I am Waiting For your Valuable Response For Solve My Problem
Thanks&Regards Thiru(IOS developer)
Anyone having those probs:
change User-Agent to Instagram 219.0.0.12.117 Android
Anyone having those probs: change User-Agent to
Instagram 219.0.0.12.117 Android
Worked like a charm, just popped it into postman. Thanks so much!
@prime-optimal How exactly did you use that?
Use this User-Agent : Mozilla/5.0 (iPhone; CPU iPhone OS 12_3_1 like Mac OS X) AppleWebKit/605.1.15 (KHTML, like Gecko) Mobile/15E148 Instagram 105.0.0.11.118 (iPhone11,8; iOS 12_3_1; en_US; en-US; scale=2.00; 828x1792; 165586599)
Use this User-Agent : Mozilla/5.0 (iPhone; CPU iPhone OS 12_3_1 like Mac OS X) AppleWebKit/605.1.15 (KHTML, like Gecko) Mobile/15E148 Instagram 105.0.0.11.118 (iPhone11,8; iOS 12_3_1; en_US; en-US; scale=2.00; 828x1792; 165586599)
where did you get this value from?
is somebody getting this error: Code: 400 Response code is 400. Body: message => useragent mismatch; status => fail; Something went wrong. Please report issue?