-
Notifications
You must be signed in to change notification settings - Fork 50
Vanilla apps are broken #14
Comments
After much tinkering, I was able to get the app running. There were two bugs: one in faceplate, one in facebook-template-nodejs. Here are two pull requests that should solve it: Note: I updated to the latest version of faceplate and edited the vendored faceplace dependency files right inside the template app. Once the faceplate pull request is merged, the template app will need to be updated to the new faceplate version, presumably Note2: If you're testing this locally, you may need to (counterintuitively) flip sandbox mode to |
This has been fixed in #15 and deployed to Heroku, but sandbox mode still needs to be disabled for the app to work: Sandbox is mode is enabled by default. The Youtube screencast in the devcenter article is now out of date, as it doesn't mention this now-necessary step. |
I've never needed to disable sandbox mode on any other Facebook app before. Is this new, or just Node.js related? If just Node.js related, you may On Tue, Apr 16, 2013 at 10:14 PM, Zeke Sikelianos
|
Are the vanilla facebook templates still broken? I get an error right away when creating a facebook template app - Cannot read property 'name' of undefined. |
Received a ticket about this still being broken. Same error as above. |
There's also a Stackoverflow issue. The PHP template is not broken out of the box. The issue is fixed when using the node.js template if one disables sandbox mode, as @zeke points out. Since the PHP template can work without this, I'm sure the node.js one could be made to do the same. |
http://cl.ly/text/3c192d252c0A
I thought it might be the restler dependency of faceplate getting quietly updated to a version with breaking API changes, but restler hasn't been updated in quite some time.
I tried updating faceplate from 0.0.4 to 0.5.0, but that doesn't solve anything: a request to
/
just hangs and times out.This callback doesn't get fired: https://github.com/heroku/facebook-template-nodejs/blob/master/web.js#L47
To get up and running with a localhost:5000 OAuth setup:
Open localhost:5000.
The text was updated successfully, but these errors were encountered: