Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Use /app to get app information instead of the app ID #19

Open
wants to merge 2 commits into
base: master
Choose a base branch
from

Conversation

stuartpb
Copy link
Contributor

This change mirrors how /me is used to get info for the current user instead of querying on the user's ID/slug. It reduces the information FaceplateSession needs to function (notably, this was its only dependency on the plate object).

I haven't tested this, but this may also fix heroku/facebook-template-nodejs#11 with the code unpatched at 0d21bdb32609e8a44f576a40dd71434dcb9f0122 (if Facebook provides the app its own information through the /app route).

Remove unused "util" require
Add semicolons after function assignments/returns
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

Doesn't work when Sandbox mode is on
1 participant