Question

I am working on github api--gem with Rails Framework. for Authentication i am using outh(client_id). For some reason ,i am not getting who is the logged in github user. I tried this. http://developer.github.com/v3/users/#get-the-authenticated-user, but this gives me nil..

Was it helpful?

Solution

Found the answer.. github_api gem doesn't have this feature. we can have calls with http://github.com/api/v3/user and if people are using github_api gem then pass token as an parameter

Licensed under: CC-BY-SA with attribution
Not affiliated with StackOverflow
scroll top