【发布时间】:2012-12-22 20:48:37
【问题描述】:
我想在 Google plus 上分享带有图片和描述的链接(来自 chrome 扩展)。
没有 http 基本身份验证也可以正常工作。
即 URL = "https://mysite.com"
但使用 http 基本身份验证,无法加载图片和说明。
即 URL = "https://subdomain.mysite.com"
为了分享,我使用这个:
在头部:
<meta property="og:title" content="My title"/>
<meta property="og:image" content="https://subdomain.mysite.com/my_logo.png"/>
<meta property="og:description" content="descption"/>
使用链接分享:
<a href="https://plus.google.com/share?url=https://subdomain.mysite.com/link" target="_blank">share</a>
有什么问题:
http-basic-authentication, subdomain or anything else ?
【问题讨论】:
标签: google-chrome-extension subdomain google-plus basic-authentication facebook-opengraph