Results 1 to 2 of 2
Apr 26, 2012, 09:52 #1
- Join Date
- Jan 2005
- 0 Post(s)
- 0 Thread(s)
Github API: find username using accesstoken
I am stuck: I manage to get users to log in to my app using github. I get an access token. But once I have reached that stage, how do I retrieve info about that user? Most requests require a username... which I don't have.
It seems dumb since I have an access token, and I am probably missing something. Could someone tell me what it is?
What's the correct endpoint to find a username? Should I use curl?
Apr 26, 2012, 12:04 #2
Assuming you're using their v3 API:
As described at http://developer.github.com/v3/users...enticated-userSalathe
Software Developer and PHP Manual Author.