cosenary / Instagram-PHP-API

An easy-to-use PHP Class for accessing Instagram's API.
http://cosenary.github.com/Instagram-PHP-API
BSD 3-Clause "New" or "Revised" License
1.46k stars 781 forks source link

Getting user id #156

Closed halilbilgin closed 9 years ago

halilbilgin commented 9 years ago

I use getOAuthToken to authenticate user. How can i get user id ? API doesn't return user id.

Second question, I wanna permanent access(unless user removes the application from setting in instagram.com) even when user is offline. Is it enough to take access token in order to use it forever ?

halilbilgin commented 9 years ago

Okay i solved it :)