3
votes

I have a website with some Facebook "Share" buttons. The Facebook "Share" button was working properly until a few days. I haven't touch the code in the meantime. Now, I get a notification "Not found- back to Facebook", each time I click on the share button in my website.

Here is an example of a link for sharing:

http://www.facebook.com/sharer.php?s=100&p[title]Mytitle=&p[summary]MySummary=&p[url]=http://www.tribalartmagazine.com/index.php?content=article&section=news&id=360&lang=en&p[image]=http://www.tribalartmagazine.com/assets/data/news/n360.jpg

Thank you for your help as I really don't see the problem.

I searched but I've seen nowhere that Facebook has changed the attributes of the shared links lately so I really don't know what should be done.

1

1 Answers

2
votes

urlencode only the arguments, not everything, also, the correct url is: https://www.facebook.com/sharer/sharer.php
not
https://www.facebook.com/sharer.php

    <a class="element1_item_facebook_on" href="https://www.facebook.com/sharer/sharer.php?s=100&p[title]=&p[summary]=&p[url]=http%3a%2f%2fwww.tribalartmagazine.com%2findex.php%3fcontent%3darticle%26section%3dnews%26id%3d433%26lang%3den&p[image]=http%3a%2f%2fwww.tribalartmagazine.com%2fassets%2fdata%2fnews%2fn433.jpg">Share Me</a>