问题原文
原帖链接 · Miroslav · CC BY-SA 4.0
I would like to ask if is there any difference when I have description and og:description separately and together. Is there just only difference that when it's separately I can add different text and when it's together, so same text is used for both ?
<meta name="description" content="Lorem ipsum" />
<meta property="og:description" content="Lorem ipsum" />
Together
<meta property="og:description" name="description" content="Lorem ipsum">
已采纳解答
原帖链接 · Anuvesh · CC BY-SA 4.0
There is no problem in implementing Open Graph(OG) along with the description and same is the case for twitter cards.
Different platforms prefer different descriptions and they would be free to go ahead with the one they see fit. (facebook prefers open graph, twitter prefers Twitter cards).
And yes, the format that you used for implementing them together i.e
<meta property="og:description" name="description" content="Lorem ipsum">
will work properly.
You can run your Html code with this tag on Facebook's URL Linter to be sure.
摘自公开归档,保留原文语言,版式经整理,外部媒体与邮箱地址已移除。
