facebookfacebook-javascript-sdkfacebook-canvas

Facebook Testers Can't run my Facebook Dev Canvas App


I have taken the following steps:

  1. On the Facebook dashboard, I created a Facebook App.
  2. Also on the dashboard, I created a test app as a child of the Facebook app (the Dev version, for testing).
  3. I uploaded a build of my app, and confirmed I could run it from the admin account.
  4. I gave two of my real-world Facebook friends the Tester role in the dashboard.

When the real-world friends try running the app, they get 404 errors

"the requested URL was not found on this server" when it tries loading "https://apps-APP_ID.apps.fbsbx.com/hosted-canvas/e30=/.

I am using Facebook's Simple Application Hosting. The url for the app is "https://apps.facebook.com/APP_ID". When the admin hits this it works fine, when the Tester hits it they get the error. Some have suggested that there is a sandbox setting that needs to be turned off, but I see no such thing in any of the settings on the Dashboard. Any insights you could offer would be greatly appreciated.

Not sure if it helps anyone figure it out, but the app consists only of a data file, a Javascript file (xxx.js), and an index.html.


Solution

  • Holy moly - alright I'm hoping this helps someone else out. Apparently, when you create an app, and then create a test app so that you can establish a dev environment for testing - which is standard procedure - you have to add any testers to the parent (production) app under "Roles". I was only adding it under "Roles" for the test app, which apparently is not enough. If anyone from Facebook is reading this, please update your docs, or update the dashboard to issue a warning to people who only add testers under the test app.