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 6987689
In Process

The Archive Base Latest Questions

Editorial Team
  • 0
Editorial Team
Asked: May 27, 20262026-05-27T18:58:13+00:00 2026-05-27T18:58:13+00:00

Not quite as racy as it sounds – I’m using the below code to

  • 0

Not quite as racy as it sounds – I’m using the below code to get a user’s male or female friends only and it works fine. However, I also want to check their ‘meeting_sex’ which is a list of the genders a user’s friend is interested in meeting, i.e. male, female or both. (Described here)

The meeting_sex requires the friends_relationship_details permission which I’ve added to the graph API explorer, but my output looks like this:

"data": [
{
  "name": "ABCDEF", 
  "pic_square": "https://abcdefg.jpg", 
  "sex": "male", 
  "meeting_sex": null, 
  "uid": 123456789
}, 

I.e. the meeting_sex is coming back null. I know the meeting_sex is an array, not just a string, as are the other elements, but why is it coming back null?

I’m new to FQL, and in fact any QL, so once I do get the array to read properly, how do I then make the comparison? i.e so I only return MEN who like WOMEN or MEN who like MEN etc. Here’s my current code:

NSString *queryString =  [NSString stringWithFormat:@"SELECT name, pic_square, sex, meeting_sex, uid FROM user WHERE uid in (SELECT uid2 FROM friend WHERE uid1 = me()) AND sex = 'male' ORDER BY name"];
NSMutableDictionary *dictionary = [NSMutableDictionary dictionaryWithObjectsAndKeys: queryString, @"query", nil];

[FBRequest getRequestWithParams:dictionary
                     httpMethod:@"GET" 
                       delegate:self
                     requestURL:@"fql.query"];

Thanks for any help 🙂

Michael

  • 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-05-27T18:58:14+00:00Added an answer on May 27, 2026 at 6:58 pm

    I’ve tried this on my account and I get nulls for all but one of my friends. They have an empty array for both the meeting_for and meeting_sex

    I’ve found that some have suggested this is no longer being used:

    http://forum.developers.facebook.net/viewtopic.php?id=103173

    Also, it seems there’s a lot of privacy concerns around this:

    See https://www.facebook.com/settings/?tab=privacy Click “Apps and Websites” then “How people bring your info to apps they use”

    Also From https://developers.facebook.com/docs/reference/rest/users.getInfo/

    User Privacy and Visible Data
    
    Important: Depending upon the user's privacy settings (including whether the user has decided to opt out of Platform completely), you may not see certain user data. For any user submitted to this method, the following user fields are visible to an application only if that user has authorized that application and specifically chose to reveal them:
    
        meeting_for
        meeting_sex
        religion
    

    EDIT

    New in the Graph API’s user (https://developers.facebook.com/docs/reference/api/user/) object:

    interested_in
    The genders the user is interested in. user_relationship_details or friends_relationship_details. array containing strings.

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

Sidebar

Related Questions

am not quite advanced python user, I am stuck trying to populate the below
Not quite an Attribute, not quite a Method. Stereotypes? <<get>> <<set>> ? I'm retro-modelling
I'm not quite sure when selecting only a certain number of rows would be
Not quite sure what's going sideways here. The below function should clear all the
Not quite sure how to get this one. I have a staff table and
Not quite sure how to accomplish this... I'm using NSIS to build an installer
I'm obviously not quite getting the 'end-of-file' concept with C++ as the below program
I'm not quite sure how to deal with this problem. I'm using a bunch
I'm not quite sure how I should get the top URL and then place
i do not quite understand what is wrong with my code - it is

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.