• We had no issue earlier but now found that by using the plugins Social Share buttons we receive an error message. I am quite certain it is a URL Encode issue as you used various %5D and %5B’s inside your link. If I use the proper representation of a sharer link in itsplace it works, but not with wishlists which belong to an account.

    LINK (in your sharer.php):<a target="_blank" class="facebook" href="https://www.facebook.com/sharer.php?s=100&p%5Btitle%5D=<?php echo $share_link_title ?>&p%5Burl%5D=<?php echo urlencode( $share_link_url ) ?>" title="<?php _e( 'Facebook', 'yith-woocommerce-wishlist' ) ?>"></a>

    Can you please let me know what the issue here is?

    Thanks

    • This topic was modified 5 years, 11 months ago by Philipp.
    • This topic was modified 5 years, 11 months ago by Philipp.

    The page I need help with: [log in to see the link]

Viewing 2 replies - 1 through 2 (of 2 total)
  • Plugin Author YITHEMES

    (@yithemes)

    Hi there,
    what’s the message error you see?
    By the way, it seems relative to the plugin Social Share buttons that doesn’t process properly the url.
    Let me know.

    Thread Starter Philipp

    (@pputlitz)

    The Error is the standard Facebook Error stating:

    Sorry, something went wrong.
    We’re working on getting this fixed as soon as we can.

    The link in your sharer.php is parsed as:
    https://www.facebook.com/sharer.php?s=100&p[title]=See+what+I+wish+for+on+GiftGator.ca&p[url]=https%3A%2F%2Fwww.giftgator.ca%2Fmy-account%2Fwishlist%2Fview%2FZO4NS3A7KPU6%2F

    We have similar social share links throughout the site (products) which look like:
    https://www.facebook.com/sharer/sharer.php?u=https://www.giftgator.ca/product/custom-private-kelowna-or-east-kelowna-wine-tour/

    Naturally they only share a standard product but they all seem to work. One noteable thing is that you can see that the URL isn’t parsed properly in the current way that the Wishlisht offers the facebook share as it has %2 throughout the code where there should be / and the title has the + where there should be spaces. It seems to me its the urlencoding thats somehow not working right here.

    • This reply was modified 5 years, 11 months ago by Philipp.
    • This reply was modified 5 years, 11 months ago by Philipp.
Viewing 2 replies - 1 through 2 (of 2 total)
  • The topic ‘Sharing List over Facebook Error’ is closed to new replies.