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.
143 questions
3
votes
2 answers

Empty Facebook friends list

So I'm using the "Facebook-sdk" plugin. I'm initializing Facebook like this: FB.init({ appId: 'xxxxxxxxxxx', cookie: true, xfbml: true, oauth: true, status: true }); FB.login(function(){ // get permissions }, {scope: 'user_friends,…
Alucard
  • 1,814
  • 1
  • 21
  • 33
3
votes
1 answer

Best UI/design patterns to find my users' friends who are also my users

What's a good design pattern to find my app's users' friends (facebook, linkedIn, twitter), etc who are also configured with my app? Eg, my party app has party organizers. The organizers add party people by name/email. Later a party person logs in…
Larry K
  • 47,808
  • 15
  • 87
  • 140
3
votes
1 answer

Facebook App featuring secret friend's name?

Is it possible to create a facebook app without totally showing who used the app? For example, I'd like to post a wall message to one of my friends. But when the message appears on my friend's wall, my real name would not appear. In other words, my…
chris_techno25
  • 2,401
  • 5
  • 20
  • 32
2
votes
2 answers

Send dialog to multiple hardcoded friends

I'm working on a project where you choose some friends to interact with the system. When you have chosen the friends you then send them a message to the inbox. The system will not work, if the users invited are not the same as the users who are…
curly_brackets
  • 5,491
  • 15
  • 58
  • 102
2
votes
0 answers

Can't Add/Accept and Decline/Cancel Friend requests on Django

Able to Send Friend requests successfully but responding to the requests are an issue. When you press Accept to Add, the button is removed but the Friend isn't added or when you press Cancel to Decline, nothing happens. Tried adding a forms class…
2
votes
4 answers

SQLSTATE[HY000]: General error: 1364 Field 'accepted' doesn't have a default value

Hello I am attempting to create a friend system somewhat like the Facebook where you can add another user as a friend however, once I click the button add friend it gives me this error. Any help will be very much appreciated thank…
user9964562
2
votes
1 answer

Facebook API - All Mutual Friends returning error

Trying to get my head around it but getting the same error. I have created 3 test users(user1,user2,user3) and each have added each other as friends. Now I want to test the facebook API for all mutual friends by sending the below data…
Akshat
  • 278
  • 5
  • 19
2
votes
1 answer

Fetching Facebook Friends List with Meteor

I added the meteorhacks:npm package and installed fbgraph using: $ npm install fbgraph My server side code looks like this for now: function Facebook(accessToken) { this.fb = Meteor.npmRequire('fbgraph'); this.accessToken = accessToken; …
Storm
  • 35
  • 4
2
votes
2 answers

Getting friends with facebook API PHP SDK v5.1

I need get all friends of logged user (only id, name, and picture). /* Facebook API */ $fb = new \Facebook\Facebook([ 'app_id' => FB_APP_ID, 'app_secret' => FB_APP_SECRET, 'default_graph_version' =>…
Euclécio
  • 174
  • 5
  • 15
2
votes
1 answer

Facebook Graph API 2.2 mutual friends

So I've been trying for this for a couple of days, trying to figure out how to use Facebook's Graph API v2.2 to get mutual friends between two users. I understand that I can only get the mutual friends between two users that are using the FB App and…
2
votes
3 answers

Getting a friend count from Facebook (possibly using api)

I'm used to working with Twitter, where friend/follower totals are available in a simple XML request. My goal is a simple "enter your username/user id, and display your friends count". Is there something like this for Facebook? From what I gather,…
mrpatg
  • 10,001
  • 42
  • 110
  • 169
2
votes
2 answers

Facebook php-sdk v4 get friend list

i'm using new facebook php sdk v4 and I want to retrieve full list of friends Code: try { $user_friends = (new FacebookRequest( $session, 'GET', '/me/friends' ))->execute()->getGraphObject(GraphUser::className()); echo…
user3581183
  • 39
  • 1
  • 1
  • 4
1
vote
2 answers

How to display the list of user's friends in Facebook php?

I am trying to display the user's friends by using the following code : $friends=$facebook->api('/me/friends'); foreach($friends as $key=>$value) { foreach($value as $fkey=>$fvalue) { echo $fvalue->name; } } But I do not get the…
1
vote
2 answers

Get the date when two users became friends in php

It's possible to get the date when two users first interacted on Facebook? For example: in a comment, photo tags, wall post, etc. I need this for a FB app since isn't possible to get the date when two users became friends. Any idea of I can get this…
user999489
1
vote
1 answer

Accessing Facebook friends list fails when used with JavaScript SDK

I have been seeing questions on Stack Overflow to access the Facebook friends list of a user. I have tried in many different ways to do this and unfortunately nothing seems to be working for me. Can any one tell me the exact problem I am facing?…
1 2
3
9 10