Note that there are some explanatory texts on larger screens.

plurals
  1. POGetting all events given a certain filter criteria on Facebook
    primarykey
    data
    text
    <p>I'm trying to get events in Facebook that have a certain phrase or description in them. I'd like to not have the results filtered or limited, as the phrase is fairly specific.</p> <p>As an example, the phrase I'm looking for is "UMvC3" (short for <a href="http://en.wikipedia.org/wiki/Ultimate_Marvel_vs._Capcom_3" rel="nofollow">Ultimate Marvel vs. Capcom 3</a>).</p> <p>That said, I could run an FQL query (and subsequently enrich with a call to the Graph API, like so):</p> <pre><code>select eid from event where contains("umvc3") and start_time &gt;= now() order by update_time desc </code></pre> <p>This will give me upcoming events with "umvc3" in them as well as only ones occurring in the future (I'm not concerned with past events).</p> <p>However, the selection is severely limited. For example, the following isn't returned in the search results:</p> <p><a href="https://www.facebook.com/events/595137740538545/" rel="nofollow">https://www.facebook.com/events/595137740538545/</a></p> <p>It clearly has "umvc3" in the description text.</p> <p>I can perform a search using the Graph API, but that doesn't return the above result either. Additionally, I can't filter using the Graph API on the <code>start_time</code> or order the results in a manner where I can stop processing the result set once I get to a certain point.</p> <p>Finally, there is the Public Feed API, which will give me the entire firehose (which isn't filterable, like Twitter's, unfortunately), so I'll have to filter in real-time, which could be near impossible.</p> <p>That said, am I approaching this the wrong way, or is there no way to really get a comprehensive, exact set of results from the Facebook API for events?</p> <p>Note: I'm using the <code>access_token</code> provided by the Graph Explorer in the tools section.</p>
    singulars
    1. This table or related slice is empty.
    1. This table or related slice is empty.
    plurals
    1. This table or related slice is empty.
    1. This table or related slice is empty.
    1. This table or related slice is empty.
 

Querying!

 
Guidance

SQuiL has stopped working due to an internal error.

If you are curious you may find further information in the browser console, which is accessible through the devtools (F12).

Reload