SEO

Google recently released guidance for webmasters who want to add social media profile information to the Google Knowledge graph. Ultimately, these entities will appear for certain search terms.

The guidance released by Google states that it is possible to use structured data in public websites to mark up and specify a range of social profiles. The full list of social profiles eligible to be marked up is:

  • Facebook
  • Twitter
  • Google+
  • Instagram
  • YouTube
  • LinkedIn
  • Myspace

Once a webmaster has successfully marked up their desired social profile, Google algorithms will process this data and display the most useful profile information in line with a user’s search query. It is important to note that any social profiles marked up must also appear and correspond with those listed on the given webpage.

Below are working examples of social profiles appearing in the knowledge graph for both PC World and Ebay respectively:

Ebay Social Profile Markup

PC Worlds Social Profile Markup

 

How to Add Structured Mark up for Social Profiles to Your Website

Adding your social media profiles to Google’s Knowledge graph is a fairly simple process that involves adding structured data to highlight each desired social media profile.

In order to format the structured data, you must comply with the schema.org vocabulary through either JSON-LD markup, or microdata/RDFa markup.

Here is a basic JSON-LD template using Hallam Internet as an example to specify several of our social profiles:

<script type=”application/ld+json”>
{ “@context” : “http://schema.org”,
“@type” : “Organization”,
“name” : “Hallam Internet Ltd”,
“url” : “https://www.hallaminternet.com/”,
“sameAs” : [ “http://www.facebook.com/HallamInternet”,
“http://www.twitter.com/HallamInternet”,
“http://plus.google.com/+Hallaminternet”]
}
</script>

And here is an example of the structured data using microdata

<span itemscope itemtype=”http://schema.org/Organization”>
<link itemprop=”url” href=”https://www.hallaminternet.com”>
<a itemprop=”sameAs” href=”https://www.facebook.com/HallamInternet”>Facebook</a>
<a itemprop=”sameAs” href=”https://twitter.com/HallamInternet”>Twitter</a>
<a itemprop=”sameAs” href=”https://plus.google.com/+HallamInternet”>Google+</a>
</span>

The two above examples highlight a how to mark up a business’s social media profiles, but it is also possible to mark up social profiles for an individual. All you have to do is replace the url and social values with that of an individual’s social profiles.

The <script> block can then be inserted anywhere on the page, either within the <head> or <body> of the pages’ code.

Testing Structured Markup for Your Social Profiles

In addition to Google’s announcement that webmasters are now able to add social profile information to Google’s knowledge graph, the search giant have also released a new Structured Data Testing Tool that “better reflects how Google interprets a web page’s structured data markup”.

The tool includes the following features and can be used to check the implementation of structured data used to mark up social profiles:

  • Validation for all Google features powered by structured data
  • Support for markup in the JSON-LD syntax, including in dynamic HTML pages
  • Clean display of the structured data items on your page
  • Syntax highlighting of markup problems right in your HTML source code

Here is what Hallam Internet’s code validation test result looks like for the markup of our business social profiles:

Social Profile Markup Validation Result

Here at Hallam Internet, we have marked up our social profiles using microdata and are looking forward to seeing how this data will be presented in the knowledge graph once our site has been re-crawled.

3 responses to “How to Display Your Social Media Profiles in Google’s Knowledge Graph”

  1. Charlie says:

    On what pages do you recommend the structured markup be placed? All of them? Just the homepage?

  2. arial engineering says:

    i have submitted my social media links, how many day it will take to display on google search

    • Susan Hallam Susan Hallam says:

      Google suggests you wait for a week since your site was last crrawled, and if your social profiles do not start triggering then here is Google’s guidance:

      The Google Knowledge Graph panel doesn’t display your social media profile, even though you’ve added the markup to your official website.

      First, check that the social profile information is shown correctly with no errors in the Markup Tester tool, as described above. Also check to see if your profiles are verified – Google does not show unverified profiles (for social profiles sites that allow verification). If all looks correct, and you have waited at least one week since your marked-up page was last crawled by Google, report the missing events using the small “Feedback” link under the Knowledge Graph panel in Google search. Click “Wrong?” on your company’s name and explain the problem, being sure to use the term “social profiles” in your description of the problem.

      Source:
      https://developers.google.com/webmasters/social-markup/#my_social_media_profile_isnt_displaying

Leave a Reply