Blog

Facebook Share Changes and Your AddThis Implementation

Since Mashable reported that Facebook is officially moving away from “Share” and consistently using the “Like” buttons and language, there have been questions about what this means for current implementations of AddThis, as well as the Like code we offer. Here’s the quick rundown:

If you are using any version of our share menus, the Facebook option will stay the same, there is no code change necessary.

If you are using Facebook Like, it’s not required that you make any changes but we highly recommend optimizing the code to take advantage of the new functionality, which allows you to show a more robust preview of the content in the Facebook newsfeed. Previously a “like” had only a small line of real estate in a user’s newsfeed, but now it will act like a share, allowing you to display not only the article title, but its description, any images it contains and even flash video.

Displaying more information about your share is done through meta tags which are listed on our site (and also defined in Facebook’s Open Graph Protocol). Here is a list of options, based on what type of content you are sharing and what information you’d like to display. At the very least, we recommend using the title and description tags, and of course, add the others where necessary:

<meta property=“og:title” content=“AddThis Tour” />
<meta property=“og:description” content=“Watch the AddThis Tour video.” />
<meta property=“og:image” content=“http://i2.ytimg.com/vi/1F7DKyFt5pY/default.jpg” />
<meta property=“og:video” content=“http://www.youtube.com/v/1F7DKyFt5pY&fs=1” />
<meta property=“og:video:width” content=“560” />
<meta property=“og:video:height” content=“340” />
<meta property=“og:video:type” content=“application/x-shockwave-flash” />

If you have any questions or opinions on the Facebook Like feature, please feel free to post in the comments or email us!

To get the Facebook Like button for your site, grab the code here.