• When you try to share the article url, the facebook share button has a bug. Which? The URL after sharer.php? (in class-buttons.php) is not encoded to be able to really works when you use. Why? The facebook gets only the domain address, ignoring all the rest of address parameters.

    So, in line 513 of class-buttons.php I had to add the urlencode() .

    So, the line shoud be like this: …”https://www.facebook.com/sharer.php?u=’ . urlencode(esc_attr( $url_current_page ))…

    After that, every link in my web site get the right scrap to be shared in facebook perfectly.

Viewing 1 replies (of 1 total)
  • Hi there @mateusmatos,
    Thanks for reaching out, I’d be happy to help here!

    Can you please provide me a little bit more of information about your issue as for example some specific URLs which are being affected by this and if you don’t mind some screenshots and screen recordings displaying what the issue looks like on your side for me to dig deeper into your case and provide you with a solid solution?

    Thank you,
    Andres

Viewing 1 replies (of 1 total)
  • The topic ‘Bug in Facebook Share button’ is closed to new replies.