It depends on how you track friends in your application, if you just save your facebook id along with other information in your application, then getting a friends list without any parameters is enough, as it returns the id and default name:
https:
returns:
{
"data": [
{
"name": "Friend1",
"id": "123456"
}
]
}
If you do not track any information on facebook in your application and want to compare based on some other field, you should add the fields parameter and specify the field you want to find:
https:
returns:
{
"data": [
{
"name": "Friend1",
"id": "123456",
"picture": "http://profile.ak.fbcdn.net/hprofile-ak/blalala"
}
]
}
- id is always returned, even if you do not specify it in the field parameters.
- E-mail requires extended permissions, which will be granted after the user adds your application and is not an option from the list of friends ...
/ : http://developers.facebook.com/docs/reference/api/user