title: Using Twitter API to get images tweeted by a user (REST API)
body: <p>I'm using the Twitter REST API to try and get only images for a specific user. </p>
  
  <p>If I use <code>statuses/user_timeline</code>, then I get a mixture of of textual tweets and images, and the results are limited to 200. This means that I can end up with about 10 images per 200 results, because of the text tweets involved in the returned data.</p>
  
  <p>What I'm trying to do instead, is use <code>tweets/search</code> with the <code>From:Username filter:images</code> keywords. But I have encountered an issue: On twitter.com, the search term <code>From:Gregory_Onye filter:images</code> returns a few results, but when using the API I receive only 1 result...</p>
  
  <p>Can anyone help me with this issue?</p>
  
  <p>See below for search metadata:</p>
  
  <pre><code>"search_metadata":  {
      "completed_in": 0.03,
      "max_id": 579641668875452400,
      "max_id_str": "579641668875452416",
      "query": "From%3AGregory_Onye+filter%3Aimages",
      "refresh_url": "?since_id=579641668875452416&amp;q=From%3AGregory_Onye%20filter%3Aimages&amp;include_entities=1",
      "count": 100,
      "since_id": 0,
      "since_id_str": "0"
    }
  </code></pre>