Follow Twitter user using ASPSnippets TwitterAPI in ASP.Net

Last Reply 6 months ago By dharmendr

Posted 6 months ago


I have been authorised but how do I follow a user?

I tried this:


But it does not seem to work?


You are viewing reply posted by: dharmendr 6 months ago.
Posted 6 months ago

After succcessfully authenticated use below code to follow user.

protected void Follow(object sender, EventArgs e)
    TwitterConnect twitter = new TwitterConnect();
    DataTable dt = twitter.FollowTwitterUser("@ASPSnippets");
    // Get details.
    gvDetails.DataSource = dt;