• Resolved Shivam Pandey

    (@wikihelp360)


    Hello Rank Math Team,

    I have an issue with Social Meta, I have properly setup metadata for social media, in the social meta section. I set my Facebook page URL, Facebook App ID and Facebook App Secret and also set my Twitter username. But when I audit my website with WooRank, I get an error. “We couldn’t find a Facebook page for https://www.wikihelp.in/ defined in your structured data.”. You can see the image below.

    fb-error.png

    I also check my website source code, but I can’t find my Facebook page URL, but the Twitter username is present. In the WooRank audit, my website passed the Twitter metadata check. “Great, we found a Twitter account for https://www.wikihelp.in/ and it’s defined in your structured data.” I check social meta settings again, everything is well configured. I have also checked more than 20+ popular websites that use the Rank Math SEO plugin and I find the same problem in every website. I had been using the Yoast SEO plugin for more than 5 years but I have never faced this issue. I think, this is a Rank Math SEO plugin bug. so please help me to fix this problem.

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

Viewing 6 replies - 1 through 6 (of 6 total)
  • Plugin Author Rank Math

    (@rankmath)

    Hello @wikihelp360

    Thank you for contacting the support.

    That is because we removed those fields in May 2020. Here’s the changelog’s text:
    Removed: Multiple Social meta options, as they are not required anymore for the Knowledge Graph by Google & Bing. You should only see the needed options in the Global Social Meta settings page.

    You can check here:
    https://rankmath.com/changelog/

    Also, the plugin uses the FB URL from the Social settings in the article:publisher tag.

    Hope that clears the confusion and helps.

    Thread Starter Shivam Pandey

    (@wikihelp360)

    Ok, I understand that multiple social meta options are not required anymore for Knowledge Graph by Google & Bing. But Google is still showing Facebook, LinkedIn, YouTube, Twitter, Instagram profiles in the Knowledge Graph. You can see the images below:

    Schema.png

    Schema-02.png

    Schema-03.png

    Schema-04.png

    If Rank Math has only needed options like Facebook and Twitter, So why doesn’t it add Facebook page URL in the website’s structured data? Only Twitter is defined in the structured data or website’s source code. I’m not talking about OpenGraph Meta, I’m talking about Social Meta in structured data (Schema) for Knowledge Graph. I think this is your plugin bug so please fix it immediately because Facebook is an important platform for any business.

    Plugin Author Rank Math

    (@rankmath)

    Hello @wikihelp360

    Google picks that on its own now. They do not have a requirement for these profiles to be mentioned in the Schema output. Please read here:
    https://i.rankmath.com/Ut3CGr

    The reason the plugin has the fields for Facebook & Twitter is for the social media images and the OG data.

    When someone fills in the FB app ID, the plugin flushes the cache on Facebook as soon as someone publishes/updates a post. Also, the same data is used inside article:publisher & article:author tags when the post Schema is set to Article.

    The other plugins might be following outdated Google guidelines and that’s what gives Rank Math an edge over others. We always follow the most updated guidelines set forth by Google.

    Hope that clears the confusion and helps. If there’s anything else we can help you with, please let us know.

    We are here to assist. Thank you.

    Plugin Author Rank Math

    (@rankmath)

    Hello @wikihelp360

    Also, if you are still willing to add it, you can do so by utilizing the following code:

    add_filter( 'rank_math/json_ld', function( $data, $jsonld ) {
    	if ( ! isset( $data['Organization'] ) ) {
    		return $data;
    	}
    	$fb_url = RankMath\Helper::get_settings( 'titles.social_url_facebook' );
    	if ( $fb_url ) {
    		$data['Organization']['sameAs'][] = $fb_url;
    	}
    	return $data;
    }, 99, 2 );

    Hope that helps further. Thank you.

    Thread Starter Shivam Pandey

    (@wikihelp360)

    I want to show Facebook, Twitter, Instagram and Linkedin social meta in structured data (schema).

    Plugin Author Rank Math

    (@rankmath)

    Hello @wikihelp360

    You can utilize the following code and update accordingly:

    add_filter( 'rank_math/json_ld', function( $data, $jsonld ) {
    	if ( ! isset( $data['Organization'] ) ) {
    		return $data;
    	}
    	$fb_url = RankMath\Helper::get_settings( 'titles.social_url_facebook' );
    	if ( $fb_url ) {
    		$data['Organization']['sameAs'] = [
                $fb_url,
                'https://instagram.com/profile',
                'Twitter profile URL',
            ];
    	}
    	return $data;
    }, 99, 2 );

    Hope that helps. Thank you.

Viewing 6 replies - 1 through 6 (of 6 total)
  • The topic ‘Facebook Metadata is Missing Problem in Rank Math SEO Plugin’ is closed to new replies.