I am developing a Facebook app that makes an API call to get a list of the user's events.
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 */
}
}
);
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.
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.
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.
If you love us? You can donate to us via Paypal or buy me a coffee so we can maintain and grow! Thank you!
Donate Us With