问题
I have a Place/Local Business that has various fields that map quite nicely to schema.org entries. There is one field I'm not sure how to mark up though. We have links to social media accounts for the business such as their Twitter account, Facebook Page and Pinterest account. How should these be marked up in schema.org?
回答1:
There is a proposal for a socialAccount property (and another one), and an older discussion about an account property. The relevant issue on Schema.org’s GitHub is Social account proposal (no comments yet).
But these properties are not there yet (if they’ll come at all).
Of the currently available properties, url, sameAs, and contactPoint come to mind:
url
could be used if that’s the (only) URL of the entitysameAs
could be used if the social media account represents/identifies exactly the same entity (organization, person, etc.)contactPoint
could be used if the social media account allows contacting the entity
回答2:
<div itemscope itemtype="http://schema.org/Organization">
<link itemprop="url" href="http://www.your-company-site.com">
<a itemprop="sameAs" href="http://www.facebook.com/your-company">FB</a>
<a itemprop="sameAs" href="http://www.twitter.com/YourCompany">Twitter</a>
</div>
https://developers.google.com/webmasters/social-markup/
来源:https://stackoverflow.com/questions/27366610/what-markup-should-i-use-to-describe-social-media-links-using-schema-org