Facebook Open Graph: Approving actions while in debug mode

497 views Asked by At

I'm developing a facebook canvas application (iframe) and I'm using the Open Graph API to post user actions.

When I submit my action to facebook's team approval, they reply with:

We are unable to test this action due to an error within your app. Please make sure that your action functions correctly by testing with the Auth Dialog Preview User and re-submit.

Here's the thing. I realised that only when I test the application with an app generated test user, I get an error when trying to post open graph action, probably what happend to facebook's tester:

OAuthException: An unexpected error has occurred. Please retry your request later.

Now, when I take my application out of Sandbox mode, everything works perfectly, even for test users.

From this I understand that in order to approve my actions with facebook I need to put it out of sandbox mode, which I really prefer not to in this point.

Any tips? did someone faced this issue too? thanks in advance!

1

There are 1 answers

6
phwd On BEST ANSWER

You are at a catch 22 if you prefer not to release it from sandbox yet want the actions approved for the public.

Ensure that your application is fully functional under your developer account as well as Testers (who can use the app under Sandbox) before sending for approval then disable Sandbox. Disabling sandbox and sending the action to Facebook is you telling Facebook that your application is ready for review and is no longer in the testing/sandbox stage of development.

Testers for Sandbox

If you need to re-enable Sandbox after approval, I don't think anything prevents you. I don't believe Facebook will remove the approval, at least, that's my assumption.