How to get user's media through Instagram Api? -


i can see media using

https://api.instagram.com/v1/users/self/media/recent/?access_token=**my_access-token** 

i want user's media, use

https://api.instagram.com/v1/users/**id_user**/media/recent/?access_token=**my_access_token** 

i error, because account private

{"meta":{"error_type":"apinotallowederror","code":400,"error_message":"you cannot view resource"}} 

but follow him, should see media. should ?

the following link works me without authentication

https://www.instagram.com/{username}/media/ 

Comments

Popular posts from this blog

c - How to retrieve a variable from the Apache configuration inside the module? -

c# - Constructor arguments cannot be passed for interface mocks -

python - malformed header from script index.py Bad header -