Q:

Facebook at Canvas(apps.facebook.com) or Fanpage

As title, how can I check if I'm landed on facebook Canvas page or fanpage tab?

A:

Check the signed_request for whether it contains a page property or not.

