Support » Plugin: AMP for WP - Accelerated Mobile Pages » Adding social share without Facebook script

  • Resolved CaptainHarlok

    (@captainharlok)


    Hi,

    Thank you for making such a great plugin, I am using it with no problems. The only thing I am struggling with is I want to add social network sharing but NOT Facebook. I sucessfully configure it, but, the plugin adds Facebook script and calls to Facebook, which I don’t use/want as increases my requests and lowers my score. Is there any way to enable the social sharing without adding Facebook script? Thank you!

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

Viewing 4 replies - 1 through 4 (of 4 total)
  • Plugin Author Ahmed Kaludi

    (@ahmedkaludi)

    Can you please follow this tutorial that How to add Social Sharing Icons in AMP.
    Tutorial: https://ampforwp.com/tutorials/article/social-sharing-in-amp/

    Hi Ahmed, thank you for your answer.

    Unfortunately, if I add any social icon, no matter which, the Facebook script is automatically added. Even if I don’t use the Facebook buttons. I only want to add some icons that are just links (like Whatsapp). Is there any way to avoid Facebook script and calls being automatically added by AmpforWp?

    Plugin Author Ahmed Kaludi

    (@ahmedkaludi)

    Can you please share the screenshot on which page facebook script is automatically added on your page?

    Ok I think I fixed it. It was a weird bug between Varnish and minification, for some reason it kept the Facebook script code even when cache is cleaned and new code was already pushed. The plugin is acting as it should, not adding the Facebook script when it is not selected on backend.Thank you for your kind replies!

Viewing 4 replies - 1 through 4 (of 4 total)
  • The topic ‘Adding social share without Facebook script’ is closed to new replies.