title: Accessing the Twitter Streaming API with C
body: <p>I'm trying to access the Streaming API with C, and am using the following code: </p>
  
  <pre><code>#include &lt;stdio.h&gt;
  #include &lt;curl/curl.h&gt;
  
  int main(void)
  {
    CURL *curl;
    CURLcode res;
  
    curl = curl_easy_init();
    if(curl) {
      curl_easy_setopt(curl, CURLOPT_URL, "http://stream.twitter.com/1/statuses/sample.json?delimited=length -uJEggers2:password");
      res = curl_easy_perform(curl);
      printf("results: %c", res);
      /* always cleanup */ 
      curl_easy_cleanup(curl);
    }
    return 0;
  }
  </code></pre>
  
  <p>This prints nothing upon execution, what am I doing wrong? Thanks.
  <strong>EDIT:</strong> The Code works when I use google.com as the URL, but it just seems to be an issue with the Streaming API. Any Ideas? </p>