向 Facebook 应用程序用户发送电子邮件
在我的应用程序中,我已经请求扩展权限以获取我所有 Facebook 应用程序用户的电子邮件地址。现在...我怎样才能获得所有这些电子邮件以达到建议目的? 我已经尝试过,但没有成功:
select email from user WHERE is_app_user=1
我收到以下错误:
您的语句不可索引。这 WHERE 子句必须包含可索引的 柱子。此类列标有 * 在链接自的表格中 http://developers.facebook.com/docs/reference/fql
网上冲浪我了解您可以将邮件地址保存在您的服务器或其他地方。正确吗?是否存在解决方法?
In my app I have already asked for extended permission to obtain the email address of all my Facebook Application Users. Now... how can I obtain all these emails to advice purpose?
I've tried this but with no success:
select email from user WHERE is_app_user=1
I obtain the following error:
Your statement is not indexable. The
WHERE clause must contain an indexable
column. Such columns are marked with *
in the tables linked from
http://developers.facebook.com/docs/reference/fql
Surfing the web I understood that it's up to you to save the mail addresses in your servers or somewhere. Is it correct? Does exist a workaround?
如果你对这篇内容有疑问,欢迎到本站社区发帖提问 参与讨论,获取更多帮助,或者扫码二维码加入 Web 技术交流群。

绑定邮箱获取回复消息
由于您还没有绑定你的真实邮箱,如果其他用户或者作者回复了您的评论,将不能在第一时间通知您!
发布评论
评论(1)
这意味着
WHERE
子句中的属性is_app_user
没有 索引在数据库中,因此facebook不会执行该语句。您只能在此*标记的属性一个>页面。用户表中的索引属性为:uid、名称、用户名、third_party_id
解决方法是在用户加入后立即存储使用您的应用程序的用户的 fb_id。您还可以存储用户加入时的电子邮件地址。我更喜欢存储用户的 fb_id,因为它允许用户随时撤销电子邮件权限。
It means that the attribute
is_app_user
inWHERE
clause does not have index in the database, hence facebook will not execute the statement. You can only use the attributes marked by*
on this page.Indexed attributes in user table are: uid, name, username, third_party_id
Workaround is to store fb_id of the users using your application as soon as they join. You can also store email address of the user when he/she joins. I will prefer storing the fb_id of the user as it permits the user to revoke email permissions whenever he wishes to do so.