I have a canvas app (http://apps.facebook.com/myapp) and other pages (businesses, etc) can Add it to their page. Within my app, how can I know which page I'm being called from?
I'm using the PHP-SDK
I have a canvas app (http://apps.facebook.com/myapp) and other pages (businesses, etc) can Add it to their page. Within my app, how can I know which page I'm being called from?
I'm using the PHP-SDK
As documented in Facebook Page Tab Tutorial:
So one way to capture the page id would be:
OR a solution without the PHP-SDK: