facebook-friends

how to get a list of all user friends?

点点圈 提交于 2020-01-24 08:14:03
问题 I am building an app using Facebook Graph API v.20 . The first thing it needs to do is to export the complete list of friends from the user ( ID, name and picture ) to a CSV file. Is this possible? 回答1: Short answer: No. The Graph API v2.0 reference documentation implies that your app will only be able to access (through the API, at least) those of the user's friends who have themselves used your app and allowed your app to access their own friends list: Permissions A user access token with

how to get a list of all user friends?

爷,独闯天下 提交于 2020-01-24 08:13:08
问题 I am building an app using Facebook Graph API v.20 . The first thing it needs to do is to export the complete list of friends from the user ( ID, name and picture ) to a CSV file. Is this possible? 回答1: Short answer: No. The Graph API v2.0 reference documentation implies that your app will only be able to access (through the API, at least) those of the user's friends who have themselves used your app and allowed your app to access their own friends list: Permissions A user access token with

No permission to access invitable friends

十年热恋 提交于 2020-01-07 05:00:54
问题 I am developing an android game app and want to get a list of Facebook invitable friends. Unfortunately I hit this error: Response: responseCode: 400, graphObject: null, error: {HttpStatus: 400, errorCode: 100, errorType: OAuthException, errorMessage: (#100) No permission to access invitable_friends.} with code below. Code new GraphRequest( AccessToken.getCurrentAccessToken(), "/me/invitable_friends", null, HttpMethod.GET, new GraphRequest.Callback() { @Override public void onCompleted

FQL Graph API: Mutual Friends

邮差的信 提交于 2019-12-31 07:07:13
问题 I know you can't get friends of friends, but can you get mutual friends using some query, in a computationally efficient manner? Could I even iterate through my friends to see which of them is friends with a target? Is there any good way to get Mutual friends? 回答1: You can do it like this: $facebook = new Facebook(array( 'appId' => FB_ID, 'secret' => FB_APP_SECRET, 'cookie' => true, )); $fql = "SELECT id FROM profile WHERE id IN (SELECT uid2 FROM friend WHERE uid1=me())"; $response =

getting list of friends from facebook

瘦欲@ 提交于 2019-12-24 12:00:32
问题 Facebook API does not provide friends list of people using our fb app, according to their developer faq page. But still, websites like nimble and the live example of socialauth are able to get the names of people on our friend list, even those who do not use their app. Please, can any one help me with how this work? The read_friendlist permission gives only name of lists like 'close friends', 'aquaintance' etc. the user_friends permission gives only the list of people in our friendlist who

Load Facebook friends into UITableView

人盡茶涼 提交于 2019-12-20 09:45:33
问题 I am working on integrating Facebook into my iOS app and am wondering how to load Facebook friends into a table view so that the user can select friends to invite to the game, similar to how it is done in Words With Friends. I know that [facebook requestWithGraphPath:@"me/friends" andDelegate:self]; requests friends from Facebook, but I cannot determine what to do from there. Somehow I want to get the friend ids so that I can send them a message. Any info or advice would be much appreciated.

sending a private message to your friends via Facebook IOS SDK

旧街凉风 提交于 2019-12-17 09:53:56
问题 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 回答1: It is possible to send a private message via facebook- just not with the SDK. You can get

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

南笙酒味 提交于 2019-12-17 03:47:45
问题 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 . 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

how to get facebook friends list in android

一笑奈何 提交于 2019-12-13 05:16:32
问题 i have user_friends permission when user authenticates and i tried a lot to get friends list from facebook this is my call /* make the API call */ new Request( session, "/me/taggable_friends" /*"/me/friendlists"*/ /*"/"+id+"/friends"*/ /*"/me/friends"*/, null, HttpMethod.GET, new Request.Callback() { public void onCompleted(Response response) { /* handle the result */ Log.d(TAG, "friends list request response:" + response.getRawResponse()); } } ).executeAsync(); i got friends list only with

Facebook graph API /me/friends not returns all friends who authorized app?

梦想的初衷 提交于 2019-12-11 12:52:36
问题 After a long surf i have realized Graph API /me/friends only returns the person's friends who also use the app.anyway i need answer from an experienced one Any possibility to fetch all friends of a user ? Now my second query I have used the following code for fetching friends of a user after verifying and approved user_friends permission by team facebook and also I'm logging in with the user_friends permission. /* make the API call */ new GraphRequest( AccessToken.getCurrentAccessToken(), "