0

我有很多产品,并希望在 Google plus 中分享每一个具有不同标题和描述的产品,而不是页面元标记。我怎样才能做到这一点?

4

2 回答 2

4

谷歌+

会认出:

<meta itemprop="name" content="The page Title for sharing">
<meta itemprop="description" content="The description less than 200 characters">
<meta itemprop="image" content="http://www.yoursite.com/image-200x200.jpg">

Facebook

开放图标签(其他社交网络也阅读):

<meta property="og:image" content="http://www.yoursite.com/the-page-thumb-200x200.jpg" />
<meta property="og:title" content="The page Title for sharing" />
<meta property="og:type" content="website" /> (or "article")
<meta property="og:url" content="http://www.yoursite.com/the-url-for-sharing" />
<meta property="og:description" content="The Description less than 200 characters" />
<meta property="og:site_name" content="Your Site name" />
<meta property="fb:app_id" content="your-facebook-app-id" />
<meta property="fb:admins" content="your-facebook-user-id" />

获取应用 ID

@ https://developers.facebook.com/

使用您的 FB 凭据登录,然后设置一个 facebook 应用程序。

使用调试工具

@ https://developers.facebook.com/tools/debug

查看如何查看您的数据。

推特标签

<meta name="twitter:card" content="summary">
<meta name="twitter:site" content="@publisher_handle">
<meta name="twitter:title" content="The page Title for sharing">
<meta name="twitter:description" content="The description less than 200 characters">
<meta name="twitter:creator" content="@author_handle">
<meta name="twitter:image" content="http://www.yoursite.com/image-200x200.jpg">
于 2013-11-14T12:01:26.393 回答
1

而不是页面元标记

你不能。Google+只会从该页面获取有关该页面的数据。您不能使用 URI 参数或任何 JS API 覆盖它。

于 2013-11-14T12:18:25.713 回答