Retrieve users Likes from facebook - facebook

I'm new at this, and I have a general question -
In generally, if i have my friend E-mails address, is it possible to extract a list of the pages he likes?
when i enter to his profile I can see this list.
Thanks

Of course that´s not possible at all, and it would be a serious privacy issue. You can only get the list of Pages from users who authorized your Apps, with the /me/likes endpoint.

Related

Is there API to get someone's facebook profile with out login to facebook?

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

Facebook API Search by phone number

So I have a huge list of phone numbers and want to find facebook users for each of the phone numbers if they exist. There are tons of iphone apps, etc that pull in your contact list and match them to facebook accounts. Any ideas on how I can do this?
Thanks in advance.
Jim
You will need to call the API 'login()' function with the permission "user_mobile_phone". You can then retrieve it as usual.
Here is the FB dev post and examples of doing this:
http://developers.facebook.com/blog/post/2011/01/14/platform-updates--new-user-object-fields--edge-remove-event-and-more/

Get facebook user info

I'd like to know if it is possible to get userid or email for all people with same first name by using FQL and API. I mean all people with first name, like Mary, they don't have be my friends or fans. Thanks.
Not possible.
FB user must give you permission to query their account information. Until then, you can't get any information on them (so of course, you can't query every FB user named Mary).
No. You can't do that.
As Simon said FB user must give you permission to query their account information. An APP can access information for only those users, who have given that permission to the APP.
For example, the apps that you have mentioned in comment, social lead freak etc. will only show the results for those users which have given permission to that particular app. This means that there can be thousands of users on Facebook with the first name "Marry", but out of those thousands of users, only around 200 are using that APP (that is, have given permissions to access their data). Hope that explains the why they are doing that partially.

How to get all email id's of friends which are in friendsList from facebook

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 a Facebook app access a user's friends' friend lists,?

On the one hand, if his friends haven't signed in we may not know who all of their friends are. On the other hand, friend lists are public for most
people. Thoughts?
Thanks!
try this
read_friendlists
Provides access to any friend lists the user created. All user's friends are provided as part of basic data, this extended permission grants access to the lists of friends a user has created, and should only be requested if your application utilizes lists of friends.
http://developers.facebook.com/docs/reference/api/permissions/
After digging, this is not possible. Apps can't get complete lists of friends for users who have not used those apps.