Today we’re going to take a photo, overlay some text and graphics on it and then tweet it. In this series, we’ve been building a Raspberry Pi Twitter app and we’re adding more to it. This is a great way to develop software. Add things one step at a time and don’t move on to the next part until it works well, and you understand it. Why Would You Want To Do This? Let me backtrack and explain why I wanted to do this in the first place. I have a weather station running on […more…]
Today it gets a bit more exciting. We’re going to take a photo with the Raspberry Pi camera and tweet it. Previously in the series we’ve covered how to: read twitter follower data in from your twitter account and pick one at random; make a simple text tweet at the command line, with a default tweet; tweet system information, like date and temperature. These are basic building blocks for manipulating a twitter account from your Raspberry Pi. So what do we need to know about tweeting photos? File Size Limits The maximum photo file size […more…]
Today I’m going to show you how to tweet some system information from your Raspberry Pi. In part 2, we did a basic tweet entered at the command line, with a standard, fixed, default message if no tweet text was entered. But That Default Text was Pretty Boring So let’s do something more fun with it. Let’s make it tweet the time, date and processor temperature if you don’t enter any tweet text. I got the ‘tweet the cpu temperature’ idea from Chris Mobberly’s blog. Here’s a condensed code snippet we’re going to borrow from […more…]
In late October I started a series on Twitter and Python tweepy. Then it got pushed to one side by HDMIPi. But now I’ve managed to find some “recreational” time to play with tweepy a bit more. So in this post, which is part 2, I’m going to show you how to post a tweet using a Python program on the Raspberry Pi. Create Your Twitter App Create a twitter app on your twitter account, as we did in part 1 here Give Your App Permission to Write Then make your app read/write. You won’t […more…]