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

Popular posts from this blog

How do I check if an insert was successful with MySQLdb in Python? -

delphi - blogger via idHTTP : error 400 bad request -

postgresql - ERROR: operator is not unique: unknown + unknown -