我的密码保存按钮存在奇怪的问题。在Pinterest中创建新PIN时,其标题和标签会被截断。
我使用了pinterest开发者网站中提供的相同OG数据。 参考:https://developers.pinterest.com/docs/rich-pins/articles/?
在此方面的任何建议或帮助将不胜感激。提前致谢。
我的代码如下。
<head>
<meta name="p:domain_verify" content="SITE_VERIFICATION_CODE"/>
<meta property="og:type" content="article" />
<meta property="og:title" content="sample title" />
<meta property="og:description" content="sample content" />
<meta property="og:url" content="https://www.sample.com/">
<meta property="og:site_name" content="sample site name" />
<meta property="og:image" content="https://live.staticflickr.com/7027/6851755809_df5b2051c9_b.jpg" data-dynamic="true">
<meta property="article:tag" content="tag1,tag2" >
<meta property="article:published_time" content="2018-08-12T00:01:56+00:00" />
<meta property="article:author" content="Sample author" />
<meta property="og:keywords" content="keywords1,keywords2" >
<script async defer src="//assets.pinterest.com/js/pinit.js"></script>
</head>
<body>
<a target="_blank" style="cursor:pointer;" href="https://www.pinterest.com/pin/create/button/"
data-pin-do="buttonBookmark"
data-pin-custom="true">
SHARE TO PINTEREST
</a>
</body>
注意:我已在上面的示例代码中删除了站点验证代码。 参考https://developers.pinterest.com/docs/rich-pins/articals/? 参考https://developers.pinterest.com/docs/rich-pins/reference/?