猿问

Pinterest Rich Pins保存:截断标题和标签

我的丰富图钉保存按钮中有一个奇怪的问题。在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/?


饮歌长啸
浏览 273回答 2
2回答

牧羊人nacy

我咨询了Pinterest团队的问题,并收到了以下反馈。我希望任何有相同问题或有相同要求的人都能从中受益。
随时随地看视频慕课网APP

相关分类

JavaScript
我要回答