Tweet Update Using C # TweetSharp With New OAuth

I do not think that someone used the latest version of TweetSharp to update the status of Twitter, I used the old version and now I have lost this OAuth stuff a bit and I can’t get it to work.

I would like some sample code to use it for a simple status update?

+3
source share
1 answer

This URL will provide you with the example you need to get around OAuth: http://tweetsharp.codeplex.com/wikipage?title=UserGuide&referringTitle=Documentation

TwitterService, SendTweet, . , :

var service = new TwitterService(_consumerKey, _consumerSecret);
service.AuthenticateWith(_accessToken, _accessTokenSecret);
service.SendTweet("I'm totally tweeting!");
+8

Source: https://habr.com/ru/post/1781972/


All Articles