• I’ve been having problems posting my articles at MovieFail.com to Facebook. Although the links go through alright, they always attribute the wrong author to the post.

    After contacting Jetpack support, I was informed by a Happiness Engineer that:

    “It seems Facebook is pulling the author information from your sidebar latest posts widget, and is giving higher ranking to the https://schema.org stuff there.”

    After contacting the folks behind the Genesis theme, I was given this bit of PHP code to add to the Magazine Pro functions.php file to fix the issue:

    add_action(‘wp_head’, ‘acab_insert_fb_author_tag’, 5);
    function acab_insert_fb_author_tag(){
    if(is_single()){
    echo ‘<meta property=”article:author” content=”‘. get_the_author() .'” />’;
    }
    }

    After adding that, Facebook debugger now yields this error:

    “Object at URL ‘https://moviefail.com/the-riot-club/&#8217; of type ‘article’ is invalid because the given value ‘Jonny Smith’ for property ‘article:author’ could not be parsed as type ‘profile’.”

    Jonny Smith is the correct author for that article, but Facebook doesn’t want to take his name for some reason.

    Any ideas? Thanks for any and all help!

  • The topic ‘Incorrect Author Tag Associated with Facebook Posts [OpenGraph Issue]’ is closed to new replies.