SMS gateway lets you Twitter by text message

[GuySoft] threw together a cellphone-based SMS gateway that allows him to push text messages to Twitter. Once up and running, it can be used by multiple people, either with shared or individual Twitter accounts. At its core, this setup uses the cellphone as a tethered modem on a Linux box. The open source software package, Gammu SMSD, provides hardware hooks for phones running in modem mode. The package is already in the Ubuntu repositories but it runs cross-platform and can be downloaded from the project site. This gave [GuySoft] the ability to script a framework that checks for received SMS messages, compares the incoming phone number for a match on a saved list, then pushes the message from a confirmed number to Twitter via their API.

A web interface is used to register new numbers and associate them with Twitter accounts. On the back-end, [GuySoft's] own Python script handles the translation of the message. You can download all of the code, and get more insight on setup from the readme file, over at the GitHub repository.

Comments

  1. Abyss says:

    Wait, didn’t Twitter already do SMS? Yep, they did: http://support.twitter.com/articles/14589-how-to-add-your-phone-via-sms

    Solution without a problem. Sorry guys, this makes no sense.

  2. Got to love the rube goldberg aspect of it actually :)

  3. GuySoft says:

    @Abyss That works only in the US. Not in my country. Also, this code should easily worked with any statusnet service (like identi.ca)

  4. GuySoft says:

    @Abyss That works only in the US. Not in my country. Also, this code should easily work with any statusnet service (like identi.ca)

  5. technodude says:

    This does have a good use. If you want to setup twitter to use a google voice number this would enable you to do so. That’s something I’ve been wanting to do for quite some time.

  6. AGMLego says:

    On the one hand, I like the thought involved here.

    On the other, I have been using Twitter’s own SMS system for years, so I have to agree with Abyss…done already.

    On the gripping hand, this does allow for more functionality, like an SMS-enabled remote sensing platform, or joining multiple phones to the same account. Maybe not as redundant as it seems initially.

  7. boarder2k7 says:

    @Abyss

    Before you try to be smart in the first comment, I suggest you actually READ the article, even just the short bit here on hackaday.

    If you had bothered to read before trying to post a smart response, you would see that this forwards texts from a number of different numbers, allowing multiple authorized users to post mobily to the same twitter account without having interenet access. This would allow for example, a company to have several employees be able to post status updates on a given twitter account, without having to give them the logon information for it, thus giving whatever manager or whoever monitors it editing permissions and no chance of getting locked out.

    Also several of my friends and I have a “group twitter” where we put stuff that we mutually find funny and want to remember/pass along and whatnot. This would be fun to use in our situation because then we could all have access from our phones, and not all of us have phones with internet access, so just logging in isn’t an option.

    So it actually makes a lot of sense. Solution for a problem that you don’t have? Sure probably. But solution without a problem? Not at all.

    -B

  8. lolpuss says:

    very nice
    (oh btw didn’t you realise that the US is the whole of the world :P )

  9. TM101Radio says:

    Funny I was looking for something like this so my street team can tweet from the events… So i found cotweet.com and last i heard (over 3 months ago) they were working on a feature like this but it looks like u got them beat.. This in conjuction with cotweet is the perfect solution for a company/team twitter account..awesome

  10. Taylor Alexander says:

    While i agree that there is clearly more going on here than the title suggests, perhaps that is part of the problem? You have always been able to twitter by text message, that was one of the original foundations of the service. So having a headline that reads “[something] lets you Twitter by text message” prepares you for a flamefest first and foremost. It makes the person who did the hack, and the person who wrote the title look bad. It looks like they don’t seem to be aware of one of the service’s (twitter’s) basic functionalities.

    Perhaps headlines should be written a bit more carefully to better illustrate what is going on? Something like “SMS gateway extends twitter-by-text functionality” or something like that. At least, maybe this headline was just below average.

    I certainly know that a bad headline can incite flamewars (which we clearly don’t want) – admittedly, most of the reason I clicked on this story was negative, because the headline made it seem, uh, well, dumb. It certainly isn’t dumb, but the headline did nothing to make that clear!
    -Taylor

  11. Rupin says:

    I have used gammu earlier and settled for Kannel.Its a gateway as well, but has a higher throughput.

  12. colecoman1982 says:

    @Taylor Alexander: Honestly, the problem here is that some of my fellow Americans are morons that think the world revolves around them. The title is just fine and describes the project adequately. It DOES provide the ability to Twitter by SMS and that IS a feature that is, apparently, missing for a significant number of people.

    The fact that most Americans don’t realize that not everyone around the world has access to that feature from Twitter isn’t really their problem. The fact that some American hackers are so quick to jump on a project, that seems not to be useful to them, and bitch about it is a sign of their own stupidity. The idea that things like headlines should be carefully written to avoid annoying douche-bag trolls is idiotic in it’s own right.

  13. woutervddn says:

    This also doesn’t work in Belgium so I think it’s a nice hack. Even without a twitter account I like the way it does things. I remember a while ago there was a hack of a garage with a cellphone. Someone mentioned that it had a security flawn, this could solve that problem. Along with that I’d like to say that I hate the fact that some people here are putting hacks down for being useless without looking further than the hack itself. Yes for some people this hack is useless but with a bit of code alter it can become super handy.. Imagine something like this for your wordpress blog..

  14. Writing featureful hack – couple hours
    Providing it to the world – couple minutes
    Accidentally a forum – timeless

  15. jason says:

    Why is the PC required?

  16. Jeditalian says:

    while twitter sucks, here in america we send a text message to 40404 if we want our inbox filled with annoying incoming twats 24/7

  17. Tomasito says:

    @GuySoft

    What country are you from? I’m in Argentina and I have that service. It’s weird because we are the last in everything.
    It’s not sarcasm, i really want to know.

  18. n00b says:

    As guysoft already noted smsing to twitter is available only in a few countries. most of the world does not have this feature short list:
    Egypt, Lebanon , Surya , Libya , India , Israel ,Jordan ,Turkey , Russia , Belarus , Ukraine ,Kazakhstan , Uzbekistan etc..

  19. wouldn’t it be more useful the other way round, ie posting an update to twitter and a text message being sent? Since a lot of phone plans have free twitter, you could perhaps try to take advantage of cheap sms services online or something?

  20. GuySoft says:

    @Tomasito I am from Israel, I am pretty sure it mentions that in the blog post.
    The device is a fake Nokia phone, so note I am not sure you have that one specifically. However it does not matter, most phones have the ‘modem option’ today and should be good for the hack.

  21. Alan Jay says:

    I love the 2000’s – SMS Rocks! If you bolt some extra logic around the same idea, you can get your Linux box to pick up the late trains, weather forecasts, and so on back to your phone. Minerva (http://www.minervahome.net/) appears to this with its own SIS idea.

  22. nuit says:

    it’s pretty simple to setup the whole modem stuff…you could get an old nokia from ebay, set it up and have your own sms gateway…in germany you can get prepaid cards and sms flats aroudn 10 euros…so you could have an sms gateway (sharing with others) for about 2 euro each (with 5 persons)
    but…never found an actual contract to allow that…would be interesting, would is your contractour ;)

  23. GuySoft says:

    @nuit receiving SMS is free, so you don’t need to charge a prepaid with any money
    @Alan read the blog post before you comment, this sends information to the computer from your phone, not the other way round.

  24. Itai says:

    Ever heard of Twilio? (google them if you haven’t)
    Using Twilio would actually only require the linux box.

  25. hj91 says:

    can you write similar code for identi.ca and facebook using mysql backend?

Leave a Reply

Fill in your details below or click an icon to log in:

WordPress.com Logo

You are commenting using your WordPress.com account. Log Out / Change )

Twitter picture

You are commenting using your Twitter account. Log Out / Change )

Facebook photo

You are commenting using your Facebook account. Log Out / Change )

Google+ photo

You are commenting using your Google+ account. Log Out / Change )

Connecting to %s

Follow

Get every new post delivered to your Inbox.

Join 97,511 other followers