我正在创建一个 android 应用程序,我想在我朋友的墙贴上点赞。可以通过我自己的android应用程序吗?我已经尝试过这种方式,但总是出现权限错误,例如
{"error":{"message":"(#200) Requires publish_stream permission or Requires valid signature","type":"OAuthException","code":200}},
我的应用程序示例是
Utility.fb = new Facebook(StaticValues.APP_ID);
AsyncFacebookRunner fbAsyncRunner = new AsyncFacebookRunner(Utility.fb);
Bundle parameters = new Bundle();
fbAsyncRunner.request(commentId + "/likes", parameters, "POST", new MyRequestListener(), "");
我添加了一些权限,例如
"offline_access", "publish_stream",
"read_stream", "user_photos", "publish_checkins", "photo_upload","user_likes","friends_likes"
我如何在朋友的评论下点赞、评论、发帖?