這是本文件的舊版!
#location{
padding-left:30px;
background:url(http://images.plurk.com/175698_b452355fc68dd95b96f3ba120afadfde.gif) no-repeat;
}
http://ipzoner.pixnet.net/blog/post/27055843
安裝 Firefox 的外掛套件 Greasemonkey。
安裝腳本:http://billypan101.googlepages.com/plurk_smile_billy_pan_v40.user.js
<?php
define('NICKNAME', 'abc');
define('PASSWORD', 'iamabc');
define('USER_ID', '123456');
$message = 'Hello World!';
$ch = curl_init();
curl_setopt($ch, CURLOPT_RETURNTRANSFER, 1);
curl_setopt($ch, CURLOPT_COOKIEJAR, 'cookie.txt');
curl_setopt($ch, CURLOPT_COOKIEFILE, 'cookie.txt');
// login
curl_setopt($ch, CURLOPT_URL, 'http://www.plurk.com/Users/login');
curl_setopt($ch, CURLOPT_POSTFIELDS, 'nick_name='.NICKNAME.'&password='.PASSWORD);
curl_exec($ch);
// post
curl_setopt($ch, CURLOPT_URL, 'http://www.plurk.com/TimeLine/addPlurk');
curl_setopt($ch, CURLOPT_POSTFIELDS, 'qualifier=says&content='.urlencode($message).'&lang=tr_ch&no_comments=0&uid='.USER_ID);
curl_exec($ch);
curl_close($ch);
?>
Based on Official Plurk API , Rails Plugin.
http://code.google.com/p/plurkapipy/
Plurk Ruby API example:http://gist.github.com/256944