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

get url and add instance to a model with prefilled foreign key :django admin -

css - Make div keyboard-scrollable in jQuery Mobile? -

ruby on rails - Seeing duplicate requests handled with Unicorn -