instagram-user-feed icon indicating copy to clipboard operation
instagram-user-feed copied to clipboard

400 Bad Request error when trying to get profile by id

Open AgentSmith0 opened this issue 1 year ago • 0 comments

Version(s) affected: 6.16.1

Description
When trying to get a profile by id, I get the following error message: Error: Client error: 'GET https://i.instagram.com/api/v1/users/web_profile_info/?username=robertdowneyjr' resulted in a '400 Bad Request' response: {"message":"useragent mismatch","status":"fail"}

How to reproduce
Try this example: https://github.com/pgrimaud/instagram-user-feed/blob/master/examples/profile-by-id.php

AgentSmith0 avatar Aug 16 '22 13:08 AgentSmith0