Sign Up

Sign Up to our social questions and Answers Engine to ask questions, answer people’s questions, and connect with other people.

Have an account? Sign In

Have an account? Sign In Now

Sign In

Login to our social questions & Answers Engine to ask questions answer people’s questions & connect with other people.

Sign Up Here

Forgot Password?

Don't have account, Sign Up Here

Forgot Password

Lost your password? Please enter your email address. You will receive a link and will create a new password via email.

Have an account? Sign In Now

You must login to ask a question.

Forgot Password?

Need An Account, Sign Up Here

Please briefly explain why you feel this question should be reported.

Please briefly explain why you feel this answer should be reported.

Please briefly explain why you feel this user should be reported.

Sign InSign Up

The Archive Base

The Archive Base Logo The Archive Base Logo

The Archive Base Navigation

  • SEARCH
  • Home
  • About Us
  • Blog
  • Contact Us
Search
Ask A Question

Mobile menu

Close
Ask a Question
  • Home
  • Add group
  • Groups page
  • Feed
  • User Profile
  • Communities
  • Questions
    • New Questions
    • Trending Questions
    • Must read Questions
    • Hot Questions
  • Polls
  • Tags
  • Badges
  • Buy Points
  • Users
  • Help
  • Buy Theme
  • SEARCH
Home/ Questions/Q 8154549
In Process

The Archive Base Latest Questions

Editorial Team
  • 0
Editorial Team
Asked: June 6, 20262026-06-06T16:23:22+00:00 2026-06-06T16:23:22+00:00

How do I find out if a friend is in for example the aquaintances

  • 0

How do I find out if a friend is in for example the aquaintances or good friends or another custom friend_list with the JS SDK. Im working with a singlepage javascript application in phonegap.

The main issue is that I need different sets of data, that aren’t useable outside of the callback function.

I tried to query all my friend lists like so,

FB.api('me/friendlists'){
});

And all my friends like so

 FB.api('me/friends', function(friends){
 friends.data.forEach(function(friend){
 });
 });

but they both use callback functions, i need to compare the 2 results and add a property listname and/or id to the friends result.

  • 1 1 Answer
  • 0 Views
  • 0 Followers
  • 0
Share
  • Facebook
  • Report

Leave an answer
Cancel reply

You must login to add an answer.

Forgot Password?

Need An Account, Sign Up Here

1 Answer

  • Voted
  • Oldest
  • Recent
  • Random
  1. Editorial Team
    Editorial Team
    2026-06-06T16:23:24+00:00Added an answer on June 6, 2026 at 4:23 pm

    With the read_friendlists Permission you can access a user’s friends lists.

    Then, make a call to /[USER_ID]/friendlists to get the friend list List ids, then a call to /[FRIEND LIST ID] to get the list of friends on that list.

    You can then store those and check if a specific uid is on one of the lists

    • 0
    • Reply
    • Share
      Share
      • Share on Facebook
      • Share on Twitter
      • Share on LinkedIn
      • Share on WhatsApp
      • Report

Sidebar

Related Questions

I'm trying to find out if friends of a user have liked a page
I'm trying to find a good example of how to use these binary wide
Hi IM trying to find out how i can get mutual friends im currently
I have been using my good friend Google to find the solution to by
Is there any api to find out which friend recently visited my profile? I
Find out the time complexity (Big Oh Bound) of the recurrence T(n) = T(⌊n⌋)
To find out the start command for mysqld (using a mac) I can do:
I find out how to replace the busy cursor here: http://livedocs.adobe.com/flex/3/html/cursormgr_3.html However, how do
To find out if some important functions were removed (and without doing a lot
I am trying to find out how to write an SQL statement that will

Explore

  • Home
  • Add group
  • Groups page
  • Communities
  • Questions
    • New Questions
    • Trending Questions
    • Must read Questions
    • Hot Questions
  • Polls
  • Tags
  • Badges
  • Users
  • Help
  • SEARCH

Footer

© 2021 The Archive Base. All Rights Reserved
With Love by The Archive Base

Insert/edit link

Enter the destination URL

Or link to existing content

    No search term specified. Showing recent items. Search or use up and down arrow keys to select an item.