Login with Twitter and get User Email in ASP.Net

Last Reply on Jun 23, 2018 08:44 AM By Mudassar

Posted on Jun 23, 2018 07:53 AM

I want to get user email when login with twitter address in ASP.Net ? Twitter supports now email address. Any suggestion?

I am using ASPSnippets Twitter API DLL.


Posted on Jun 23, 2018 08:44 AM Modified on on Jun 23, 2018 08:45 AM

1. Login to your App Console in Twitter.

2. Add Privacy Policy and Terms Conditions Links in Settings Tab.

3. Then in Permissions Tab check the Request email addresses CheckBox and click Update Settings

4. Download the Latest ASPSnippets Twitter API DLL using the following link.

Download ASPSnippets Twitter API DLL

5. Finally use the following article and just add one more line to get the Email.

Add Twitter Login Authentication to website in ASP.Net using C# and VB.Net


lblEmail.Text = dt.Rows[0]["email"].ToString();


lblEmail.Text = dt.Rows(0)("email").ToString()