0

Login into yahoo messenger and send im

Hello guys
I need some help in a project.
I want to make a simple, Web based IM system for my page.
I don't want to post my Yahoo Messenger ID but I want to receive messages from visitors. For this I have to build a script that logs into the Yahoo Messenger service, sends me an message then disconnects.
I've studied the YMSG16 protocol (carbonize.co.uk/ymsg16.html) and found some vb examples on google, but I have problems implementing into PHP.
I know I have to use fsockopen to send signals to the Yahoo server but I don't see how can I do that. I think I'm able to login using the procedures found here: carbonize.co.uk/ymsg16.html but how do I send a IM ?

I found this class: http://www.phpclasses.org/browse/package/3373.html but it uses e-messenger, recently known as e-buddy, and it's pretty old. Unfortunately is not working anymore.
I'm sure it's possible to build such thing. http://ankitjain.in/sendim/ the guy sells it for 50 euros but I don't have that kind of money.

Thanks

by
9 Replies
  • QUOTE (adrian.web20 @ Aug 16 2009, 01:18 AM) <{POST_SNAPBACK}>
    Hello guys
    I need some help in a project.
    I want to make a simple, Web based IM system for my page.
    I don't want to post my Yahoo Messenger ID but I want to receive messages from visitors. For this I have to build a script that logs into the Yahoo Messenger service, sends me an message then disconnects.
    I've studied the YMSG16 protocol (carbonize.co.uk/ymsg16.html) and found some vb examples on google, but I have problems implementing into PHP.
    I know I have to use fsockopen to send signals to the Yahoo server but I don't see how can I do that. I think I'm able to login using the procedures found here: carbonize.co.uk/ymsg16.html but how do I send a IM ?

    I found this class: http://www.phpclasses.org/browse/package/3373.html but it uses e-messenger, recently known as e-buddy, and it's pretty old. Unfortunately is not working anymore.
    I'm sure it's possible to build such thing. http://ankitjain.in/sendim/ the guy sells it for 50 euros but I don't have that kind of money.

    Thanks


    Ya its possible and i have made such thing..The script is being used at 1-2 places and daily around 10-15k ims are being sent thru it.. and to correct adrian its for 50$ and not 50 euros.
    0
  • QUOTE (Ankit J @ Aug 18 2009, 09:44 PM) <{POST_SNAPBACK}>
    Ya its possible and i have made such thing..The script is being used at 1-2 places and daily around 10-15k ims are being sent thru it.. and to correct adrian its for 50$ and not 50 euros.


    No need to pay my friend, use this code, it's not good code but it works :)http://www.sony-ak.com
    0
  • QUOTE (Sony AK @ Sep 9 2009, 09:08 AM) <{POST_SNAPBACK}>
    No need to pay my friend, use this code, it's not good code but it works :)well tried bt it doesnt work..
    0
  • Yahoo! Messenger no longer has an API that is available, so there may be some issues around changes with the core architecture of the service calls. What I would suggest would be to take a look at libpurple: http://developer.pidgin.im/wiki/WhatIsLibpurple . This may be one way to integrate message elements into a site.

    - Jon
    0
  • QUOTE (Ankit J @ Sep 12 2009, 01:43 AM) <{POST_SNAPBACK}>
    well tried bt it doesnt work..


    Hi Ankit,
    I update the code, go to http://sony-ak.com/wiki/Mengirim_Pesan_Yah...nda_dengan_CURL and you can see the demo at http://sony-ak.com/demo/sendyahoomessenger.php
    0
  • QUOTE (sonyarianto2 @ Nov 13 2009, 10:54 PM) <{POST_SNAPBACK}>
    Here is my old hack code, but still working to send Yahoo! Messenger to others :)Fatal error: Call to a member function getAttribute() on a non-object in D:\xampp\htdocs\teste\yahoo\5\works.php on line 82
    0
  • There's an API for Messenger now. Try http://developer.yahoo.com/messenger for documentation.

    You might look into our Messenger forum here too for help.

    Robyn
    1
  • There's an API for Messenger now. Try http://developer.yahoo.com/messenger for documentation.

    Yes and i worked fine.

    0
  • I'm able to login, change status, sending/receiving and logout.

    0

Recent Posts

in PHP Development