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?
Asked
Active
Viewed 5,146 times
4

EJoshuaS - Stand with Ukraine
- 11,977
- 56
- 49
- 78

Dominik Seemayr
- 830
- 2
- 12
- 30
-
http://stackoverflow.com/questions/11796349/instagram-how-to-get-my-user-id-from-username – Black Sheep May 27 '14 at 18:01
-
@aldanux I want to get the Id/Username from an access-token (who created it) – Dominik Seemayr May 27 '14 at 18:04
1 Answers
14
https://api.instagram.com/v1/users/self?access_token=[VALUE]
Seems to work even though it's not documented.
-
tested yesterday, not working anymore, can use this instead https://developers.facebook.com/docs/instagram-api/reference/user – am05mhz Jul 02 '20 at 02:57