views:

100

answers:

1

Hi There, I am developing an iPhone application that will send 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

A: 

I don't think you can get email of friends. Although you can send an email to uids 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 friends of your user who have added your app and have granted you the permission to email. Facebook has this page on communicating via email.

Ashish
Thank u very much Ashish, It would be very helpful if u kindly provide me some code about how to do this....
Parmeshwar
And `this` is? You may want to follow one of the links in my answer for documented examples.
Ashish