Page 1 of 1
interfacing with msn/yahoo messenger
Posted: Thu Jul 31, 2003 5:35 am
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
Posted: Thu Jul 31, 2003 5:53 am
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.
Posted: Thu Jul 31, 2003 5:56 am
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
Posted: Thu Jul 31, 2003 10:24 am
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> <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
Posted: Thu Jul 31, 2003 10:55 am
by m3rajk
that site uses java to do msn
http://www.icq.com/features/web/indicator.html
will give you the icq ones