title: Search for public events by location using the Facebook Graph API
body: <p>Help! I'm trying to search for public events by location using the Facebook Graph API. I've seen many posts saying that this is not possible with the current version of the Graph API out now or FQL. But, I do see sites with this feature as well as many FQL workarounds. None have been successful for me.</p>
  
  <p>Here are my search parameters being requested from the API</p>
  
  <p><code>/search?q=*&amp;type=event&amp;center=10.4434041,-61.419835&amp;distance=1000</code></p>
  
  <p>It was my hope that this would be the answer, simply because it seems to cover the type event and specific location. But, I was wrong and I get a list of the same marketing event for a free samsung galaxy 20 years into the future in 30 different languages.</p>
  
  <p>So I thought to query for the venue(place) in that specific location, which turned out successful, and then grab the id's from those venues and query each id one by one to see if there are any associated events to that specific venue. I don't know how to go about the second half of the query with the results of the first search query but this is what I have so far.</p>
  
  <p><code>/search?type=place&amp;q=*&amp;center=10.4434041%2C-61.419835&amp;distance=1000&amp;fields=name,id</code></p>
  
  <p><strong>Returns</strong></p>
  
  <pre><code>{
    "data": [
    {
      "name": "Valid Venue!",
      "id": "740199068928858"
    },
    {
      "name": "Valid Venue!",
      "id": "522158807878843"
    },
    {
      more valid venue data!!
    }
  }
  </code></pre>
  
  <p>I should also note that this venue search will give me all listed places in that location, which, I know is VERY bad and completely inefficient but I'm all out of ideas.</p>
  
  <p>I'm not sure if this is the right path to go down but it seems like the most plausible solution I can think of to get events by location. Any guidance or at all would be greatly appreciated!! </p>
  
  <p>Thanks!!</p>