1

I registered an Android app with Facebook but I'm having a hard time posting on the user's wall and on the user's friends wall. For example, when I post to my own wall from the app, I'm the only one who can see the post. And when I post on any of my friend's wall, I get no errors but the post doesn't appear in his wall. The app asks for the permission "publish_stream" so in the beginning, I should be able to do it. I've thoroughly been searching on the Facebook documentation and on the web but I haven't found any solution to the problem. That's the code I execute to post:

//me

facebook.dialog(Activity, "feed", new PostDialogListener());

//friend of mine

Bundle params = new Bundle();

params.putString("to", "id_friend");

facebook.dialog(Activity, "feed", params new PostDialogListener());

Any comments would be highly appreciated. Thanks in advance!

4

1 に答える 1

1

見つけた。問題は、アプリの設定でサンドボックスが有効になっていることでした。無効にすると、友達のウォールや自分自身にも完全に投稿できました。

于 2012-08-02T11:03:00.453 に答える