trying to use your example
Closed this issue · 4 comments
KatLingad commented
did the composer install
included the file to the autoload.php
getting this error when attempting your example:
<br />
<b>Fatal error</b>: Uncaught Instaphp\Exceptions\HttpException: Bad Request in /var/www/html/vendor/instaphp/instaphp/src/Instaphp/Instagram/Instagram.php:364
Stack trace:
#0 /var/www/html/vendor/instaphp/instaphp/src/Instaphp/Instagram/Instagram.php(201): Instaphp\Instagram\Instagram->parseResponse(Object(GuzzleHttp\Message\Response))
#1 /var/www/html/vendor/instaphp/instaphp/src/Instaphp/Instagram/Media.php(55): Instaphp\Instagram\Instagram->get('/media/popular', Array)
#2 /var/www/html/testy.php(12): Instaphp\Instagram\Media->Popular(Array)
#3 {main}
thrown in <b>/var/www/html/vendor/instaphp/instaphp/src/Instaphp/Instagram/Instagram.php</b> on line <b>364</b><br />
dowadidi commented
I have the same issue. :/
Jasonspd commented
I have the same issue too. Did you guys find a fix?
sesser commented
There is no /media/popular
endpoint any longer. It should/will be removed from the docs
wiardvanrij commented
Could you maybe remove this from the example? :D