Get Email ID using Twitter Connect [Resolved]

Posted by Nilkanthn under Regular Expressions on 3/16/2011 | Points: 10 | Views : 3975 | Status : [Member] | Replies : 5
Hi there,

I have implemented the code for Twitter connect in .net.
But i m having small problem here.
I get Logged in user information i.e.his name, user id, location etc, but not getting email id.
Unlike facebook, twitter does not provides email id of logged in user...

So my question is "How to get Email Id of the user when i connect to my site using TWITTER CONNECT"

Thanks..




Responses

Posted by: Nilkanthn on: 3/16/2011 [Member] Starter | Points: 25

Up
0
Down

Resolved
Hi,

Thanks for your suggestion and help.
"We have to use email id for Login and all process so can not replace or add new field."

So i found another option.

When i connect using twitter, it authenticates the user, and after authentication i am redirecting to another page with all the information, where i am asking user to fill his/her Email id(which is mandatory).
after user hits submit button it will then make entry into database and then user can access the site.
Its working now.......

Thanks,
Nilkanth


Nilkanthn, if this helps please login to Mark As Answer. | Alert Moderator

Posted by: Prabhakar on: 3/16/2011 [Member] [MVP] Starter | Points: 25

Up
0
Down
hi Nilkanthn.

u want to connect twitter with .net so u use twitter user id . . not a twitter email id . .


Check this link . .

http://www.4guysfromrolla.com/articles/021710-1.aspx

Best Regard's
Prabhakar

Nilkanthn, if this helps please login to Mark As Answer. | Alert Moderator

Posted by: Nilkanthn on: 3/16/2011 [Member] Starter | Points: 25

Up
0
Down
Hi Prabhakar,

I have the code running here, i get user name of the logged in user.
But in our site, email Id of the user is mandatory and without email id user can't perform any operation.

So still i am not getting EMAIL ID for the logged in user.....

I s there any alternative way to do this?

Thanks...
Nilkanth

Nilkanthn, if this helps please login to Mark As Answer. | Alert Moderator

Posted by: Prabhakar on: 3/16/2011 [Member] [MVP] Starter | Points: 25

Up
0
Down
Hi Nilkanthn ,


why not . . u save user mail id with twitterid field . . u must add one field in ur table twitterid. . so ur problem solve it . . try it . .

Best Regard's
Prabhakar

Nilkanthn, if this helps please login to Mark As Answer. | Alert Moderator

Posted by: Nirmalse7en on: 7/4/2013 [Member] Starter | Points: 25

Up
0
Down
hi fnd ... i need that code ... in my application it show remote server error 401 . Its very urgent if yo can send me that twitter code that retrieve user details wat yo mansion in above artical ...( Send me that full file)
Help me.....

Nilkanthn, if this helps please login to Mark As Answer. | Alert Moderator

Login to post response