User Profile Handler

This handler is used to retrieve users profile information from your web-site on demand but not on chat load.

http://yourdomain/chat71/handlers/user.profile.handler.php?profileID=2012

Parameters:

profileID- user identifier to retrieve profile information;

The format of returned xml is almost identical to "Auto Login" and "Chat Auth" modes except for there is no friends/blocks sections needed:

<login result="OK"> 
<userData>
  <id>2012</id>
  <name><![CDATA[David]]></name>
  <gender>0</gender>
  <location>Not specified</location>
  <age>Not specified</age>
  <photo><![CDATA[http://yourdomain/photos/nophoto_big.png]]></photo>
  <thumbnail><![CDATA[http://yourdomain/photos/nophoto_small.png]]></thumbnail>
  <details>Hello :) I am David</details>
  <level>regular</level>
</userData>
</login >

 

profile