Again, there is no methods in the API that will give you an email address of a 
user.

Scott.

On 22 Mar 2011, at 06:10, Manish Sadhwani wrote:

> Hello
> 
> Thanks for quick response.  I think i was not able to explain u
> clearly what we need.
> 
> I need to integrate SSO authentication like Google and Facebook). I
> dont need user's email address.
> 
> Our requirement is we provide an icon for twitter login.. User comes
> to our site, and clicks on twitter link, user goes to twitter and if
> successful logged in, with his permission we can get his email. So
> that we can allow user to login (if that email is in our database) or
> prompt for registration(if no email of that user in our db) in our web
> application.
> 
> 
> For example you can visit http://www.cloudspokes.com. We have
> integrated google and facebook authentication. We need to integrate
> twitter login like facebook. There is a link named "Login" where u can
> find "facebook" link.
> 
> 
> Thanks in advance
> 
> Regards
> Manish Sadhwani
> 
> - Hide quoted text -
> 
> 
> On Mon, Mar 21, 2011 at 9:18 PM, hax0rsteve <hax0rc...@btinternet.com>
> wrote:
> 
> 
> Hi Manish,
> 
> As far as I know, the Twitter API does not provide any method to get
> the user's email, and as far as first and last name you will have to
> rely on the "name" field of the "user" entity.  This may or (more
> likely)
> may not contain the information you are looking for.
> 
> You can see a list of the fields contained in a user entity at :
> http://dev.twitter.com/doc/get/users/lookup
> 
> Basically, if you need to those data, you are going to have the user
> for them yourself in your application.
> 
> hax0rsteve
> 
> 
> 
> 
> On 21 Mar 2011, at 09:34, Manish Sadhwani wrote:
> 
>> Hi
>> 
>> I am having a web application in .net (3.5) and SQL Server. I need to
>> add twitter authentication in my application in which, user is
>> authenticated at twitter with his username and password, and if
>> authenticated, i will be able to get email, firstname and lastname of
>> that twitter user.
>> 
>> I have implemented facebook and google authentication (openId) in my
>> web application
>> 
>> Regards
>> Manish

-- 
Twitter developer documentation and resources: http://dev.twitter.com/doc
API updates via Twitter: http://twitter.com/twitterapi
Issues/Enhancements Tracker: http://code.google.com/p/twitter-api/issues/list
Change your membership to this group: 
http://groups.google.com/group/twitter-development-talk

Reply via email to