简体   繁体   English

Android中的Facebook应用程序权限

[英]Facebook app permissions in android

I have a facebook app what posts video.watches actions to a user. 我有一个Facebook应用程序,可将video.watches动作发布给用户。 My problem is that I can't post it to a user who is not a developer or a tester or one of those special roles. 我的问题是我不能将其发布给不是开发人员或测试人员或这些特殊角色之一的用户。 Sandbox Mode is Disabled. 沙盒模式已禁用。 When the user want to use the application at first time it asks for permissions but in the android app appear the dialog: "Using this app requires: Your basic info Your photos" but the Preview Login Dialog "THIS APP WILL RECEIVE: Your basic info Your activities..." so on what i defined at the permissions. 当用户第一次想使用该应用程序时,它会询问权限,但在android应用程序中会出现以下对话框:“使用此应用程序需要:您的基本信息您的照片”,但“预览登录”对话框“此应用程序将收到:您的基本信息您的活动...”,以此类推。 Can somebody tell me if i missed something or how can i ask for the defined permitions? 有人可以告诉我是否错过了什么,或者我如何要求已定义的许可?

You cannot ask for publish type permissions the very first time you authorize the user. 第一次授权用户时,您不能要求发布类型权限。

See: https://developers.facebook.com/docs/tutorials/androidsdk/3.0/upgrading-from-2.0-to-3.0/ 参见: https : //developers.facebook.com/docs/tutorials/androidsdk/3.0/upgrading-from-2.0-to-3.0/

And the note: 并注意:

"Note: In the new SDK, you may ask only for read permissions when you first open a session. You should not prompt your user for publish permissions until the time at which they are actually publishing an action to Facebook. This increases user trust, and also the likelihood that your user will choose to publish stories from your app. To request further permissions, use Session.openForRead or Session.openForPublish." “注意:在新的SDK中,您可能在首次打开会话时仅询问读取权限。在用户实际将操作发布到Facebook之前,请勿提示用户发布权限。这会增加用户的信任度,以及用户选择从您的应用发布故事的可能性。要请求进一步的权限,请使用Session.openForRead或Session.openForPublish。”

声明:本站的技术帖子网页,遵循CC BY-SA 4.0协议,如果您需要转载,请注明本站网址或者原文地址。任何问题请咨询:yoyou2525@163.com.

 
粤ICP备18138465号  © 2020-2024 STACKOOM.COM