I created an instagram developer account and got client_secret and client_id, I successfully authenticated my own user (myusername) and received an access_token.
When I try to use this endpoint https://api.instagram.com/v1/users/search?q=[USERNAME]&access_token=[ACCESS TOKEN]
For the user that I authenticated with 'myusername' it returns a user obj as follow but for any other usernames other than this I only get:
{"meta":{"code":200},"data":[]}
My question is if I have a list of instagram IDs.
Is there a way to get public data of these users? What I need to get for each of these users, is an object similar to this:
{"username":"someusername","bio":"","website":"","profile_picture":"https://scontent.cdninstagram.com/hphotos-xpt1/t51.2885-19/119054229_960211434022564_1442328159_a.jpg","full_name":"Robert Some Last Name","counts":{"media":12,"followed_by":13,"follows":350},"id":"23237xxxxx"}
Any help would be much appreciated.
Best,