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?
Assuming you're using their v3 API:
As described at http://developer.github.com/v3/users/#get-the-authenticated-user
This topic is now closed. New replies are no longer allowed.