Logo Questions Linux Laravel Mysql Ubuntu Git Menu
 

Instagram location endpoind media/recent always return empty array

I always get empty JSON response by https://api.instagram.com/v1/locations/LOCATION-ID/media/recent?access_token=ACCESS-TOKEN

e.g. api.instagram.com/v1/locations/215700153/media/recent?access_token=ACCESS-TOKEN

JSON Response:

    {"pagination":{},"meta":{"code":200},"data":[]}

Althouh I tried some other location ids, all of the results are empty too.

Any suggestions?

.. For example about my ACCESS-TOKEN https://api.instagram.com/v1/locations/search?lat=48.858844&lng=2.294351&access_token=ACCESS-TOKEN correctly return array with locations Parameter scope=public_content

like image 225
vdio Avatar asked Apr 01 '26 16:04

vdio


1 Answers

It works for now. However, the response depends on your token. Some tokens seems like valid but return you empty responses.

After I faced this problem I started using http://services.chrisriversdesign.com/instagram-token/ service to generate instagram tokens which work correctly with instagram media API requests.

like image 163
Sergey Mell Avatar answered Apr 03 '26 08:04

Sergey Mell



Donate For Us

If you love us? You can donate to us via Paypal or buy me a coffee so we can maintain and grow! Thank you!