1

这是我的代码

<button
  class="g-interactivepost"
  data-contenturl="http://www.pubandbar-network.co.uk/nightlife_pubs-bars.html" 
  data-clientid="102180630313-ef89c6gjgahgitf0s9qknhrl5mo351ga.apps.googleusercontent.com"
  data-prefilltext="Engage your users today, create a Google+ page for your business."
  data-calltoactionurl="http://www.pubandbar-network.co.uk/nightlife_pubs-bars.html"
  data-cookiepolicy="single_host_origin">  Share 
</button>

我想与此分享图像。请帮助我如何通过 google+ API 共享图像。我的第二个问题是:php 有没有办法自动在 google+ 上分享?

4

1 回答 1

0

出现在共享中的图像是由 Google 根据您页面上的架构数据计算得出的。例如,您可以使用片段配置工具为您的共享配置图像和描述。当您将 content-url 设置为指向带有架构的页面时,Google 将使用该架构微数据来设置图像等。

您不能以编程方式与 Google+ 共享,除非使用Google+ 应用活动

于 2013-06-03T16:33:42.643 回答