适用于我的网站的 Google+ 自定义登录按钮


Google+ custom sign-in button for mysite

  <div id="signin-button" class="show">
 <div class="g-signin" data-callback="loginFinishedCallback"
  data-approvalprompt="force"
  data-clientid="fsdfsfsdf5435.apps.googleusercontent.com"
  data-scope="https://www.googleapis.com/auth/userinfo.email"
  data-height="short"
  data-cookiepolicy="http://www.exmple.com/"
  >
</div>

此代码显示一个 Google+ 登录按钮,但我想使用自己的 Google+ 按钮图像。

您是否阅读了自定义登录按钮文档?有一个示例和代码用于演示使用您自己的 HTML 标记和 CSS 或图像来设计按钮的一种可能方法。

此外,您还必须遵守自定义按钮的 Google+ 品牌指南。

我找到了这张图片:https://lh5.googleusercontent.com/-2r7nkB71SpM/AAAAAAAAAAI/AAAAAAAAhIc/VGd2iUHqsNw/s46-c-k-no/photo.jpg 在谷歌上,它是Google+徽标,我不知道Google Plus徽标是如何通过该代码出现在屏幕上的。

我不知道为什么,但我猜是这个"fsdfsfsdf5435.apps.googleusercontent.com",但如果我错了,不要吊死我。