title: Search posts in a Fan Page with Facebook API
body: <p>It's simple how can I search a post in Facebook with the API Facebook:</p>
  
  <pre><code>https://graph.facebook.com/search?q=logo&amp;type=post 
  </code></pre>
  
  <p>This query retrieve all public posts which contain the word "logo". But, how could I search a post in a specific Fan page? Is it possible?</p>
  
  <p>Thanks in advance.</p>
  
  <p><strong>Alternative Solution:</strong></p>
  
  <p>I have thought of a hybrid solution: I can get all the posts with that query:</p>
  
  <p><a href="https://graph.facebook.com/search?fields=object_id&amp;limit=25&amp;type=post&amp;q=logo" rel="nofollow">https://graph.facebook.com/search?fields=object_id&amp;limit=25&amp;type=post&amp;q=logo</a></p>
  
  <p>and through php to restrict only those belonging to specific Fan Page. Although I have a question, over what period of time the search is done?</p>
  
  <p>What do you think?</p>