Use of Url fragment / anchors

jans Jun 20, 2012 04:25PM EDT

Hi there

I'm wondering if it's possible for me to have a list of anchors, which I want to share to Facebook, Twitter and E-mail for instance.

my code would look something like this

<a href="http://www.website.com/products#product-1">Share on Facebook</a>
<a href="http://www.website.com/products#product-2">Share on Facebook</a>
<a href="http://www.website.com/products#product-3">Share on Facebook</a>

Each product has a unique display on one page - there are no product pages. Just a single page with a list of products, which can be reached by adding an anchor to the url.

It seems that when using the static endpoints like <a href="http://api.addthis.com/oexchange/0.8/forward/facebook/offer?url=http://www.website.com/products#product-1">Share on Facebook</a> then the url that is being posted is http://www.website.com/products

Does anyone know how I can make sure that the anchor is also a part of the URL shared on Facebook?

Looking forward to hear from you guys.

/Jan

Up 0 Rated Down
Paul (AddThis Happiness Specialist) Jun 25, 2012 02:54PM EDT
You can share URLs with anchors to almost every service. Some, like Facebook and LinkedIn will scrape the page looking for meta data and they don't support anchors.

This question is closed to new answers.

Still need help?


General Topics

 

Developers