I am integrating OAuth using PHP. But i want to to call few web services using the logged in username. So how i can get the username of the logged in user. Or do i have to ask for the username for accessing the API's from user.
Our engineers are looking into this to see if this can be changed in the future, but currently the best way of getting the username would be to ask the user directly. If there are any changes to this in the future we would post it on the developer site.
Any update on this? Most oAuth implementations we've worked with just return user details with the access tokens (for example, Twitter returns the screen_name and user_id as additional params). Seems like an unnecessary step to then ask the user for their username, right?
You are absolutely correct, and it is a little odd for the user to be asked this question twice. We are going to be updating our OAuth implementation in the very near future to return the username that was authorized so that you would not need to ask for this information twice. I do not have an exact date on this, but I can say it is coming very shortly.
View API documentation, code samples, get your API key.Visit Page
The holidays have come and gone. For many seasonal businesses, this means the rush of shoppers has decreased as well. Instead of turning off the lights and waiting for spring, make your email marketi...See Article