Questions tagged [facebook-friends]

Questions related to Facebook Friends with facebook SDKs.

You can ask questions about usage of facebook friends in different SDKs like.

  1. Getting facebook friends list
  2. Checking facebook friends or not
  3. Messaging Friends
  4. Getting app friends
  5. Invite friends
  6. etc.
144 questions
89
votes
9 answers

Send private messages to friends

I need to get via Facebook connect user's info and send a private message to all of his friends. Is it possible?
87
votes
8 answers

Facebook 'Friends.getAppUsers' using Graph API

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…
Richard
  • 27,181
  • 8
  • 31
  • 34
62
votes
1 answer

Get facebook friends with Graph API v.2.0

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…
51
votes
1 answer

Get ALL User Friends Using Facebook Graph API - Android

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…
David
  • 34,355
  • 30
  • 113
  • 139
41
votes
9 answers

how send message facebook friend through graph api using Accessstoken

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…
32
votes
11 answers

Facebook iOS SDK - get friends list

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.
user635064
  • 6,059
  • 12
  • 52
  • 98
28
votes
1 answer

how to use app links to pass parameter to android playstore to be retrieved when app is installed

I'm developing a social android trivia game. When a user challenges to a game a friend, who doesn't have my trivia game installed, i'd like to send him a custom url to download the app from the market containing a parameter of the inviting user…
Ido
  • 337
  • 1
  • 3
  • 9
26
votes
4 answers

Using Facebook API to invite friends?

I want an "Invite Friends" link on my website where you click it and you get a Facebook dialog that asks you to choose which of your friends you'd like to invite. Those friends then either get an application request, Facebook email or at least a…
25
votes
10 answers

Getting list of Facebook friends with latest API

I'm using the most recent version of the Facebook SDK (which lets to connect to something called the 'graph API' though I'm not sure). I've adapted Facebook's example code to let me connect to Facebook and that works... but I can't get a list of my…
Eric
  • 4,894
  • 8
  • 33
  • 65
14
votes
2 answers

Facebook js sdk: "select a friend" dialog, then post to their wall?

Needs to resolve that procedure. Now using the new javascript sdk, inside my "iframe tab". Select friend(s) Post in their wall. 1: not solved I couldn't find a way of poping a "select a friend" dialog, trough the new api. The only mention in…
kroe
  • 1,056
  • 2
  • 10
  • 22
13
votes
3 answers

facebook graph api..get friends of friends

I am using the FB graph api to get a list of my friends' friends using: https://graph.facebook.com//friends?access_token= Now the weird thing is that this works for some of my friends and does not work for some others. Could somebody…
12
votes
7 answers

Facebook friends list api for swift ios

I have tried to get the facebook friends list for an IOS app, but receiving empty response from facebook. How to get face book friends list in swift?
Uma Maheshwaran
  • 119
  • 1
  • 1
  • 8
12
votes
2 answers

Send App request to all friends in Facebook using 'Requests Dialog' in Android

I want to know how to send app request to all my facebook friends from android app. I tried in graph API. But, couldn't get it done. https://graph.facebook.com/apprequests?ids=friend1,friend2&message='Hi'&method=post&access_token=ACCESS_TOKEN I…
9
votes
6 answers

How can I get facebook friends list email addresses?

Is there anyone who knows how to get a friends list of email address using Facebook PHP SDK?
Mang Jose
  • 115
  • 1
  • 1
  • 2
9
votes
6 answers

Getting friends of friends in FB graph API

I would like to get friends of friends via an API call and when I try to do it, I get the following exception, { "error": { "type": "OAuthException", "message": "(#604) Can't lookup all friends of .... Can only lookup for the…
Abhishek
  • 6,554
  • 20
  • 58
  • 76
1
2 3
9 10