facebook-friends

How can I get facebook friends list email addresses?

一曲冷凌霜 提交于 2019-11-27 23:06:48
Is there anyone who knows how to get a friends list of email address using Facebook PHP SDK? You cannot do that http://developers.facebook.com/docs/reference/api/permissions/ email field only available for the users that connected to your application and have given email extended permission No, apps can not get friend emails as stated in Email Permissions document. Quote from document: Note: There is no way for apps to obtain email addresses for a user's friends. A user's email is a protected property and access to that information must be specifically requested by the app and granted by the

sending a private message to your friends via Facebook IOS SDK

杀马特。学长 韩版系。学妹 提交于 2019-11-27 09:17:12
I saw your post about sending messages to your Facebook friends via the IOS Facebook sdk, I was wondering if there is a way to send a private message as well to these friends. If not, is sending messages to your Facebook friends still supported from your previous post at: iOS Development: How can I get a Facebook wall post to show in the friend's news feed? If so let me know, thank you in advance It is possible to send a private message via facebook- just not with the SDK. You can get the user's 'username' (ie. http://www.facebook.com/username ) and you can send them an email via your app to

Facebook iOS SDK - get friends list

余生长醉 提交于 2019-11-27 05:05:12
问题 Using the Facebook iOS SDK, how can I get an NSArray of all my friends and send them an invitation to my app? I am specifically looking for the graph path to get all of the friends. 回答1: With Facebook SDK 3.0 you can do this: FBRequest* friendsRequest = [FBRequest requestForMyFriends]; [friendsRequest startWithCompletionHandler: ^(FBRequestConnection *connection, NSDictionary* result, NSError *error) { NSArray* friends = [result objectForKey:@"data"]; NSLog(@"Found: %lu friends", (unsigned

Get the Friends of my friend using the Graph API

此生再无相见时 提交于 2019-11-27 03:38:06
问题 I am trying to do a very basic thing with the new Graph API. I already know how to get my friends: "https://graph.facebook.com/me/friends?access_token=4333ed34d..." But if I have a friend who's ID is 123456, then I want to get his friends : "https://graph.facebook.com/123456/friends?access_token=4333ed34d..." But I get an exception: "The remote server returned an error: (500) Internal Server Error." Why can't I do that? It's a very trivial task to ask from the API. 回答1: If I try to get

How can I get facebook friends list email addresses?

萝らか妹 提交于 2019-11-26 23:16:07
问题 Is there anyone who knows how to get a friends list of email address using Facebook PHP SDK? 回答1: You cannot do that http://developers.facebook.com/docs/reference/api/permissions/ email field only available for the users that connected to your application and have given email extended permission 回答2: No, apps can not get friend emails as stated in Email Permissions document. Quote from document: Note: There is no way for apps to obtain email addresses for a user's friends. 回答3: A user's email

Facebook 'Friends.getAppUsers' using Graph API

青春壹個敷衍的年華 提交于 2019-11-26 19:19:07
I have an application that uses the old REST API call Friends.getAppUsers to get the list of friends for the current user that have authorized my application. I have read the documentation, how do I do this with the Graph API? What would an example of this be? Alex I searched around for a while, and I too thought this wasn't possible using Graph API. However, I posted a similar question, Replacement for old GetAppUsers call to see a user's friends who use my application? , for the specific API I was using and was given a great general answer. https://graph.facebook.com/me/friends?fields

Get facebook friends with Graph API v.2.0 [duplicate]

吃可爱长大的小学妹 提交于 2019-11-26 17:02:57
This question already has an answer here: Facebook Graph API v2.0+ - /me/friends returns empty, or only friends who also use my application 7 answers A while ago, I used to take the friends of mine using Graph API in this way (using Graph API Explorer): /me/friends Everything was perfect but now, with 2.0 version, I saw that this way does not function for friends who didn't use (via Facebook Login) the app making the request and, if I switch Graph API Explorer to 1.0 version, it functions. So, how can I do the same thing with the 2.0 version? In v2.0 of the API, /me/friends returns friends who

how send message facebook friend through graph api using Accessstoken

不问归期 提交于 2019-11-26 08:55:09
问题 Can anyone help me to send message to facebook friends using graph api. I tried $response = $facebook->call_api(\"/me/feed\", \"post\", \"to=john\",\"message=You have a Test message\"); It\'s not working. I have the accesstoken of the user in my hand.only I am confused on sending process. 回答1: You can't send messages using a Facebook application. You used to be able to do that, but the (predictable?) colossal amount of abuse led to the revocation of this ability. Provided Alice, your user,

Facebook 'Friends.getAppUsers' using Graph API

本小妞迷上赌 提交于 2019-11-26 06:54:47
问题 I have an application that uses the old REST API call Friends.getAppUsers to get the list of friends for the current user that have authorized my application. I have read the documentation, how do I do this with the Graph API? What would an example of this be? 回答1: I searched around for a while, and I too thought this wasn't possible using Graph API. However, I posted a similar question, Replacement for old GetAppUsers call to see a user's friends who use my application? , for the specific

Get ALL User Friends Using Facebook Graph API - Android [duplicate]

吃可爱长大的小学妹 提交于 2019-11-26 02:08:32
问题 This question already has answers here : Facebook Graph API v2.0+ - /me/friends returns empty, or only friends who also use my application (7 answers) Closed 5 years ago . I\'m trying to get all friends, of a user that logged into my application. I can\'t use this API [friends]: https://developers.facebook.com/docs/graph-api/reference/v2.0/user/friends Because this API only returns any friends who have used the app making the request. So I found this API [friendlist]: https://developers