Been playing with the instagram API a little bit today and hit a brick wall trying to pull user data.
So here’s the deal: username and user id are not the same in instagram-land. For example, in API speak the user id of 3 is allocated to kevin (founder of instagram). But in instagram profile land, the username of 3 is some complete other dude.
There’s no easy way to easily translate between these two elements except these API calls may help:
- username >> user: http://instagram.com/developer/endpoints/users/#get_users_search
- user id >> username http://instagram.com/developer/endpoints/users/#get_users
Also, some dudes on stackoverflow have created some nice tools to do this.
Confused? Yeah, I sure was.