How would I do this?

Discussion in 'OT Technology' started by Tk, May 27, 2003.

  1. Tk

    Tk Well-Known Member

    Joined:
    Dec 23, 2001
    Messages:
    23,079
    Likes Received:
    281
    Location:
    nw iowa
    http://www.cellularonewest.com/SMS.asp

    That web page will send SMS messages to my cell phone, on the CellOne Network, as well as most of the other network's phones.

    I want to write a program that sends me an SMS message from that page every time I get an instant message via AIM.

    Is this just like a google search address string, whereas its http://www.google.com/search?hl=en&ie=UTF-8&oe=UTF-8&q=search+string&btnG=Google+Search

    ??? :dunno: ???

    If its something like the google method, how would I find out what the string is?
     
  2. Tk

    Tk Well-Known Member

    Joined:
    Dec 23, 2001
    Messages:
    23,079
    Likes Received:
    281
    Location:
    nw iowa
  3. Rob

    Rob OT Supporter

    Joined:
    Jul 6, 2002
    Messages:
    88,613
    Likes Received:
    36
    Location:
    Atlanta, GA
    Figure out what the CGI method is for that form. The identify the different field names of the form. From there it would be a simple task to write a script to send the PM.

    The only problem I would see is how would you interface the program with AIM? I would think it would require some serious hacking to get it to work with the win32 version. But if you were to look at something open source (eg. naim, gaim, the firetalk lib comes to mind) then it might be easier.
     
  4. Tk

    Tk Well-Known Member

    Joined:
    Dec 23, 2001
    Messages:
    23,079
    Likes Received:
    281
    Location:
    nw iowa
    Found the string, its this:
    http://www.cellularonewest.com/sms/send_sms_mult.asp?qryTo=#########&qryFrom=6052353515&qryMsg=Testing

    Interfacing with AIM wont be hard... I'll simply subclass it to whenever a new message is recieved when the client is away, it'll forward the message to the phone. if you could link me to some of the open source libraries so i can take a look at those id appreciate it. thanks!

     
  5. Rob

    Rob OT Supporter

    Joined:
    Jul 6, 2002
    Messages:
    88,613
    Likes Received:
    36
    Location:
    Atlanta, GA
    naim is my favorite linux aim client and is completly open source. The author has new releases about every week, so it is current with the TOC protocal.

    Here is the URL: naim.n.ml.org You can probably just download the tar ball and have a look inside. :big grin:

    try searching freshmeat.net for gaim and everybudy, there are also opensource and probably use the same libraries.
     

Share This Page