【发布时间】:2015-09-06 16:53:34
【问题描述】:
我通过请求登录用户的 google+ 朋友获得了一个 ID 列表。我试图在收件人字段中设置这些 ID。我也尝试在那里设置有效的电子邮件。对话框中没有预先填充任何内容。下面是我的代码:
var options = {
contenturl: 'google.com',
clientid: 'MyClientId',
cookiepolicy: 'single_host_origin',
prefilltext: 'Create your Google+ Page too!',
recipients: 'some_email@gmail.com',
calltoactionlabel: 'JOIN_ME',
calltoactionurl: 'google.com'
};
gapi.interactivepost.render('button', options);
有什么想法吗?
【问题讨论】: