12 August 2010 10 Comments

Using JW Player in FBML to Bypass YouTube Video Ads

In a previous post, I showed you how to embed YouTube videos in FBML using <fb:swf></fb:swf> or <fb:flv></fb:flv>. That solution is easy, but pulling in YouTube videos this way often means your video ends with a series of Google ads – not good, when you’re working on a corporate page or app, and those ads [...]

12 August 2010 37 Comments

CSS for Custom Share Button in FBML

The FBML code to add a share button to an FBML is pretty straightforward, but if you want to use a custom image as the share button, it can be a little trickier to track down. Somewhere along the line, Facebook changed the CSS class that handled this button, so old CSS overrides on the [...]

5 August 2010 62 Comments

FBJS Image Carousel for FBML Apps & Fan Page Tabs

This code snippet shows you how to make a sexy image carousel, including left/right arrow opacity fade and mouseover highlights, using FBJS. This code will work for Static FBML page tabs, FBML application tabs and FBML Facebook applications.

27 July 2010 14 Comments

Adding Flash or Youtube Video Using FBML

To embed a hosted Flash file or YouTube video to an FBML application or Static FBML tab, you must use the FBML code. Regular HTML embed code will not work. Fortunately, the FBML code is actually simpler and less confusing than standard embed code.