If you haven’t been able to find a solution since the Facebook share button stopped displaying on your site’s pages, today’s post will provide a work around for you. Although Facebook has deprecated the share button, it’s not completely dead yet. You only need to update your code.
How To Fix Your Facebook Share Button
See screenshot below for an example of code placement.
The snippet of code that you had placed on your web page before, where you wanted the button to render is where the update is needed.
Previous code placed where you want the button to render on the page:
<a name=”fb_share” type=”button” share_url=”http://www.yoursite.com/” href=”http://www.facebook.com/sharer.php”></a>
Updated code placed where you want the button to render on the page:
<fb:share-button type=”button” href=”http://www.yoursite.com/”></fb:share-button> or <fb:share-button type=”button” href=”http://www.yoursite.com/” />
Simply update www.yoursite.com with the URL of the page and you’re all set. You’ll be able to provide site visitors the option to go straight to sharing your page again, at least for now. Over time, this method will most likely cease to work since Facebook has already dropped tech support for it.
Another Way To Share
Facebook seems to have a replacement or at least something that is similar in concept to the old share button called Feed Dialog. Feed Dialog prompts the user to publish an individual story to a profile’s feed. Visit the Facebook Developers‘ page for overview, example code and a sample of how Feed Dialog works.
Latest posts by Kevin Dockman (see all)
- Lead to Conversion Among the Recipients of the American Honda Supplier 2016 Premier Partner Award - September 26, 2016
- Instagram Expands Native Analytics Offerings, Offers Ad Previews - August 27, 2014
- How To Optimize Images Using Jpegcrop - July 11, 2014