Search code examples
apitokeninstagramuserid

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?


Solution

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

    Seems to work even though it's not documented.