Things used in this project
I have created many projects in Windows 10 IoT Core, generally small and learning stuff since I'm already a Windows Developer.
I wanted to create a Twitter Bot that is hosted on the Raspberry Pi 3 but all the examples I've seen were using Linux not Windows 10 IoT Core so I created one, with a help of a wonderful library, and wanted to share it with the world! :)
The project uses Tweetinvi library, check it on GitHub, or just install it using NuGet (Install-Package TweetinviAPI).
Let's go coding, spoiler alert: It's pretty easy :P
First things first, if the bot shall have its own account go and create a new one. If it's gonna post from your account log in!
Go to apps.twitter.com to create a new app, and get your four "secret" strings: API Key, API Secret, Access Token, Access Token Secret.
The last two must be generated from the bottom of your app page.
Tweetinvi.Auth.SetUserCredentials(API_KEY, API_Secret, ACCESS_TOKEN, ACCESS_TOKEN_SECRET); Tweetinvi.Tweet.PublishTweet("Tweet from RPi3");
Did you replicate this project? Share it!I made one
Love this project? Think it could be improved? Tell us what you think!