Add FB Like button to VM Open Graph?

(1/3) > >>

kevinwood:
Hi all.  I'm the developer for VM Open Graph which adds the meta tags to VM pages to get the Facebook Like button to work nicely.  I thought about adding an option to have the plugin add the Like button as well but decided at the time that the placement of the button is too much of a personal decision and is better left to the site administrator. 

I'm just re-thinking this.  Does anyone think that it would be a good idea to include the option for the extension to add the Facebook Like button itself?

_Brake_:
Great idea. Can't get the button to work now :(

Where can I find some information about installation, configuration etc.?

kevinwood:
Thanks for the feedback.  The best documentation for adding the Facebook Like button is here:

http://developers.facebook.com/docs/reference/plugins/like/

I'll consider adding this feature, but am working on a few other things first.

RAINFIRE:
Quote from: kevinwood on February 26, 2011, 07:44:35 AM

I'm just re-thinking this.  Does anyone think that it would be a good idea to include the option for the extension to add the Facebook Like button itself?


I think this plugin is a great start. I'd very much like you to add the automatic installation of the 'Like' button. Also, more opengraph tags if possible. I used plg_vmopengraph_1.6.zip. You can look at the source at http://www.klipflop.com/ . The store is not active, yet.

I use sh404sef and I saw the 1.6 update had a bug fix for the og:title. It did not fix it with my Joomla 1.5.22 and Virtuemart 1.1.7a installation when I choose the title option to use 'Do not set (uses page title)' instead of product name. Also, it is not displaying the og:url as per your fixes listed. Is this no longer a Facebook requirement as listed in its Facebook Opengraph documentation?

kevinwood:
Quote from: RAINFIRE on March 15, 2011, 07:22:37 AM

I use sh404sef and I saw the 1.6 update had a bug fix for the og:title. It did not fix it with my Joomla 1.5.22 and Virtuemart 1.1.7a installation when I choose the title option to use 'Do not set (uses page title)' instead of product name. Also, it is not displaying the og:url as per your fixes listed. Is this no longer a Facebook requirement as listed in its Facebook Opengraph documentation?

Thanks for the feedback.  The behaviour you are describing is by design.  If you set the title option to 'Do not set (uses page title)' it simply does not set the og:title tag. This causes Facebook to use the title of the page instead. 

I removed the og:url tag entirely in 1.6 because I now believe that you are better off setting canonical link tags.  To understand the reason for this, assume that you have a product "cool widget" and it is in two different categories, "awesome widgets" and "amazing widgets".  If you click "like" on the product in one category, the fact that it has a like will not show up when you view the product in the other category.  Facebook sees them as two different products because they have two different URLs.  Using the og:url tag will not help this. 

However, if you set one of the URLs to be the canonical URL and add a canonical link to the other URL then Facebook will see them as a single product and the Likes will show up on the product in both categories. 

If you are using sh404sef, I believe that it has the option to add the canonical URL links.  Or you can try out my plugin to automatically add these tags:
http://extensions.joomla.org/extensions/site-management/seo-a-metadata/16280

Navigation

[0] Message Index

[#] Next page