0
在Twitter中,您可以根據推文按鈕確定要包含哪些主題標籤,並使用參數hashtags
完成。Google+共享 - 將散列作爲參數傳遞
分享到Google+時有什麼相似之處嗎?我已閱讀Share documentation,但沒有發現任何此類內容(我最關心的是Share Link共享方法)。
你知道完成該任何方法嗎?
在Twitter中,您可以根據推文按鈕確定要包含哪些主題標籤,並使用參數hashtags
完成。Google+共享 - 將散列作爲參數傳遞
分享到Google+時有什麼相似之處嗎?我已閱讀Share documentation,但沒有發現任何此類內容(我最關心的是Share Link共享方法)。
你知道完成該任何方法嗎?
如果您的主要興趣是能夠通過哈希標籤搜索您的帖子,您可以將哈希標籤添加到代碼段描述。哈希標籤將不會與其他文本呈現不同,但不會被點擊。
<html itemscope itemtype="http://schema.org/Organization">
<head>
<meta itemprop="name" content="Example">
<meta itemprop="description" content="
An #example of how to add #hashtags to the snippet description.">
<meta itemprop="image"
content="https://www.google.com/images/srpr/logo3w.png">
</head>
<body>
<div class="g-plus" data-action="share"></div>
<script type="text/javascript">
(function() {
var po = document.createElement('script');
po.type = 'text/javascript'; po.async = true;
po.src = 'https://apis.google.com/js/plusone.js';
var s = document.getElementsByTagName('script')[0];
s.parentNode.insertBefore(po, s);
})();
</script>
</body>
</html>