I tried to use the code above and it doesn't seem to work it will reload my page after authenticating and display auth token ex.( http://www.mywebsite/sub/?auth_token...fkfafd9393313f ) but it doesn't update my status and its not displaying and error messages can someone shed some light on why that might be.
i am using this code
Code:
<html>
<body>
<a href="http://www.facebook.com/authorize.php?api_key=API&v=1.0&ext_perm=publish_stream ">Click here if account is has not got extended permissions.</a><br /><br />
</body>
</html>
<?php 
require_once('facebook.php'); 
$facebook = new Facebook('mykey','mysecret'); 
$fb_user = $facebook->require_login(); 
$facebook->api_client->users_setStatus('STATUS','','',1);
?>