Page 1 of 1

Login into yahoo messenger and send im

Posted: Sat Aug 15, 2009 3:03 pm
by bulletin
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 CURL to send signals to the Yahoo server but I don't see how can I do that.

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

Re: Login into yahoo messenger and send im

Posted: Sat Aug 15, 2009 3:35 pm
by jackpf
I'd have thought sockets would be better for this kind of job.

Re: Login into yahoo messenger and send im

Posted: Sat Aug 15, 2009 3:39 pm
by bulletin
So... can you please tell me how to make my "dream" come true?

Seriously, I'm googleing for like 2 weeks and I didn't came up with no results. Is it just that hard ?

Thank you

Re: Login into yahoo messenger and send im

Posted: Sat Aug 15, 2009 3:51 pm
by jackpf
Well, I have no idea how yahoo messenger works, so I can't help you there...

I guess you should ask yahoo, or read their docs or something. Just find out what port they're using, connect to that port and...send whatever commands they want.

Sorry I can't be of any more help. But that's how I'd do it anyway.

Re: Login into yahoo messenger and send im

Posted: Sat Aug 15, 2009 4:00 pm
by bulletin
Well .. there is nothing related on this on http://developer.yahoo.com/
I saw a message on their forum. A developer said they don't provide any support on this kind of development...

Thanks

Re: Login into yahoo messenger and send im

Posted: Sat Aug 15, 2009 4:17 pm
by jackpf
Maybe they don't want you doing this then...

In that case...you probably can't do it (obviously)

Re: Login into yahoo messenger and send im

Posted: Sun Aug 16, 2009 2:33 am
by bulletin

Re: Login into yahoo messenger and send im

Posted: Thu Aug 20, 2009 6:13 pm
by jblz
This took three seconds to search for and its probably a good start

http://stackoverflow.com/questions/8156 ... -using-php

My advice is to get a browser plugin which shows you the headers being passed, log into Yahoo from e-buddy and work it out for yourself.

Re: Login into yahoo messenger and send im

Posted: Thu Aug 20, 2009 9:01 pm
by bulletin
Yeah. I saw that as well. Tried to debug it but no lock so far.
Thank you anyway.