0
我Facebook的set_status Facebook的API
$facebook->api_client->status_set('is the Eagle has landed.','');
作爲測試頁面的一部分,而我得到的錯誤
Call to undefined method FacebookRestClient::status_set()
請幫忙,謝謝
我Facebook的set_status Facebook的API
$facebook->api_client->status_set('is the Eagle has landed.','');
作爲測試頁面的一部分,而我得到的錯誤
Call to undefined method FacebookRestClient::status_set()
請幫忙,謝謝
你甚至懶得開放文件並查看可用的方法?
複製/ SDK中粘貼
/**
* Sets the users' current status message. Message does NOT contain the
* word "is" , so make sure to include a verb.
*
* Example: setStatus("is loving the API!")
* will produce the status "Luke is loving the API!"
*
* @param string $status text-only message to set
* @param int $uid user to set for (defaults to the
* logged-in user)
* @param bool $clear whether or not to clear the status,
* instead of setting it
* @param bool $status_includes_verb if true, the word "is" will *not* be
* prepended to the status message
*
* @return boolean
*/
public function &users_setStatus($status,
$uid = null,
$clear = false,
$status_includes_verb = true) {
所以,在使用
$facebook->api_client->users_setStatus($status, $uid, $clear, $status_includes_verb);
我之前已經檢查了,和users_setStatus ISN;噸工作。這就是我在這裏問的原因。該狀態不在Facebook上發佈。 – ajayprabhu 2010-08-19 06:16:21
嗯,我向你保證:無論你從已建立的方法調用中得到什麼類型的錯誤,你都不會**通過隨機選擇一個新的方法名來修復它們。 – 2010-08-19 15:16:50
它來自維客facebook開發者api我的第一個代碼,我猜他們不會隨機發布在維基上嗎? – ajayprabhu 2010-08-21 03:08:30