Instagram API how to get user ID?

Posted by user1355300 on Stack Overflow See other posts from Stack Overflow or by user1355300
Published on 2012-10-07T15:35:22Z Indexed on 2012/10/07 15:36 UTC
Read the original article Hit count: 296

Filed under:
|
|

How can I get the user ID with the user name with instagram API without user authentication? If I try users/search, it returns multiple research results, so how can I be sure that I get the result of exact user name only?

For example, following requests return multiple users having their usernames similiar to aliciakeys, I want to get only the data of the user with exact user name.

https://api.instagram.com/v1/users/search?q=aliciakeys&access_token=232967857.f59def8.c44c9e739efb4c52ab858bc84f420d00

© Stack Overflow or respective owner

Related posts about php

Related posts about JSON