Created
March 3, 2019 20:49
-
-
Save marcduiker/9c1266cdc2f6998e67dcf911928b67ef to your computer and use it in GitHub Desktop.
Post a new Tweet using the Tweetinvi client library.
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
var creds = new TwitterCredentials( | |
consumerApiKey, | |
consumerApiSecret, | |
accessToken, | |
accessTokenSecret); | |
var tweetMessage = CreateMessage(newRelease); | |
var tweet = Auth.ExecuteOperationWithCredentials(creds, () => | |
{ | |
return Tweet.PublishTweet(tweetMessage); | |
}); |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment