【问题标题】:How to use share this link for google plus & pinterest?如何将这个链接分享给 google plus 和 pinterest?
【发布时间】:2013-05-10 10:39:07
【问题描述】:

我必须在 Google+ 中分享产品标题、产品图片和产品描述。

我有这段代码,它只共享 URL,但不共享图像和描述。

https://plus.google.com/share?url=<<Encoded URL>>;

在 Pinterest 中,我有一个只共享一张图片的脚本。如何在 Pinterest 中传递多张图片?

http://pinterest.com/pin/create/button/?url=<<Encoded URL>>&media=<<Encoded 1 IMAGE URL>>&description=<<Encoded Description>>

【问题讨论】:

    标签: php javascript share


    【解决方案1】:

    据我所知,您需要更改元标记以用于共享目的,例如:

     <meta property="og:image" content="YOUR IMAGE LINK HERE" />
     <meta name="description" content="YOUR DESCRIPTION HERE" />
    

    我相信 facebook.com 但不是 google plus。你可以试试看。

    【讨论】:

      猜你喜欢
      • 1970-01-01
      • 1970-01-01
      • 1970-01-01
      • 1970-01-01
      • 1970-01-01
      • 2014-12-25
      • 1970-01-01
      • 2012-12-24
      • 2011-11-01
      相关资源
      最近更新 更多