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.
Related
I was wondering if its possible to get one's facebook profile (to be exact,'profile url') through their API?
I need an api to get fb profile link using a matching email address. I dont want to login to facebook though.I was trying to search for this but it seems you need to log in to facebook to get that.
Any idea or is it feasible?
You need ID of the concerned user which can't be achieved without using the Facebook Login, since Facebook login is the starting point to get the current user info (/me).
Search API could have helped you since you have the email ids of users, but unfortunately this api doesn't support user search with email!
So, answer is simple- NO, you cannot get the ID (profile link) of the user without using the facebook login.
Not that I can think of. Facebook's Graph API gives you some public info but that info given depends on the users Facebook's settings on what is public or not. You could maybe get some users profile picture but not others, making it not a very viable option for practical use. Hope that helps
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 trying to utilize facebook login for my website's alumni tracer. What I want to do now is to be able to retrieve the facebook profile address of a user, how can I do that? What I am planning to do is to list down all the names with a link such that when the link is clicked then it will go to the users profile.
TIA
You can always just link to www.facebook.com/{userid}.
Or you could first check if the user has a username set [1], and then just link to www.facebook.com/{username} – if you want the links to look “prettier”. www.facebook.com/zuck maybe looks a little nicer then www.facebook.com/4 – but the numeric id link will always automatically redirect to the version with the user name anyway.
[1] AFAIK everyone has a username set nowadays – if the user did not set one explicitly themself, Facebook makes one up out of their first name/last name compination.
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.
How can I get profile information in facebook according to emailid using an API?
You cannot access Facebook information by querying according to an email address. It is not an indexable field. There is NO way to get Facebook user information using an email address. You must use name or username
The email fiel is NOT indexable.
That means you can not search for a profile by using the email field (That would be a privacy issue).
You can take a look here to get more details:
http://developers.facebook.com/docs/reference/fql/user
The facebook API, are well documented:
http://developers.facebook.com/docs/reference/api/user
If you can read Java go through this nice tutorial on accessing Facebook after authenticating using OAuth. It includes a basic example of fetching an user's profile details.