cURL & php ile delicious’a otomatik yazı gönderme

Daha önce curl ile twitter'a post atma işlemini incelemiştik şimdide sıra geldi delicious'a
PHP:
-
$dusername = 'KullaniciAdi';
-
$dpassword = 'Sifre';
-
-
$api = "api.del.icio.us/v1";
-
-
$apicall = "https://$dusername:$dpassword@$api/posts/add?&url=$link&description=$desc&extended=$ext&tags=$deltags";
-
$ch = curl_init();
-
curl_setopt($ch, CURLOPT_URL,$apicall);
-
curl_setopt($ch, CURLOPT_SSL_VERIFYHOST, 2);
-
curl_setopt($ch, CURLOPT_RETURNTRANSFER,1);
-
$xml = curl_exec ($ch);
-
$httpcode = curl_getinfo($ch, CURLINFO_HTTP_CODE);
-
curl_close($ch);
-
if ($httpcode != 200) {
-
} else {
-
echo "<strong>Delicious</strong> OK";
-
}
Leave a comment
ben bu api sistemimini aradım ama bir türlü bulamadım teşekkürler
mincu
14.11.2009
php ve Curl kütüphanesi ile ilgli hazirladigim video eğitim cd si var. ilgilenen arkadaşlar olursa http://www.programlamatv.com/ders/php/curl-kutuphanesi-egitim-cd-si/ de detayi mevcut
Suleyman Demirkeser
15.11.2009
bana bir örnek kontor apisi yazıp mincu12@gmail.com adresine gönderebilirminisiz??? Lütfenn çok ihtiyacım varr
mincu
21.11.2009