如何在Twitter中不使用tweetinvi发布消息? [英] How to post a message without using tweetinvi in twitter?
问题描述
我创建了一个Windows应用程序并添加了tweetinvi dll的引用并在twitter中发布了一条消息。它工作正常,但我需要使用OAUTH而不是使用tweetinvi在Twitter上发布消息。我使用了以下代码:
TwitterCredentials.SetCredentials(AccessToken,AccessTokenSecret,ConsumerKey,ConsumerSecret);
var newTweet = Tweet.CreateTweet(Hello);
newTweet.Publish();
请帮助我!!!
I created a windows application and add the reference for tweetinvi dll and post a message in twitter. Its working fine, but i need to post a message in twitter using OAUTH instead of using tweetinvi. I used the following code:
TwitterCredentials.SetCredentials(AccessToken, AccessTokenSecret, ConsumerKey, ConsumerSecret);
var newTweet = Tweet.CreateTweet("Hello");
newTweet.Publish();
Please help me !!!
推荐答案
这篇关于如何在Twitter中不使用tweetinvi发布消息?的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!