Reputation: 149
I recently found out from my employer that a public access token is no longer needed for obtaining a user ID from a user name which is great but I cannot find the relative documentation. I have been on the Instagram api and I cannot find this information or how it is achieved.
I found the solution using a client_ID like so.
https://api.instagram.com/v1/users/search?q=[USERNAME]&client_id=[CLIENT ID]
Upvotes: 3
Views: 8665
Reputation: 312
With code you can use https://www.instagram.com/{username}/?__a=1
e.g. https://www.instagram.com/instagram/?__a=1
Without Code you can use the site: https://www.thekeygram.com/find-instagram-user-id/
Upvotes: 2
Reputation: 149
I found the solution using a client_ID like so.
https://api.instagram.com/v1/users/search?q=[USERNAME]&client_id=[CLIENT ID]
Upvotes: 1