Meta Mate, Open Graph and Facebook

While developing a site with Rapid Weaver and Meta Mate, the Facebook Object Debugger is extremely useful. It shows exactly what Facebook and other services will see when they attempt to extract Open Graph information from your pages.

No comments | Trackback

Facebook “Like” Button Proxy Error

While attempting to embed the Facebook “Like” button in this blog, I ran into the following error:

uncaught exception: Error: Permission denied for to get property Proxy.InstallTrigger

This was due to my failure to include meta information regarding the Facebook administrators of this site. For me, the simplest way was to insert this meta tag into the head, with USER_ID being my Facebook id.

<meta property="fb:admins" content="USER_ID"/>

To get my Facebook ID, I visited my Facebook profile page and copied the ID from the URL.

I also used Open Graph plugin for the wordpress portions of this site.

To set the og:url meta content I used

<meta property="og:url" content="<?php echo $_SERVER['REQUEST_URI']; ?>"/>

And to make sure that Google+ properly handles the site, I added the following

<link rel="canonical" href="<?php echo $_SERVER['REQUEST_URI']; ?>">
Comments (1) | Trackback