This is code to tweet from my raspberry pi. Not all code is mine, most code has been copied from other sites. I try to show where the code came from as much as possible. I change the code as I needed but I am no expert so it is what it is.