Thuzi / facebook-node-sdk

Modeled from the (Facebook Javascript SDK), now with the facebook-node-sdk you can now easily write the same code and share between your server (nodejs) and the client (Facebook Javascript SDK).
Other
736 stars 250 forks source link

Getting more fields out of the signed_url #116

Open sahanDissanayake opened 8 years ago

sahanDissanayake commented 8 years ago

there is a link here https://developers.facebook.com/docs/reference/login/signed-request

My tab based app is custom to each client. Let me show u an example http://www.menutabapp.com/

So every page has a different content. I have no idea how to get the page id from the signed_request. Is there a way to do that please ?

Thanks

dantman commented 8 years ago

Use FB.parseSignedRequest to parse the signed request. According to that documentation the id should be part of the .page object on the signed request.

Any general questions about the Facebook API should be asked on the Stack Overflow "Facebook" tag.