954,600 Members — Technology Publication meets Social Media
Username:
Password:
Lost login information?
Have something to say? Contribute New Article Reply to this Article

Exception: 200: The user hasn't authorized the application to perform this action

I have test my app before, and It worked I have managed to post to my page wall.
But now after I have changed the code and removed the permissions, and logged in again it didn't work and trowed this exception:

Exception: 200: The user hasn't authorized the application to perform this action

Code:

if(isset($_POST['submit'])){

try {
//$facebook = new Facebook(###, ###);


$facebook->api_client->session_key = '###';//I  got this by a tutorial once but I can't seem to get a new one, is there any way of getting one automatically?
$response = $facebook->api(array(
  'method' => 'stream.publish',
  'message' => 'Test from dreafmhosters.com',
  'target_id' => ##mypageid###;
));
} catch(Exception $e) {

echo $e . "";
}
}
?>

Any solutions?

agam360
Light Poster
27 posts since Jun 2009
Reputation Points: 9
Solved Threads: 0
 

check the following links they same discussion link 1 ..... link 2 .....and this link ..... also can check the google search page

abelLazm
Postaholic
2,113 posts since Feb 2011
Reputation Points: 219
Solved Threads: 124
 
check the following links they same discussion link 1 ..... link 2 .....and this link ..... also can check the google search page

This did not help me...
Thanks anyways.
Please answer my question specifically.

agam360
Light Poster
27 posts since Jun 2009
Reputation Points: 9
Solved Threads: 0
 

This article has been dead for over three months

Post: Markdown Syntax: Formatting Help
You
View similar articles that have also been tagged: