Facebook button/sharing option is not working anymore

live.sports Aug 27, 2012 04:15PM EDT

Hello, Suddenly i can not share any page or my blogs http://www.facebook.com/sharer/sharer.php?u=http%3A%2F%2Fwww.4livesports.net%2Fmr-sherlock-goal.html%23.UDvVKo9xnq0.facebook to facebook by using the addthhis buttons. there is an error message: '' Server error
The website encountered an error while retrieving http://www.facebook.com/sharer/sharer.php?u=http%3A%2F%2Fwww.4livesports.net%2Fmr-sherlock-goal.html%23.UDvVKo9xnq0.facebook. It may be down for maintenance or configured incorrectly.
Here are some suggestions:
Reload this web page later.
HTTP Error 500 (Internal Server Error): An unexpected condition was encountered while the server was attempting to fulfil the request.''

Can you please advise?

Up 0 Rated Down
Paul (AddThis Happiness Specialist) Aug 28, 2012 10:38AM EDT
Hey there,

We'd love to help but we need some more information. Could you send the URL of the page where you're seeing the problem and the browsers and operating system you're using when you see it? This will help us to replicate the issue.

Thanks!
Up 0 Rated Down
live.sports Aug 29, 2012 02:12PM EDT
Hello Paul, thank you so much for looking into this for me.

The url are www.4livesports.net and www.forlivesports.com Operating system is windows vista. Google Chrome. The problem is generic. None of the pages can be shared on facebook by clicking on the share buttons. Here is also my blog which has the same problem http://www.4livesports.net/mr-sherlock-goal.html#.UCKynPaPW2M However, i cant even copy and paste it on facebook BUT if i publsh it like this http://www.4livesports.net/mr-sherlock-goal.html then it can be manually pasted on facebook. But nomne of my sharing buttons work.

Cheers.
Up 0 Rated Down
freemanng Sep 05, 2012 12:49PM EDT
I'm seeing the same thing. It looks like addthis is erroneously appending some kind of weird garbage (API keys, perhaps?) to URLs before passing them on to Facebook, causing the Facebook sharer to choke. It's doing the same thing with Twitter, except that in that case, Twitter manages to handle it, though the URL that gets inserted into the tweet has that weird garbage attached. I suspect this spurious append is happening with all the services, not just Facebook and Twitter.

If you take the URL from the original post above and delete everything starting with the %23, then it works fine. The AddThis server is clearly erroneously appending that extra stuff, and it's breaking Facebook and probably many of the other social networks, and causing the Tweets to contain modified URLs that could conceivably also break when recipients of the tweets try to click them.

Here, by the way, is the absolutely generic generated code I'm inserting into my website:

<!-- AddThis Button BEGIN -->
<div class="addthis_toolbox addthis_default_style ">
<a class="addthis_button_preferred_1"></a>
<a class="addthis_button_preferred_2"></a>
<a class="addthis_button_preferred_3"></a>
<a class="addthis_button_preferred_4"></a>
<a class="addthis_button_compact"></a>
<a class="addthis_counter addthis_bubble_style"></a>
</div>
<script type="text/javascript" src="http://s7.addthis.com/js/250/addthis_widget.js#pubid=xa-504587226151b7de"></script>
<!-- AddThis Button END -->

This is the code generated when you're not signed in. (Though code on my other websites that was generated while I was signed in is also failing.)
Up 0 Rated Down
Paul (AddThis Happiness Specialist) Sep 05, 2012 02:17PM EDT
If click tracking parameters are causing your site to fail in Facebook then it's better that you figure out what's wrong with your implementation that makes the anchors fail. Try running your URL through Facebook's URL debugger - https://developers.facebook.com/tools/debug - with an anchor appended - http://www.example.com/#anchor for example - to make sure that Facebook can get your Open Graph tags properly even if anchors are appended.

If it's still not working and you don't know how to fix it you'll have to disable click tracking by adding this to your page:

<script type="text/javascript">
var addthis_config = addthis_config||{};
addthis_config.data_track_clickback = false;
</script>

This question is closed to new answers.

Still need help?


General Topics

 

Developers