我在我的网站上有一个google +分享按钮,但它没有加载任何描述。我甚至试过添加
<meta property="og:title" content="titletest"/>
<meta property="og:image" content="url of image"/>
<meta property="og:description" content="descriptiopnddd fas"/>
我不明白为什么它只显示站点"onlyin.projectsshowcase.info".
我只是想显示默认的标题,描述和图像,而任何人点击分享按钮在页面上。
我错过了什么?
新的Google+流设计不再在常规分享中使用共享页面的描述。
如果你想分享一个带有描述的特定url,你可以使用下面的代码。
据我所知,通过"plus.google.com/share?url=[您的URL]"方法共享只允许标题,图像和URL。
这里是一些文档的链接,可能会对你有所帮助:
[Google share documentation][1]
与description共享方法:
<script src="https://apis.google.com/js/platform.js" async defer></script>
<g:plus action="share"></g:plus>