0

I'm making a facebook app (sort of), where people can answer questions and rate their friends, I've gotten past the authentication and can get the user's fb name and profile picture, but after signing in, there's a big search field where you can search for friends and select them, then answer the questions, then post to their wall after the quiz.

I've checked all around and all answer either doesn't work or is outdated.

Any guideline or suggestion is appreciated.

I'm using the 2.8 version of the graph api

see pictures for clarification sign in for the user and the search field showing a friend alraedy searched for -- search field

  • I don't believe you can get all someones FB friends anymore, only a list of their friends who have also enabled your app. – Rory McCrossan Mar 09 '17 at 17:13
  • @RoryMcCrossan oh wow, really, I tried the graph api console and it did show 1 friend and some other things [check here] (http://imgur.com/LZcpSiy) – user3498316 Mar 09 '17 at 17:28
  • That's just the number of friends that person has, not the details about those friends, is it not? – Rory McCrossan Mar 09 '17 at 17:29
  • true.. so, what do you suggest, although I just want the name and picture, then post to the person's wall, and since the name is there already, I can get the picture using the id – user3498316 Mar 09 '17 at 17:30
  • Nothing to suggest I'm afraid. This is a restriction FB put in place. You can only get friends of the current user who have already enabled your app – Rory McCrossan Mar 09 '17 at 17:32
  • hmm, like how a leader-board works right... – user3498316 Mar 09 '17 at 17:37

0 Answers0