Follow Twitter user using ASPSnippets TwitterAPI in ASP.Net

Last Reply 10 months ago By dharmendr

Posted 10 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 10 months ago.
Posted 10 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;