https://tech.iprock.com/archives/10620
Link: Raspberry Pi: Tweet My IP (and, how to enable a Raspberry Pi to send tweets)