Login into yahoo messenger and send im

Not for 'how-to' coding questions but PHP theory instead, this forum is here for those of us who wish to learn about design aspects of programming with PHP.

Moderator: General Moderators

Post Reply
bulletin
Forum Newbie
Posts: 5
Joined: Sat Aug 15, 2009 2:56 pm

Login into yahoo messenger and send im

Post 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
User avatar
jackpf
DevNet Resident
Posts: 2119
Joined: Sun Feb 15, 2009 7:22 pm
Location: Ipswich, UK

Re: Login into yahoo messenger and send im

Post by jackpf »

I'd have thought sockets would be better for this kind of job.
bulletin
Forum Newbie
Posts: 5
Joined: Sat Aug 15, 2009 2:56 pm

Re: Login into yahoo messenger and send im

Post 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
User avatar
jackpf
DevNet Resident
Posts: 2119
Joined: Sun Feb 15, 2009 7:22 pm
Location: Ipswich, UK

Re: Login into yahoo messenger and send im

Post 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.
bulletin
Forum Newbie
Posts: 5
Joined: Sat Aug 15, 2009 2:56 pm

Re: Login into yahoo messenger and send im

Post 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
User avatar
jackpf
DevNet Resident
Posts: 2119
Joined: Sun Feb 15, 2009 7:22 pm
Location: Ipswich, UK

Re: Login into yahoo messenger and send im

Post by jackpf »

Maybe they don't want you doing this then...

In that case...you probably can't do it (obviously)
bulletin
Forum Newbie
Posts: 5
Joined: Sat Aug 15, 2009 2:56 pm

Re: Login into yahoo messenger and send im

Post by bulletin »

jblz
Forum Newbie
Posts: 1
Joined: Thu Aug 20, 2009 12:40 pm

Re: Login into yahoo messenger and send im

Post 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.
bulletin
Forum Newbie
Posts: 5
Joined: Sat Aug 15, 2009 2:56 pm

Re: Login into yahoo messenger and send im

Post by bulletin »

Yeah. I saw that as well. Tried to debug it but no lock so far.
Thank you anyway.
Post Reply