Logo Questions Linux Laravel Mysql Ubuntu Git Menu
 

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?

like image 928
Dominik Seemayr Avatar asked Dec 09 '22 07:12

Dominik Seemayr


1 Answers

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

Seems to work even though it's not documented.

like image 145
Andy Avatar answered Dec 22 '22 09:12

Andy