Facebook Iframe Link Fixer

Facebook won't let you link from an iframe page to another part of Facebook (without opening a new window). This plugin gives you that ability.

Author:Bryan Gentry (profile at wordpress.org)
WordPress version required:2.0.2
WordPress version tested:3.3.2
Plugin version:1.0
Added to WordPress repository:07-01-2012
Last updated:06-01-2012
Warning! This plugin has not been updated in over 2 years. It may no longer be maintained or supported and may have compatibility issues when used with more recent versions of WordPress.
Rating, %:0
Rated by:0
Plugin URI:http://bryangentry.us/facebook-linkfix-wordpr...
Total downloads:1 242
Active installs:10+
plugin download
Click to start download

Makes it possible for a WordPress page viewed in a Facebook iFrame to link to other Facebook content, such as the Facebook wall or a photo album. (Currently, Facebook disables an iFrame app's link to other Facebook content as Facebook will not display itself within its own iFrame.) This overrides that by adding a target property to all links to Facebook content.

  • Adds a JavaScript to the header of your page
  • Tests whether the page is being viewed in an iframe
  • If so, adds a "_top" target property to each link containing a Facebook URL that is not set to open in a new window
  • Causes those links to work, loading your Facebook wall or other Facebook content in the same window when clicked