Archive | Basic RSS feed for this section

5 July 2011 8 Comments

Facebook Custom Share Pop-Up in IFRAME Tabs Using jQuery and the Javascript SDK

In a previous post, we showed you the CSS necessary to make custom Share link in an FBML app or application tab. Since FBML is being deprecated, this obviously won’t work anymore.

5 October 2010 46 Comments

Breaking Facebook’s Share Cache

If you’ve used Facebook’s share functionality on an external website, you have probably by now figured out that the first time Facebook accesses the shared link, it generates a cache of the preview image and the copy. Here are a few tips to break the cache.

1 September 2010 7 Comments

Facebook New Application Tool Facacta

This is just a quickie, and no code involved. A friend of mine on Twitter asked me a question tonight that I realized I should probably mention here. She was running into an error creating a new Facebook application, and couldn’t figure out how to move forward.

29 August 2010 19 Comments

Showing Certain Content to Fans, Other Content to Non-Fans

The ability to use the fan/no-fan tags in FBML has been around for a while, but the way it’s set up has been clunky to make look nice. If content is meant to be shown only to fans, non-fans will see an empty box where that fan-only content will appear.

Tags:
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 [...]

4 August 2010 12 Comments

Clear Default Form Input Value on Click Using FBJS

It’s often considered good usability to include default text in a form text input field, however if you don’t go the extra step to clear the form when the user clicks into the field to begin typing, you force them to first delete your default text before entering their own values.

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.