2

Because yahoo removed the "avatar.php" script for showing the user avatar/display image (http://img.msg.yahoo.com/avatar.php?yids=username) I need to make something similar. Can someone help me with guidelines? Or where to start? Or a script to show the avatar?

Michael
  • 113
  • 1
  • 1
  • 8

2 Answers2

3

You can use this link from yahoo:

http://img.msg.yahoo.com/v1/displayImage/yahoo/username

Morteza Asadi
  • 1,819
  • 2
  • 22
  • 39
0

A good place to start would be Yahoo! Messenger documentation for the Messenger Display API, found here:

http://developer.yahoo.com/messenger/guide/topleveldisplayimageapi.html

There is also a PHP SDK for interacting with the Yahoo! Messenger API. It doesn't have a function for grabbing the avatar, but you could use one of the other functions, such as fetch_contact_list() as a starting point.

https://github.com/yahoo/messenger-sdk-php

stmcallister
  • 1,682
  • 1
  • 12
  • 21