Instagram-php-scraper: Useragent Mismatch

Created on 4 Oct 2019  路  8Comments  路  Source: postaddictme/instagram-php-scraper

is somebody getting this error: Code: 400 Response code is 400. Body: message => useragent mismatch; status => fail; Something went wrong. Please report issue?

wontfix

Most helpful comment

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

All 8 comments

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!

image
Change the user agent will work

Sorry but did the API change again (logged out)?

image

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.

Was this page helpful?
0 / 5 - 0 ratings

Related issues

absfarah picture absfarah  路  5Comments

iFrez picture iFrez  路  5Comments

congkv picture congkv  路  4Comments

joty0 picture joty0  路  3Comments

limminho picture limminho  路  8Comments