Jump to content

Facebook API Help (Require Extended Permission)


The Little Guy

Recommended Posts

This is my first time using facebooks api, and I would like some help.

 

The following code I am using:

<?php
require_once '../classes/Facebook/facebook.php';

$appapikey = 'xxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxx';
$appsecret = 'xxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxx';
$facebook = new Facebook($appapikey, $appsecret);
$user_id = $facebook->require_login();

$facebook->api_client->users_setStatus('Message From My Site', $user_id);
?>

 

Using the above code I am getting the following error:

Updating status requires the extended permission status_update

 

How can I fix this problem?

 

Thanks for any help!

Archived

This topic is now archived and is closed to further replies.

×
×
  • Create New...

Important Information

We have placed cookies on your device to help make this website better. You can adjust your cookie settings, otherwise we'll assume you're okay to continue.