当我在终端上试试这个时:
curl https://stream.twitter.com/1.1/statuses/filter.json?delimited=length&track=twitterapi:
它返回此html文档:
<html>
<head>
<meta http-equiv="Content-Type" content="text/html; charset=utf-8"/>
<title>Error 401 Unauthorized</title>
</head>
<body>
<h2>HTTP ERROR: 401</h2>
<p>Problem accessing '/1.1/statuses/filter.json?delimited=length'. Reason:
<pre> Unauthorized</pre>
</body>
</html>
它应该返回大量的json数据,任何想法为什么会发生这种情况?