Facebook like is not taking correct url instead sharing http://api.addthis.com/oexchange/0.8/wra...

rashmireddy.1839 Sep 14, 2012 06:49AM EDT

I have written code which am using below .This is working fine for google but facebook is not taking the url instead its sharing http://api.addthis.com/oexchange/0.8/wra... url.

<a href="http://www.addthis.com/bookmark.php"
addthis:url="http://www.addthis.com/pages/embedded-example-meta"
addthis:title="${pageTitle}"
addthis:description="${pageDesc}"
addthis:screenshot="${imagepath}"

class="addthis_button"
style="text-decoration: none;">
<img src="/etc/designs/propertywebsites/common/images/share.png" />
</a>

1 Community Answers

Paul Sep 17, 2012 04:18PM EDT

Facebook doesn't work like the other AddThis buttons. Instead of accepting parameters that we pass it, Facebook requests the URL you're sharing and gets the data it displays from the meta and link tags in the header. To control how your page is shared on Facebook you should use OpenGraph tags which are described in Facebook's documentation here: http://developers.facebook.com/docs/opengraph/


This question is closed to new answers.

Still need help?


General Topics

 

Developers