tags:

views:

235

answers:

1

aol contact api Hello can any body please tell me how to fetch complete contacts address book(including buddy name,phone number,emails etc.) i m getting this sort of information while using following query using curl:

Query:-

$aimStartUrl = "http://api.oscar.aol.com/presence/get?f=xml&bl=1&k=".$devId."&a=". urlencode($authToken);

getting result :-

<groups>
 <group>
  <name>picopico</name>
  <buddies>
    <buddy>
     <aimId>mundufive</aimId>
     <displayId>mundufive</displayId>
     <state>offline</state>
     <userType>aim</userType>
     <presenceIcon>http://o.aolcdn.com/aim/img/offline.gif&lt;/presenceIcon&gt;
   </buddy>
 </buddies>
</group>

expected result:-

Complete xml (consiting of buddy name,phone number,emails etc.)

Thanx in advance

A: 

Checkout XML-Parser Perl module.

Alan Haggai Alavi
hello ,thanx for your reponse i think you didnt understand my question..i m not getting complete xml as a response calling aol contact api.parsing is secondary thing first we need complete xml
Abhimanyu