1
votes

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.

2
not familiar with the android sdk for facebook but it sounds like you need the user to grant the publish_stream permissionTommyBs

2 Answers

4
votes

Has the user actually given your app the publish_stream permission?

Check with a call to /me/permissions

1
votes

Facebook api was updated on 04 dec 2011.

For more information please refer here.