interfacing with msn/yahoo messenger

PHP programming forum. Ask questions or help people concerning PHP code. Don't understand a function? Need help implementing a class? Don't understand a class? Here is where to ask. Remember to do your homework!

Moderator: General Moderators

Post Reply
luanne
Forum Newbie
Posts: 2
Joined: Thu Jul 31, 2003 5:35 am

interfacing with msn/yahoo messenger

Post by luanne »

Hi,

I need to interface PHP code with yahoo/msn messenger.
I have a list of members and their yahoo/msn usernames. I want other members to see when these members are online and contact them using msn or yahoo IM.

How do I go about doing this?

Thanks in advance,

Luanne
User avatar
mikusan
Forum Contributor
Posts: 247
Joined: Thu May 01, 2003 1:48 pm

Post by mikusan »

ICQ provides you with these tools, just go to the webmaster's tools on their site...

PHP on its own won't cut it.
luanne
Forum Newbie
Posts: 2
Joined: Thu Jul 31, 2003 5:35 am

Post by luanne »

Hi,

Thanks for your reply.

Take a look at http://www.ecademy.com - the left nav bar. The msn logo is clickable and is a php script. If your msn is open, you can directly message one of those guys.
How do they do it?

Thanks
Luanne
m3rajk
DevNet Resident
Posts: 1191
Joined: Mon Jun 02, 2003 3:37 pm

Post by m3rajk »

the following line gives both im and adding to the list on aim, just echo it out after you set the fariable $aim

Code: Select all

<a href="aim:goim?screenname=$aim&message=wassup?">message me</a>&nbsp;&nbsp;&nbsp;<a href="aim:addbuddy?screenname=$aim&groupname=buddies">add me</a>
this one does messaging to yim, but you have to be signed in (unlike the web based java one)preceeded by a way to see if they are online (variable $yim must be set before echoing)

Code: Select all

<img src="http://opi.yahoo.com/online?u=$yim&m=g&t=0"><img src="http://opi.yahoo.com/online?u=$yim&m=g&t=2"><a href="ymsgr:sendim?$yim&__wassup">message me</a><a href="http://profiles.yahoo.com/$yim" target="_blank">My Yahoo! profile</a>
i don't know the others
m3rajk
DevNet Resident
Posts: 1191
Joined: Mon Jun 02, 2003 3:37 pm

Post by m3rajk »

that site uses java to do msn

http://www.icq.com/features/web/indicator.html

will give you the icq ones
Post Reply