Archive

Posts Tagged ‘Zend framework’

Build a Facebook application with Zend Framework

May 12th, 2009 Gertjan 1 comment

You can integrate your application with facebook in two way: with an IFRAME (using XFBML) or with FBML.

You can embed your content in a Facebook page through FBML or use an IFRAME

Facebook will be a proxy between your server and the user’s browser: it will load a page form your own server like a normal browser, parse it, “enhance” it with his components and then embed it in a Facebook page. You will use standard HTML tags plus FBML tags.

Pros:

  • You can use almost standard HTML, but with some other tags like: ,
  • Feature rich: with a simple tag integrate wall, comments, tabs, dashboard and many others components (Complete list of facebook tags)
  • The url in the browser follow the navigation
  • Faster when you need data from facebook database (groups, friends, etc.)

Cons:

  • Slower page load times: restart the facebook chat at every request
  • Can’t use standard JavaScript, only FBJS that’s almost equals but your existing scripts and libraries won’t work
  • Its losing ground: Facebook is trying to take IFRAME/XFBML on par

Read more…

Categories: PHP Tags: , , , , ,