Tuesday, July 23, 2013

Tips for Facebook Apps

Here are a few tips and reminders for myself about Facebook apps:

  1. They are esentially your webpage in an iframe.
  2. Internet Explorer hates IFrames unless you specify a p3p policy.
  3. Some Chrome extensions break IFrames, try disabling some if you get a message like 'Blocked a frame with origin "apps.facebook.com"
  4. Facebook requires HTTPS now.
  5. Your main canvas page should do a top.location.href = authorization page.
  6. The authorization page will redirect back to your app, you will need to redirect back into your application page on facebook to get the Facebook chrome back