How to get email of a facebook friend in an iPhone app
I am developing an iPhone application that will sen开发者_如何学God email to a logged in user friends'. I am using FacebookConnect for the same. The problem is I am getting the uid of all friends but what is the way to send email to these uids(friends UID). Also I m not able to get the email id of any of the facebook friends.Can I get the emails of the users facebook friends in my iPhone App ?
Please help me out
Thanks
I don't think you can get email of friends. Although you can send an email to uid
s provided they have granted permission to you app.
A comma-separated list of recipient user IDs. The recipients must be people who have already authorized your application. You can email up to 100 people at a time.
Beyond general information
you are require extended permissions
which requires authentication (which you are using). Any extended permission
works only with the user
who has granted it to. So your app's user
's friends
will have to grant the permission to email before you can send them one. In other words, you can send a notification email to those friend
s of your user
who have added your app and have granted you the permission to email. Facebook has this page on communicating via email.
精彩评论