Twitter, oauth, follow user

Im experimenting with twitter in C #.

The sample I'm working with uses the following Oauth method to send a new tweet:

string xml = _oAuth.oAuthWebRequest(
                oAuthTwitter.Method.POST,
                "http://twitter.com/statuses/update.xml",
                "status="+tweet);

How will I follow the user? Where can I find support for all the features of oAuthWebRequest, such as the following users, checking if the user should follow me, unsubscribe from the user.

early

EDIT:

I tried the following according to these instructions: http://www.lordyz.co.uk/2010/10/01/c-asp-net-twitter-api-oauth-example-continued/

string friend = HttpUtility.UrlEncode ("ladygaga");

    string xml = _oAuth.oAuthWebRequest(  
    oAuthTwitter.Method.POST,  
    "http://api.twitter.com/1/friendships/create/" + friend + ".xml", ""); 

It works! thank

+3
source share
1 answer

REST - https://api.twitter.com/1/friendships/create.xml POST. oAuthTwitter.Method.POST, URL-, POST.

oAuthWebRequest, - :

string friend = "ladygaga";
string xml = _oAuth.oAuthWebRequest(
                    oAuthTwitter.Method.POST, 
                    "https://api.twitter.com/1/friendships/create.xml", 
                    "screen_name=" + friend); 
0

All Articles