WordPress.org

Forums

  1. hai3009
    Member
    Posted 1 year ago #

    First of all, thanks for this plugin. I still have the hope that with this plugin I get the “whole thing” working one day.

    I have installed the plugin after several attempts to get the right Facebook thumbnail working.

    But I am still getting error messages/ warnings using the FB Open Graph tool

    https://developers.facebook.com/tools/debug/og/object?q=http%3A%2F%2Fwww.baerlinfuertiere.de%2Fthis-is-a-test-post%2F

    Your page has meta tags in the body instead of the head. This may be because your HTML was malformed and they fell lower in the parse tree. Please fix this in order for the tags to be usable.

    Inferred Property: The 'og:url' property should be explicitly provided, even if a value can be inferred from other tags.

    Inferred Property: The 'og:title' property should be explicitly provided, even if a value can be inferred from other tags.

    Inferred Property: The 'og:description' property should be explicitly provided, even if a value can be inferred from other tags.

    Inferred Property: The 'og:image' property should be explicitly provided, even if a value can be inferred from other tags.

    og:image should be larger
    Provided og:image is not big enough. Please use an image that's at least 200x200 px. Image 'http://www.xn--brlinfrtiere-gcb55a.de/cm/wp-content/uploads/2013/11/886422_345516612259176_443454642_o-Kopie.jpg' will be used instead.

    First of all, I can’t see any meta tags in the body instead of the head- but I guess my header is wrong? What would be the correct tag for the header?

    And the message about the inferred property and size of the og:image, I don’t understand.

    Here is my test post: http://www.baerlinfuertiere.de/this-is-a-test-post/

    post thumbnail: http://www.baerlinfuertiere.de/cm/wp-content/uploads/2014/01/Lacky-2.jpg

    Facebook is supposed to use the post thumbnail that is 1000x667 px. If it cannot find it, it is supposed to use http://www.baerlinfuertiere.de/cm/wp-content/uploads/2014/01/banner+300x701.jpg

    I am about to give up on this and hope to find a little help here.

    Thank you

    Julia

    http://wordpress.org/plugins/nextgen-facebook/

  2. JS Morisset
    Member
    Plugin Author

    Posted 1 year ago #

    Click on the "See exactly what our scraper sees for your URL" link at the bottom of the Facebook debugger page.

    You'll see that in your HTML, you have no <head> section!

    Your document starts with:

    <!DOCTYPE html>
    <html><body>

    That is incorrect. There should be a <head> section above the <body>.

    Please contact your theme developer about this.

    Thanks,

    js.

  3. hai3009
    Member
    Posted 1 year ago #

    hmmm...
    here is my current Header:

    <!DOCTYPE html <?php language_attributes(); ?>>
    <!-- http://misteroneill.com/journal/improved-internet-explorer-targeting-through-body-classes/ -->
    <!--[if lt IE 7]>  <html class="ie ie6 lte9 lte8 lte7"> <![endif]-->
    <!--[if IE 7]>     <html class="ie ie7 lte9 lte8 lte7"> <![endif]-->
    <!--[if IE 8]>     <html class="ie ie8 lte9 lte8">      <![endif]-->
    <!--[if IE 9]>     <html class="ie ie9 lte9">           <![endif]-->
    <!--[if gt IE 9]>  <html class="ie">                    <![endif]-->
    <!--[if !IE]><!--> <html>                               <!--<![endif]-->
    <head>
    	<meta charset="<?php bloginfo('charset'); ?>">
        <meta http-equiv="X-UA-Compatible" content="IE=edge">
    	<title><?php wp_title('|', true, 'right'); bloginfo('name'); ?></title>
    
    	<!-- Mobile viewport optimized: j.mp/bplateviewport -->
    	<meta name="viewport" content="width=device-width" />
    
    	<!-- Favicon and Feed -->
        <?php $value = get_theme_mod( 'sunrisethemeous_favicon_upload' );
        if ($value !== '') { ?>
            <link rel="shortcut icon" type="image/png" href="<?php echo $value; ?>">
        <?php }?>
    
    	<link rel="alternate" type="application/rss+xml" title="<?php bloginfo('name'); ?> Feed" href="<?php echo home_url(); ?>/feed/">
    
    <?php wp_head(); ?>
    
        <?php $value = get_theme_mod( 'sunrisethemeous_google_analytics_id' );
        if ($value !== '') { ?>
            <?php echo $value; ?>
            <?php } ?>
    
    </head>
    
    <body <?php body_class(); ?>>
    
    <div class="contain-to-grid fixed">

    I see a <head> above the body.

    Maybe a plugin filters this wrong?

  4. JS Morisset
    Member
    Plugin Author

    Posted 1 year ago #

    Perhaps.

    Disable plugins and keep checking the "See exactly what our scraper sees for your URL" link in the Facebook debugger.

    js.

  5. hai3009
    Member
    Posted 1 year ago #

    Thanks, OK I will try this.

Topic Closed

This topic has been closed to new replies.

About this Plugin

About this Topic

Tags

No tags yet.