TECHNOLOGIES
FORUMS
JOBS
BOOKS
EVENTS
INTERVIEWS
Live
MORE
LEARN
Training
CAREER
MEMBERS
VIDEOS
NEWS
BLOGS
Sign Up
Login
No unread comment.
View All Comments
No unread message.
View All Messages
No unread notification.
View All Notifications
Answers
Post
An Article
A Blog
A News
A Video
An EBook
An Interview Question
Ask Question
Forums
Monthly Leaders
Forum guidelines
Raja A
NA
438
39.7k
Retrieve email from twitter c#
Jan 20 2016 3:41 AM
Hi,
I cannot retrieve email from the following code from twitter, Anyone help me....
TwitterConnect.API_Key = "UPPeko0iaJGxOZbqQNHP2lyv1";
TwitterConnect.API_Secret = "WCqqWfRPr66nFt4ua87VttaQMlZceLRAMbVpzERq5pxn0IygM1";
if (!IsPostBack) if (!IsPostBack)
{
if (TwitterConnect.IsAuthorized)
{
TwitterConnect twitter = new TwitterConnect();
//LoggedIn User Twitter Profile Details
DataTable dt = twitter.FetchProfile();
imgProfile.ImageUrl = dt.Rows[0]["profile_image_url"].ToString();
lblName.Text = dt.Rows[0]["name"].ToString();
lblTwitterId.Text = dt.Rows[0]["Id"].ToString();
lblScreenName.Text = dt.Rows[0]["screen_name"].ToString();
lblEmail.Text = dt.Rows[0]["email"].ToString();
lblDescription.Text = dt.Rows[0]["description"].ToString();
lblTweets.Text = dt.Rows[0]["statuses_count"].ToString();
lblFollowers.Text = dt.Rows[0]["followers_count"].ToString();
lblFriends.Text = dt.Rows[0]["friends_count"].ToString();
lblFavorites.Text = dt.Rows[0]["favourites_count"].ToString();
lblLocation.Text = dt.Rows[0]["location"].ToString();
tblTwitter.Visible = true;
}
}
Reply
Answers (
4
)
How to add CSRF token in body or url of each httprequest asp
datagridview did not show all data of database.