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

  • Home
  • SEARCH
  • 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 1089901
In Process

The Archive Base Latest Questions

Editorial Team
  • 0
Editorial Team
Asked: May 16, 20262026-05-16T23:17:44+00:00 2026-05-16T23:17:44+00:00

I am developing facebook app which needs to retrieve events created by some of

  • 0

I am developing facebook app which needs to retrieve events created by some of my friends.
Standard SQL query would look like this:

NSString *fql1 = @"SELECT "
 @"eid, name, tagline, id, pic_small,host, description, start_time, creator "
 @"FROM "
 @"event "
 @"WHERE "
 @"creator = 1111111111 OR creator = 2222222222 OR creator = 333333333";

Facebook allows only to filter tables by indexed fields (which is eid in this table). I assume I could to construct multiquery. Anyone could help with it? I spent some time googling it with no look. I need only one query so learning whole fbl for this has no sense for me at the moment.

BTW: there is a function events.get – you can filter by uid (documentation says):

parameter: uid – Filters by events associated with a
user with this uid.

ASSOCIATED In what sense? are those creator’s uids?, invited, attending or maybe? Why facebook documentation is so frustrating?
When I try events.get with uid parameter it returns result with different creators ids than uid parameter.
Graph API function: uid/events returns events user has been invited to, attended or other status but NOT necessarily created by him.

What am I missing here? I granted necessary permissions to my application, it connects, gets friend’s event lists but not the events I want.

Seems so simple but I con not find straight-forward solution.

I’d appreciate any help.

  • 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-16T23:17:44+00:00Added an answer on May 16, 2026 at 11:17 pm

    You can do something like this:

    SELECT 
        eid, name, tagline, pic_small,host, description, start_time, creator 
    FROM 
        event 
    WHERE 
        eid IN (
            SELECT 
                eid 
            FROM 
                event_member 
            WHERE 
                uid=111 OR uid=222) AND 
        (creator=111 OR creator=222)
    

    Basically this says get the events user 111 or 222 is a member of and of those, only return the ones they’ve created. Because eid is an indexable field, FQL is okay with this, and is happy to do the additional (creator=111) trimming for you.

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

Sidebar

Related Questions

I am developing an iPhone app which needs Facebook to be integrated to my
I am developing a Facebook App in which I get some text from the
I'm developing a facebook iframe app (page app), which counts the user's friends that
I am developing facebook app in which i am fetching user's friend detail in
I'm developing an iPhone app which uses Facebook sharing. I cannot create the Facebook
I'm currently developing a facebook app that needs access to a users photos. It
I am developing a Facebook app. I have a server side OAuth flow which
I'm developing a Facebook app which allow my users to draw their wanted path
I was developing app which uses Facebook API authentication for user login. But sometimes
I am developing my first facebook app, which includes creating a new album and

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.