title: Facebook Graph API Search Posts for specific text in message field
body: <p>Is there a way with graph facebook to search specific text content in the message of a user's posts?  The assumption here is that the user id and access token is already available as well as all applicable permissions (ie. the user_posts permissions, etc..).</p>
  
  <p>I read through the search feature on graph:</p>
  
  <p><a href="https://developers.facebook.com/docs/graph-api/advanced" rel="nofollow noreferrer">Facebook Graph Docs-Advanced</a></p>
  
  <p>The following graph explorer example was provided:</p>
  
  <pre><code>GET graph.facebook.com/search?
      q={your-query}&amp;
      type={object-type}
  </code></pre>
  
  <p>The table that lists the available types in the link provided is very limited (place, placetopic, ad_*).  Is that the full list of possible types?  Can we use POSTS or user posts as a type.  I couldn't find the right syntax anywhere.</p>
  
  <p>My goal is to retrieve a user's posts based on a specific message tag or text in their post message.  Currently, the only way I know how to do this is highly inefficient.  I would have to do the following:</p>
  
  <ol>
  <li>Get user's full list of posts</li>
  </ol>
  
  <p><a href="https://graph/facebook/com/" rel="nofollow noreferrer">https://graph/facebook/com/</a>{version}/{userID}/?fields=posts&amp;access_token={token}</p>
  
  <ol start="2">
  <li>Run a coded query to get the posts I need and discard the rest</li>
  </ol>
  
  <p>Thanks in advance.</p>