Tags: cellphones, gammu, internet, linux, open source, python, release, sms, twitter
I am releasing here set of instructions and source that will enable anyone to set up a phone number, that if you SMS it, will post your massage on to your own twitter account. This service is called “Twiter SMS Gate”. The service handles multiple users, and should be easily modified to support other services like statusnet (and with a bit more code maybe even other social networks). The SMS hardware required is any cheap cellphone that can work with gammu-smsd (mine is a fake Nokia from India). Twiter SMS Gate also lets users easily register to it with their own cellphone.
I hope that people that like this idea would start hosting more SMS gates, as we create a wide network of those around the world. SMS Twitter Gate-IL , The Israeli Gate, has been running for a few weeks now and even got covered in the local media here.
The source is written in Python, which includes the phone hardware hooks, webserver, twitter client and database access.
Here is the cellphone used to run my server, just to show you how simple it is to do this, no super-expensive hardware required! (server is also my personal Linux-running PC:
- Source is available here on GitHub, along with basic instructions on how to set it up.
- Working example of an SMS Twitter Gate in Israel
- List of working gates (one at the time of writing this)
If you have any kind of difficulty setting this up, please give me feedback, so we can make it as easy as possible.
1 comment so far
I have been using twitter quite a lot recently and to users that are using non-Latin tweets, it might have occurred that the hashtags don’t work.
It will add a search link on the word, unfortunately due to a twitter bug, I had to remove the number sign (#) because twitter can’t search with it.
- The script should work with all non-Latin languages (tested Hebrew, Arabic and Chinese)
The script does not work when the “more” button is pressed. If anyone knows how to solve that please contact me.fixed!
I hope this becomes a useful tool for people.