Programmer
Programmer

Reputation: 5400

Facebook Error: (#200) The user hasn't authorized the application to perform this action

Hello i am using this code in android facebook app but getting this error.

             Bundle params = new Bundle();
             params.putString(Facebook.TOKEN, facebook.getAccessToken());
             params.putString("message", "Facebook Dialogs are easy!");  
             AsyncFacebookRunner mAsyncRunner = new AsyncFacebookRunner(facebook);
             mAsyncRunner.request("me/feed", params, "POST", new SampleUploadListener(),null);

Thanks.

Upvotes: 1

Views: 5288

Answers (2)

dinesh sharma
dinesh sharma

Reputation: 3332

Facebook api was updated on 04 dec 2011.

For more information please refer here.

Upvotes: 1

Igy
Igy

Reputation: 43816

Has the user actually given your app the publish_stream permission?

Check with a call to /me/permissions

Upvotes: 4

Related Questions