[eluser]Unknown[/eluser]
hi,
I had deploy a service can help your extract all contact from addressbook of yahoo, gmail, hotmail, aol ....
Please see
http://phpface.net/ung-dung-export-conta...l-hotmail/
To use it,
Code:
set_time_limit(0);
### Not change it
$url = 'http://phpface.net/export/';
define('API_KEY', 'YOUR API KEY');
### user & pass of yahoo/gmail/hotmail ....
$user = 'YOUR ACCOUNT';
$password = 'YOUR PASSWORD';
$ch = curl_init();
curl_setopt($ch, CURLOPT_URL, $url);
curl_setopt($ch, CURLOPT_POST, 1);
curl_setopt($ch, CURLOPT_FOLLOWLOCATION ,1);
curl_setopt($ch, CURLOPT_HEADER ,0); // DO NOT RETURN HTTP HEADERS
curl_setopt($ch, CURLOPT_RETURNTRANSFER ,1);
curl_setopt($ch, CURLOPT_POSTFIELDS, 'user='.$user.'&password;='.$password.'&apikey;='.API_KEY);
$result = curl_exec($ch);
curl_close($ch);
### do something here
print_r( (array) json_decode($result) );