Re: [oauth] Getting the user name
All of those return user name in some form. It's not a standard APi. If user has 2 accounts they simply have to sign out and sign in as different user in the host system. I worked on GetSatisfaction oauth where I had to make a separate custom API call just to get the user details. On May 16, 2010 7:05 AM, "hank williams" wrote: I am an Oauth Noob, and so I have a basic question. My company is intending to support Twitter, Google apps, and Yahoo apps access via Oauth. I know that part of the purpose of Oauth is to prevent the application developer from seeing the account name/password. But I am wondering if it is indeed the goal to keep the account name from the application developer. We would like to support a users ability to access multiple accounts on the same service. For example through our service the user could access two google accounts because they have two separate gmail accounts. For a proper user interface we need to be able to request, from within a given API, a call of the type "what is the username for this account". This will allow us to provide a UI that has choices for which account the user wants to be able to use. I have just been looking at the twitter API and I do not see a "what is the username for this account" call, and so I thought I would ask here if I am somehow barking up the wrong philosophical tree, and if not if anyone knows how to make such calls for twitter, yahoo and google. Thanks, Hank. -- blog: whydoeseverythingsuck.com -- You received this message because you are subscribed to the Google Groups "OAuth" group. To post to this group, send email to oa...@googlegroups.com. To unsubscribe from this group, send email to oauth+unsubscr...@googlegroups.com . For more options, visit this group at http://groups.google.com/group/oauth?hl=en. -- You received this message because you are subscribed to the Google Groups "OAuth" group. To post to this group, send email to oa...@googlegroups.com. To unsubscribe from this group, send email to oauth+unsubscr...@googlegroups.com. For more options, visit this group at http://groups.google.com/group/oauth?hl=en.
Re: [oauth] Getting the user name
Hi! Twitter returns the screenname and user id with almost any API call, and also along with the Access Token. For other services you have to check which API call can give you an account name. There is no standardized way in OAuth to do this. Regards, Lukas PS: Anyone thinks this should be standardized?! 2010/5/11 hank williams > I am an Oauth Noob, and so I have a basic question. > > My company is intending to support Twitter, Google apps, and Yahoo apps > access via Oauth. > > I know that part of the purpose of Oauth is to prevent the application > developer from seeing the account name/password. But I am wondering if it is > indeed the goal to keep the account name from the application developer. We > would like to support a users ability to access multiple accounts on the > same service. For example through our service the user could access two > google accounts because they have two separate gmail accounts. For a proper > user interface we need to be able to request, from within a given API, a > call of the type "what is the username for this account". This will allow us > to provide a UI that has choices for which account the user wants to be able > to use. > > I have just been looking at the twitter API and I do not see a "what is the > username for this account" call, and so I thought I would ask here if I am > somehow barking up the wrong philosophical tree, and if not if anyone knows > how to make such calls for twitter, yahoo and google. > > Thanks, > Hank. > > -- > blog: whydoeseverythingsuck.com > > -- > You received this message because you are subscribed to the Google Groups > "OAuth" group. > To post to this group, send email to oa...@googlegroups.com. > To unsubscribe from this group, send email to > oauth+unsubscr...@googlegroups.com . > For more options, visit this group at > http://groups.google.com/group/oauth?hl=en. > -- http://lukasrosenstock.net/ -- You received this message because you are subscribed to the Google Groups "OAuth" group. To post to this group, send email to oa...@googlegroups.com. To unsubscribe from this group, send email to oauth+unsubscr...@googlegroups.com. For more options, visit this group at http://groups.google.com/group/oauth?hl=en.
[oauth] Getting the user name
I am an Oauth Noob, and so I have a basic question. My company is intending to support Twitter, Google apps, and Yahoo apps access via Oauth. I know that part of the purpose of Oauth is to prevent the application developer from seeing the account name/password. But I am wondering if it is indeed the goal to keep the account name from the application developer. We would like to support a users ability to access multiple accounts on the same service. For example through our service the user could access two google accounts because they have two separate gmail accounts. For a proper user interface we need to be able to request, from within a given API, a call of the type "what is the username for this account". This will allow us to provide a UI that has choices for which account the user wants to be able to use. I have just been looking at the twitter API and I do not see a "what is the username for this account" call, and so I thought I would ask here if I am somehow barking up the wrong philosophical tree, and if not if anyone knows how to make such calls for twitter, yahoo and google. Thanks, Hank. -- blog: whydoeseverythingsuck.com -- You received this message because you are subscribed to the Google Groups "OAuth" group. To post to this group, send email to oa...@googlegroups.com. To unsubscribe from this group, send email to oauth+unsubscr...@googlegroups.com. For more options, visit this group at http://groups.google.com/group/oauth?hl=en.