title: Search Facebook Pages by Name and Location
body: <p>I'm looking for a way to accurately search for a facebook page by name and location, so that I can then retrieve information on the page. For example, say that I'd like to search for an Allstate page in Haslet, TX (<a href="http://www.facebook.com/DixonInsurance" rel="nofollow">http://www.facebook.com/DixonInsurance</a>). Since "Allstate" is in the page name it turns up in this search:</p>
  
  <pre><code>https://graph.facebook.com/search?q=allstate&amp;type=page&amp;limit=100&amp;access_token=[your access token here]
  </code></pre>
  
  <p>It's great for getting a list of page ids for pages that contain "allstate" in the title, but there are an obscene number of those pages. In order to find the Allstate page that contains the city of Haslet, though, I have to barrage the facebook graph with irrelevant requests until I <em>finally</em> hit on <a href="http://graph.facebook.com/fql?q=select%20name,page_url,location%20from%20page%20where%20page_id=365699213548" rel="nofollow">http://graph.facebook.com/fql?q=select name,page_url,location from page where page_id=365699213548</a>. It's kind of like emptying a lake to get water for a drink - not to mention that the irrelevant requests go against facebook usage limitations.</p>
  
  <p>I'm not looking for places, I am specifically looking for pages. Is there a way to add a city requirement to the opengraph request, or at least limit the number of pages I need to search through before locating the one I want?</p>