Johanna Eriksson – Freelance Web Developer

 AJAX   Ant   Apache   blog   business   CMS   company   CSS   CVS   Debian   Django   EC2   Elixir   Facebook   FBML   FFmpeg   Freemarker   GAE   Hg   ImageMagick   J2EE   Java   JavaScript   JQuery   JSON   JUnit   Lighttpd   Mantis   Maven   Microformats   MySQL   PHP   PostgreSQL   Python   S3   Selenium   Smisk   social media   Spring   SQLAlchemy   SVN   Thickbox   Tomcat   Ubuntu   VPS   Widget   Wordpress   XCAP   XHTML   XML 

Facebook app – for Let’s Mix

For Let’s Mix and a leading spirits brand I’ve developed a Facebook app to be displayed in a Facebook fan page tab.

A fun assignment, that turned out to be somewhat frustrating when I started to realize the limits of the Facebook API.

A Facebook app using FBML can include IFrames, and the app can also display the whole content in an IFrame if desired. The IFrame versions of the new and fancy social functionality can therefore easily be included, but put that same app in a tab on a fan page and this is no longer an option. All of a sudden the IFrames are gone.

Turns out that apps displayed in tabs can only use old style FBML. This is only the case for the specific combination of apps in tabs, but is still very frustrating when that’s exactly what you need to build. There are workarounds, through for example JavaScript, but to execute anything in JavaScript in this environment the user has to actively click something. No actions on load allowed. I hope that this is fixed by Facebook soon!

Comments Off
  • Contact

    E-mail
    mail at johannas.info
    Phone
    +46(0)735 255 044

  • Medieteknik | KTH
  • Twitter