Dominik Seemayr
Dominik Seemayr

Reputation: 889

Instagram: How to get Username/ID from Access-token?

I got an access-token of an Instagram-Account on my MySQL-Database and I wanted to know if there is a way to get the Username or the UserID of the creator of this token (with PHP). Any ideas or is this impossible?

Upvotes: 4

Views: 5280

Answers (1)

Andy
Andy

Reputation: 283

https://api.instagram.com/v1/users/self?access_token=[VALUE]

Seems to work even though it's not documented.

Upvotes: 15

Related Questions