Menu

sending an im

2005-05-15
2013-03-22
  • C. Prosper Nwankpa

    I've downloaded the newest release, and when I run it, everything else seems to work but the following:

    -sendIm(). When I call this function, it prints the result on the screen, but it never sends the message to the target user. Anybody know how to fix this?

    -getBuddies.  This function seems to return nothing. Any ideas on how to fix it?

     
    • Jeremy

      Jeremy - 2005-05-15

      I'll look into the get buddues thing... I assume you have buddies on your buddy list? They made some recent changes to the format the buddy list is sent in and this may not have kept up... I'll look into this ASAP

      And as far as IM sending, if you get the result on the scrren, try logging onto AIM with a normal client and see if you can send IMs. I think (this is just speculation), they are trying to doscourage the use of the TOC protocol, since its more "open" its easier for people to make spam bots etc, therefore I think they sometiems stop messages at the server coming through TOC, but it seems to block that screen name entirely from sending messages, so try it on AIM, and it it works, then there may be something weird in that method, though it generally works for me. If you have disconnected/reconnected alot, this may be one of the things that blocks it (I think I got the you have reconnected error then it wouldn't let me send IMs for like 24 hours). Try with a different screen name, and if that doesn't work let me know... This is why I want to move the project to the other protocol eventually, stuff like this. If the problem continues to persist, please drop me an email and I'll give you some more instructions so maybe I can help better

       
    • Rob

      Rob - 2006-04-21

      I having the same problem (running rc1).  Was a solution ever found?

       
      • Jeremy

        Jeremy - 2006-04-21

        Can you run example.php? Does that work or not

         
        • Rob

          Rob - 2006-04-21

          No.  When i ran it (w/ -q option) my bot did not even appear on my own buddy list. However, I did add my own screen name to the bots buddy list through the AIM client and when I sign on and off, the program outputs UPDATE_BUDDY2.  I wrote a simple script that just signs on and send me an instant message and couldn't get that to work either (although the program did output: Done with signon proccess \ TO - theScreenName : Hello World .

           
          • Jeremy

            Jeremy - 2006-04-21

            Thats interesting...

            When you registered the screen name did you confirm the email that aol sent you? And have you ever signed onto that screen name with the actual AIM client...

            I would try those 2 steps.. I haven't signed up for a screen name in a while, but see if you can confirm with the email AIM sends you, and try logging in at least once on an AIM client, then try example.php again. It works for my bot, so I'm not entirly sure why it won't work for yours

             
            • Rob

              Rob - 2006-04-21

              yeah I confirmed and logged in with an aim client but still nothing.  From the command line everything looks great, but for some reason the bot doesn't appear on my buddy list or manage to get any instant messages through.

               
              • Jeremy

                Jeremy - 2006-04-22

                ALright, downloading from what is on sf, I ran example.php with the following screen name and password:

                screenname: hi12312176
                password: 12345

                If you could try that combo and tell me if it works or not, that would be great. Also, can you let me know what version of php you are running, and what version of the class are you running? Thanks

                 
                • Rob

                  Rob - 2006-04-26

                  Alright that username/pw worked and I have also gotten it to work w/ example.php.  Thank you very much pickleman.  I think the problem may have been too much signing on and off, although I have no way of being sure.

                   
                  • Jeremy

                    Jeremy - 2006-04-26

                    Too much on and off should give you an error, but glad you got it working

                     

Log in to post a comment.

Want the latest updates on software, tech news, and AI?
Get latest updates about software, tech news, and AI from SourceForge directly in your inbox once a month.