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…]
I wanted to be able to interact with my twitter account(s) using Python scripts. I’d heard there was a Python library called tweepy that does a lot of the Applications Programming Interface (API) work for you. I’d also seen quite a few posts in the Python section of the Raspberry Pi Forums, where people had problems with it. Prize Draw I thought I’d take a look, spurred on by the idea that I’d like to be able to select a random twitter follower every once-in-a-while for a prize draw. So, last week, I spent a […more…]