javascript - How to get the current Facebook page ID for canvas iframe app? -
javascript - How to get the current Facebook page ID for canvas iframe app? -
i've got rails app that's running in iframe in canvas app page.
what need current page id pass iframe.
basically trying have iframe show x based on page app setup on.
as described in page tab tutorial:
when user selects page tab, receive signed_request parameter 1 additional parameter, page. parameter contains json object id (the page id of current page), admin (if user admin of page), , liked (if user has liked page). canvas page, not receive user info accessible app in signed_request until user authorizes app.
javascript ruby-on-rails facebook
Comments
Post a Comment