Android版Facebook的墙后 - publish_action允许未授权Android、Facebook、publish_action

2023-09-06 08:28:58 作者:烂人

我目前正在开发一个应用程序,我只需要张贴在Facebook用户的时间轴说,我现在使用的X应用程序,你可以从这里下载的消息。

I am currently developing an application where I just need to post the message on Facebook user's timeline saying that " I am currently using X application and you can download it from ".

现在为了这个,我需要Facebook的许可,这是publish_actions。

Now for this I need the Facebook permission which is "publish_actions".

当我尝试用此权限打开一个授权对话框,我有以下错误,所以现在用户甚至没有要求的publish_actions权限,所以我不能够发布用户的墙的任何消息。

When I try to open an authorize dialog with this permission, I am having the following error, so now user is not even asked for the publish_actions permission, and so I am not being able to post any message on the user's wall.

我现在用,我创建了我在Facebook上注册的实际应用的测试应用程序的应用程序ID。此外,当我尝试真正的应用程序的应用程序ID,我收到了同样的错误。

I am right now using the application id of the test app that I have created of my real application registered on Facebook. Also when I try the Application id of real application, I am getting the same error.

谁能告诉我为什么这个错误是来了吗?我是否需要先递交申请到Facebook或什么别的?

Can anyone tell me why this error is coming? Do I need to submit my application first to Facebook or what else?

推荐答案

请参阅的 https://developers.facebook.com/docs/facebook-login/permissions/v2.0#review

如果您要求publish_actions,您需要提交您的应用程序进行审核。

If you request publish_actions, you need to submit your app for review.