I have
$facebook->api_client->status_set('is the Eagle has landed.','');
as part of a test page, and i get errors
Call to undefined method FacebookRestClient::status_set()
please help, thank you
I have
$facebook->api_client->status_set('is the Eagle has landed.','');
as part of a test page, and i get errors
Call to undefined method FacebookRestClient::status_set()
please help, thank you
Did you even bother opening up the file and looking at the available methods?
Copy/pasted from the 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) {
So, in usage
$facebook->api_client->users_setStatus( $status, $uid, $clear, $status_includes_verb );