4

我的网站上有一个 google plus 分享按钮,但它没有加载任何描述。我什至尝试添加

<meta property="og:title" content="titletest"/>
<meta property="og:image" content="url of image"/>
<meta property="og:description" content="descriptiopnddd fas"/>

我不明白为什么它只显示网站"onlyin.projectsshowcase.info"

我只想在任何人单击页面上的共享按钮时显示默认标题、描述和图像。

我错过了什么?

4

2 回答 2

2

新的 Google+ 信息流设计不再在常规共享中使用共享页面的描述。

于 2013-06-07T14:18:37.447 回答
1

如果您希望共享带有描述的特定网址,您可以使用下面的代码。

据我所知,通过“plus.google.com/share?url=[Your URL]”方法共享只允许标题、图片和网址。

以下是一些可能对您有所帮助的文档的链接:

[Google share documentation][1]

分享方法和描述:

<script src="https://apis.google.com/js/platform.js" async defer></script>
<g:plus action="share"></g:plus>
于 2015-07-23T10:16:19.970 回答