自从最近引入登录审查以来,我如何测试Facebook应用程序? [英] How do I test a Facebook app since the recent introduction of login review?

查看:228
本文介绍了自从最近引入登录审查以来,我如何测试Facebook应用程序?的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着小编来一起学习吧!

问题描述

我正在开发一个Facebook应用程序,该应用程序将进行API调用以获取用户事件的列表.

I am developing a Facebook app that makes an API call to get a list of the user's events.

该应用将使用Javascript调用用户/事件边缘,如下所示:

The app will use Javascript which will call the user/events edge, something like this:

   FB.api(
     "/{user-id}/events",
     function (response) {
       if (response && !response.error) {
          /* handle the result */
       }
     }
 );

自4月底以来,随着登录审核的引入,该功能在我的应用程序获得批准之前将无法使用...

Since the end of April, with the introduction of the login review, this functionality won't work until my app is approved...

所以我的问题是,如何在批准该应用之前对其进行测试?

So my question is, how can I test the app before it gets approved??

我已经阅读了尽可能多的文章,并尝试设置测试用户,但无法获得任何答案...

I've read as much as I can find on this, and tried setting up a test user, but can't get any answers...

很显然,我无法在测试之前提交我的应用程序的批准,但似乎我无法在批准之前对其进行测试.一定有办法!

Obviously I can't submit my app for approval before it is tested, but it seems I can't test it before it is approved. There must be a way!

推荐答案

您无需批准应用程序管理员,开发人员和测试人员的权限.您可以在应用程序信息中心"的角色"标签中进行定义.

You won't need to approval of permissions for the Admins, Developers and Testers of your app. You can define those in the App Dashboard, "Roles" tab.

https://developers.facebook.com/apps/[app_id]/roles /

使用其中一个用户登录时,可以请求全部权限.

When you login with one of those users, you can request all permissions.

实际上,提交审核时也需要这样做.例如,当您要请求 publish_actions 权限时,您的应用必须在最近30天内使用过它.这是供审核小组检查您是否实际使用了该权限.

Actually, this is also required to do when you submit for review. For example, when you want to request the publish_actions permission, your app must have used it in the last 30 days. This is for the reviewing team to check if you actually use that permission.

因此,您将需要使用应用程序上定义的角色之一,然后才能请求该用户的任何权限.

So, you will need to use one of the roles as defined on your app and then you can request any permission from that user.

请注意,即使您可以请求所有权限,登录时仍然必须实际上是请求权限.因此,如果您为用户呼叫/me/events(碰巧是您(应用程序的管理员/开发人员),您仍然必须在登录范围权限中请求user_events.

edit: Note that even though you can request all of the permissions, you still have to actually request the permissions when you are logging in. So if you call /me/events for a user (which happens to be you, an Admin/Developer of the app), you still have to request user_events in the login scope permissions.

这篇关于自从最近引入登录审查以来,我如何测试Facebook应用程序?的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!

查看全文
登录 关闭
扫码关注1秒登录
发送“验证码”获取 | 15天全站免登陆