• Resolved tazihad

    (@tazihad)


    If I check a post page where FB comment is implemented and I check AMP Test for the page it shows me “Validation issues” error.
    “The attribute ‘width’ in tag ‘amp-facebook-comments’ is set to the invalid value ‘100%’.”
    <amp-facebook-comments layout="responsive" width="100%" height="400" data-href="https://www.sciencenewsbd.com/11-%e0%a6%b8%e0%a6%b0%e0%a7%8d%e0%a6%ac%e0%a6%95%e0%a6%be%e0%a6%b2%e0%a7%87%e0%a6%b0-%e0%a6%b8%e0%a6%b0%e0%a7%8d%e0%a6%ac%e0%a6%b6%e0%a7%8d%e0%a6%b0%e0%a7%87%e0%a6%b7%e0%a7%8d%e0%a6%a0-%e0%a6%ac/" data-order-by="social" data-numposts="10"></amp-facebook-comments></div> </div>

    This problem is on the amp version.

    If I change the wide value to pixel from the plugin that works. But if I change the value to %. It gives me error.

    If I use pixel value for Desktop then the amp version looks ugly, vice-versa.

    I want edit “amp-facebook-comments” width to pixel only for AMP. Where Can edit the code? Can you tell me other solutions?
    I am using Newspaper 9 Themes

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

Viewing 4 replies - 1 through 4 (of 4 total)
  • I’m facing the same issue, plugin is disabled until this is fixed.

    Thanks

    Plugin Author wpdevart

    (@wpdevart)

    Hi dear user.

    Can you tell more details with example url?

    What you mean saying “AMP”?

    Can you tell if the same issue exist on our demo page – https://demo.wpdevart.com/facebook-comments-box ?

    Thanks.

    Thread Starter tazihad

    (@tazihad)

    I am saying that, If I use this plugin with amp page I get a error I described above. Your demo page doesn’t have amp.

    I have the same problem. Google search console desindexed all my AMP pages because of the plugin (I think). Here is what google search console shows :

    <amp-facebook-comments layout=”responsive” width=”100%” height=”400″ data-href=”https://f1actu.com/charles-leclerc-a-le-feu-vert-pour-se-battre-contre-sebastian-vettel-au-grand-prix-de-bahrein/&#8221; data-order-by=”social” data-numposts=”30″></amp-facebook-comments></div><div class=”sharedaddy sd-sharing-enabled”><div class=”robots-nocontent sd-block sd-social sd-social-icon sd-sharing”><h3 class=”sd-title”>Partager :</h3><div class=”sd-content”><amp-social-share type=”twitter”></amp-social-share><amp-social-share type=”facebook” data-param-app_id=”249643311490″></amp-social-share><!– not supported: jetpack-whatsapp –><amp-social-share type=”linkedin”></amp-social-share><amp-social-share type=”pinterest”></amp-social-share></div></div></div> </div>

    I noticed the problem the first time on april 11.
    As soon as I disable the Facebook Plugin, the problem disappear.

    Please check and advise.

    • This reply was modified 5 years, 6 months ago by pluginsissues.
Viewing 4 replies - 1 through 4 (of 4 total)
  • The topic ‘The attribute ‘width’ in tag ‘amp-facebook-comments’ is set to the invalid value’ is closed to new replies.