如何从Facebook获取朋友的生日清单? [英] How to get friends birthday list from facebook?

查看:209
本文介绍了如何从Facebook获取朋友的生日清单?的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着小编来一起学习吧!

问题描述

可能重复:
如何使用facebook api获取朋友的生日清单?

Possible Duplicate:
How to get friend's birthday list using facebook api?

我正在开发一个应用程序,我所有的用户也都是facebook用户.现在,我想从管理员部分向该用户的朋友发送有关其生日的电子邮件.这可能吗?

I'm developing an application and all my users are also facebook user. Now I want to send emails from admin section to that user's friends about his birthday. Is this possible?

推荐答案

无法检索用户朋友的电子邮件地址,因此您将无法做到这一点.

It's not possible to retrieve a user's friend's email address, so you won't be able to do that.

如果用户已授予您适当的权限,则检索用户朋友的生日很简单.您需要friends_birthday 权限来执行此操作,具有该权限的查询只是/me/friends?fields=birthday

It's trivial to retrieve a user's friend's birthdays provided they've given you the appropriate permissions though. You'll need the friends_birthday permission to do this, and once you have that permission the query is just /me/friends?fields=birthday

这篇关于如何从Facebook获取朋友的生日清单?的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!

查看全文
登录 关闭
扫码关注1秒登录
发送“验证码”获取 | 15天全站免登陆