There is a "send to a friend" form, which is used to send HTML emails to friends. The user is connected using Facebook Graph, I can ask for any permissions.
I want to get friend's name (if the friend is Facebook-friend) using Facebook API. I figure, if I have emails address, is it possible?
it's very easy to do this, and you don't need the e-mail address.
once the user authorized your application, even with out asking for any other permissions, you should be able to access the users friends list, as you can see here:
http://developers.facebook.com/docs/reference/api/user/
(under the Connections sections, there's the friends collection http://developers.facebook.com/docs/reference/api/user/#friends)
you can try to see the result here:
http://developers.facebook.com/tools/explorer/?method=GET&path=me/friends
as you can see, the name of the users is present and you can use it.
hope this helps.
Related
I am going to retrieve Facebook friends email addresses in one of my applications. I have asked the permission for "user_friends" and "email" apart from other permissions, but when I try to get the email addresses for my friends list, email address is not returning. I could able to get other information but not email address. I tested the same using Graph API tool, it is also giving the same result.
Can anyone suggest what was the issue in getting facebook friend's email addresses?
There is no way of getting friends' email addresses. The email permission is used to get the user's email address, and user_friends permission is to find friends who also uses the same application.
The reason both your app and the Graph API doesn't return email addresses is because it's not possible (for obvious reasons, like spamming). There is no way around this.
If you want to invite friends to use your application, use one of the other methods like Sharing, Requests or Tagging.
Good Evening, i'm just asking how to get a user's friends emails using face book API or something else, the scenario i want to use this feature in goes as follows, my application has a feature called 'import facebook friends' that will do the following:
- verifies that this user has a valid facebook account
- asks him for his facebook identifier(email)
- from his identifier get all his friends and get everyone's email
i don't know if there's any API that performs this functionality?
You can get almost all details about friends like their photos,interests, status updates but not email address.
From Facebook Email Permission Page : "Note: There is no way for apps to obtain email addresses for a user's friends."
To get a user's email address, you need the user_email permission. However, there is no equivalent friends_email permission to get Friends' email addresses as Facebook doesn't allow applications to get these.
Instead, you the Facebook User ID to link friends together. That is the correct way to do things, since the email address can change anyway.
I'm trying to add someone as an admin to an app I'm working on, but I'm not "friends" with them. When I type their email address in when trying to add them as an admin, it says that user isn't on Facebook. Yet, when I do a search for the user on Facebook using that email address, it finds them instantly.
The only thing I can think of is that this person isn't my friend?
According to the documentation, you do not need to be friends. Then again the docs may have not been updated to reflect a change in policy.
https://developers.facebook.com/docs/guides/games/development-cycle/
Users can be added by specifying their name (if they are your friend), email address or Facebook User ID. Users are not required to be friends in order to be added to a Role.
Try their Facebook User ID. If that doesn't work just friend them and try that way.
Just tested this at length. It appears you DO have to be friends with someone on FB to add them as an admin to your app. (Note that this is totally different then adding them as a Page Admin, where apparently you do not need to be friends.)
You can just add their email address (but they have to like the page and the email address used needs to be associated with their Facebook account).
I am new to iphone.my question is How to get all email id's of friends which are in friendsList from facebook while using Graph API in iPhone? I am able to get all the pictures,name,first name and last name of the friends which are in friends list except the email id's how can we do this If any body know this please help me.IF any body provide some code for this it will be helpful for me....
You can't, e-mail addresses aren't available via API for friends due to privacy risks.
See the facebook Permissions Reference.
It is simply not possible to get the email addresses of Facebook users other than the user of your app (ie. the person who authorizes your app and for whom you get an access_token), not even Friends of the user. Even extended permissions won’t help here.
Can I get a user's friends emails through Graph API? and How?
It doesn't appear that you can.
You can get a list of friends, but that only gives you ids and names. It appears you have to get users to give you an access token to pull private info, such as email, on a per user basis.
http://developers.facebook.com/docs/api
http://developers.facebook.com/docs/reference/api/user
Now we can notify our facebook friends by special emails:
facebook_username#facebook.com
Excellent feature)
You cannot. You have to ask each user so he permit you to get his own email.
Unless the user's friends have made their email address public (which is highly unlikely) then no, you can't get a user's friend's email address.
Yes, You need to set scope paramter, eg: Set scope="email", which allows to get permit from user to access his EmailID, because by default you can access only id, name etc. So for this purpose, you need to get access from user.
No there isn't any way to get emails through API. But instead of that you can use profile username or profile ID to login or for other purposes.
YES, of course you can.
All you want to have an email ID with YAHOO.
If you are having already then just sign-in
and go to the CONTACTS link on the left pane.
Now go to the ACTIONS link and click on IMPORT.
This will give you options to import your facebook contacts.
Just click on FACEBOOK, A pop-up window will appear.
Sign-in to facebook on that window.
It's DONE!!!
Enjoy.