plurk_api
boolean
addPlurk
([ $lang = 'en'], [ $qualifier = 'says'], [ $content = 'test from roga-plurk-api'], [ $limited_to = NULL], [ $no_comments = 0])
JSON
add_plurk
([string $lang = 'en'], [string $qualifier = 'says'], [string $content = 'test from plurk-api'], [$limited_to $limited_to = NULL], [ $no_comments = 0], int $no_commetns)
array
getPlurks
([int $int_uid = null], [string $date_from = null], [string $date_offset = null], [bool $fetch_responses = false], [bool $self_plurks_only = false])
JSON
get_plurks
([time $offset = NULL], [int $limit = 20], [int $only_user = NULL], [boolean $only_responded = NULL], [boolean $only_private = NULL])
JSON
register
([string $nick_name = ''], [string $full_name = ''], [string $password = ''], [string $gender = 'male'], [string $date_of_birth = '0000-00-00'], [ $email = NULL])
mixed
respondToPlurk
([int $int_plurk_id = 0], [string $string_lang = 'en'], [ $string_qualifie = 'says'], [string $string_content = 'test from roga-plurk-api'], string $string_qualifier)
void
set_proxy
([string $host = ''], [string $port = 0], [string $username = ''], [string $password = ''])
boolean
update
([string $current_password = NULL], [string $full_name = NULL], [string $new_password = NULL], [string $email = NULL], [string $display_name = NULL], [string $privacy = NULL], [string $date_of_birth = NULL])
int
$alerts_count
(line 156)
alert count
$api_key
$api_key
(line 43)
API KEY
string
$avatar
(line 96)
Specifies what the latest avatar (profile picture) version is.
string
$cookie_path
= NULL (line 25)
cookie file path.
string
$date_of_birth
(line 108)
date_of_birth: The user's birthday.
string
$display_name
(line 85)
The non-unique display name of the user, for example Amir S. Only set if it's non empty.
int
$fans_count
(line 150)
fans count
int
$friends_count
(line 162)
friends count
string
$full_name
(line 114)
The user's full name, like Amir Salihefendic.
int
$gender
(line 120)
1 is male, 0 is female.
int
$has_profile_image
(line 90)
If 1 then the user has a profile picture, otherwise the user should use the default.
JSON
$http_response
(line 61)
Current HTTP Server Response
int
$http_status
(line 55)
Current HTTP Status Code
bool
$is_login
= FALSE (line 49)
Login status
int
$karma
(line 132)
User's karma value.
string
$location
(line 102)
The user's location, a text string, for example Aarhus Denmark.
string
$nick_name
(line 79)
The unique nick_name of the user, for example amix.
string
$page_title
(line 126)
The profile title of the user.
string
$password
(line 37)
Password
boolean
$privacy
(line 168)
Plurk Privacy
string
$proxy
= NULL (line 174)
String contains proxy host and port for CURL connection
string
$proxy_auth
= NULL (line 180)
String contains proxy authentication for CURL connection
int
$recruited
(line 138)
How many friends has the user recruited.
string
$relationship
(line 144)
Can be not_saying, single, married, divorced, engaged, in_relationship, complicated, widowed, open_relationship
int
$uid
(line 73)
The unique user id.
string
$username
(line 31)
User name
JSON
$user_info
(line 67)
User infomation
Constructor __construct (line 182)
addPlurk (line 722)
function addPlurk Compatible with RLPlurkAPI
add_all_as_fan (line 1236)
function add_all_as_fan Accept all friendship requests as fans.
add_all_as_friends (line 1255)
function add_all_as_friends Accept all friendship requests as friends.
add_as_fan (line 1193)
function add_as_fan Accept user_id as fan.
add_as_friend (line 1215)
function add_as_friend Accept user_id as friend.
add_plurk (line 687)
function add_Plurk
add_response (line 876)
function add_response
add_to_clique (line 1682)
function add_to_clique add friend to clique
become_fan (line 1087)
function become_fan
become_friend (line 1045)
function become_friend
befriend (line 1295)
function befriend Compatible with RLPlurkAPI
blockUser (line 1500)
function blockUser Compatible with RLPlurkAPI
block_user (line 1480)
funciton block_user
create_clique (line 1606)
function create_clique create clique
deletePlurk (line 795)
function deletePlurk Compatible with RLPlurkAPI delete a plurk
delete_clique (line 1634)
function delete_clique delete clique
delete_plurk (line 773)
function delete_plurk
delete_response (line 927)
function delete_response
denyFriendMakeFan (line 1324)
function denyFriendMakeFan Compatible with RLPlurkAPI
deny_friendship (line 1274)
function deny_friendship Deny friendship to user_id.
edit_plurk (line 808)
function edit_plurk
getAlerts (line 1163)
function getAlerts Compatible with RLPlurkAPI
getBlockedUsers (line 1468)
function getBlockedUsers Compatible with RLPlurkAPI Get my list of blocked users.
getCities (line 1873)
function getCities Compatible with RLPlurkAPI Get cities.
getCountries (line 1902)
function getCountries Compatible with RLPlurkAPI Get thie list of countries.
getPermalink (line 1845)
function getPermalink Compatible with RLPlurkAPI Convert a plurk ID to a permalink URL.
getPlurks (line 535)
function getPlurks Compatible with RLPlurkAPI Gets the plurks for the user. Only 25 plurks are fetch at a time as this is limited on the server.
The array returned is ordered most recent post first followed by previous posts.
getRegions (line 1888)
function getRegions Compatible with RLPlurkAPI Get the regions in a given country.
getResponses (line 862)
function getResponses Compatible with RLPlurkAPI Get the responses of a plurk. This method will load "temporary" friends who have responded to the plurk.
getUnreadPlurks (line 576)
function getUnreadPlurks Compatible with RLPlurkAPI Get the unread plurks.
get_active (line 1148)
function get_active Return a JSON list of current active alert
get_blocks (line 1448)
function get_blocks
get_clique (line 1585)
function get_clique get users from clique
get_cliques (line 1568)
function get_cliques
get_completion (line 1132)
function get_completion Returns a JSON object of the logged in users friends (nick name and full name).
get_emoticons (line 1430)
function get_emoticons Emoticons are a big part of Plurk since they make it easy to express feelings.
<a href="http://www.plurk.com/Help/extraSmilies">Check out current Plurk emoticons.</a> This call returns a JSON object that looks like: $link http://www.plurk.com/Help/extraSmilies Check out current Plurk emoticons.
get_fans (line 1006)
function get_fans
get_following (line 1026)
function get_following
get_friends (line 986)
function get_friends
get_history (line 1176)
function get_history Return a JSON list of past 30 alerts.
get_http_response (line 1806)
function get_http_response Get HTTP Server Response
get_http_status (line 1795)
function get_http_status Get HTTP Status Code
get_login_status (line 1773)
function get_login_status Get login status
get_own_profile (line 948)
function get_own_profile
get_permalink (line 1914)
function get_permalink transfer plurk_id to permalink
get_plurk (line 476)
function get_plurks
get_plurks (line 499)
function get_plurks
get_plurks_polling (line 454)
function get_plurks_polling
get_plurk_id (line 1926)
function get_plurk_id transfer permalink to plurk_id
get_public_profile (line 967)
function get_public_profile
get_responses (line 841)
function get_responses
get_unread_plurks (line 548)
function get_unread_plurks
get_user_info (line 1817)
function get_user_info Get user information
isLoggedIn (line 1784)
function isLoggedIn Compatible with RLPlurkAPI
login (line 308)
function login Login an already created user. Login creates a session cookie, which can be used to access the other methods.
logout (line 349)
function login Logout current user.
mark_plurk_as_read (line 661)
function mark_plurk_as_read
mutePlurk (line 635)
function mutePlurk Compatible with RLPlurkAPI Mute or unmute plurks
mute_plurks (line 588)
function mute_plurks
nicknameToUid (line 1762)
function nicknameToUid Compatible with RLPlurkAPI Retrieve a user's uid from given his/her plurk nick name.
permalinkToPlurkID (line 1858)
function permalinkToPlurkID Compatible with RLPlurkAPI Convert a plurk permalink URL address to a plurk ID.
plurk (line 192)
function plurk Connect to Plurk
register (line 268)
function register Register a new Plurk account. Should be HTTPS
remove_Friend (line 1066)
function remove_Friend
remove_from_clique (line 1706)
function remove_from_clique() remove friend from clique
remove_notification (line 1349)
function remove_notification Remove notification to user with id user_id.
rename_clique (line 1658)
function rename_clique rename clique
respondToPlurk (line 914)
function respondToPlurk Compatible with RLPlurkAPI Respond to a plurk.
search_plurk (line 1372)
function search_plurk Returns the latest 20 plurks on a search term.
search_user (line 1401)
function search_user Returns 10 users that match query, users are sorted by karma.
set_cookie_path (line 250)
function set_cookie_path set curl cookie path
set_following (line 1110)
function set_following Update following of user_id. A user can befriend someone, but can unfollow them. This request is also used to stop following someone as a fan.
set_proxy (line 235)
function set_proxy Set proxy server options while connecting to Plurk API
uidToNickname (line 1730)
function uidToNickname Compatible with RLPlurkAPI Translates a uid to the corresponding nickname.
uidToUserinfo (line 1831)
function uidToUserinfo Compatible with RLPlurkAPI Retrieve a user's information given a plurk uid.
unblockUser (line 1545)
function unblockUser Compatible with RLPlurkAPI
unblock_user (line 1524)
function unblock_user
unmute_plurks (line 610)
function unmute_plurks
update (line 415)
function update Update a user's information (such as email, password or privacy). Should be HTTPS
update_picture (line 370)
function update_picture update a user's profile picture. You can read more about how to render an avatar via user data.
upload_picture (line 737)
function upload_picture
to upload a picture to Plurk, you should do a multipart/form-data POST request to /API/Timeline/uploadPicture. This will add the picture to Plurk's CDN network and return a image link that you can add to /API/Timeline/plurkAdd
Inherited From common
common::log()
common::__consturct()
common::__deconstruct()
Documentation generated on Wed, 24 Feb 2010 16:27:38 +0800 by phpDocumentor 1.4.3