pgrimaud/instagram-user-feed

getMediaDetailed() is not working

levybee opened this issue · 0 comments

Version(s) affected: 6.15

Description
getMediaDetailed() from \instascrap\vendor\pgrimaud\instagram-user-feed\examples\media-detailed.php will not work. It gives a 'Syntax error' message. On investigating it looks like an error from instagram api, this is the response I was getting "for (;;);{"__ar":1,"error":1357004,"errorSummary":"Sorry, something went wrong","errorDescription":"Please try closing and re-opening your browser window.","payload":null,"hsrp":{"hblp":{"consistency":{"rev":1006494986}}},"lid":"7159839780080870328"}".

How to reproduce
run \instascrap\vendor\pgrimaud\instagram-user-feed\examples\media-detailed.php

Possible Solution
Possibly the api endpoint is not correct

Additional context
response from API: for (;;);{"__ar":1,"error":1357004,"errorSummary":"Sorry, something went wrong","errorDescription":"Please try closing and re-opening your browser window.","payload":null,"hsrp":{"hblp":{"consistency":{"rev":1006494986}}},"lid":"7159839780080870328"}