0
當我嘗試這對終端: curl https://stream.twitter.com/1.1/statuses/filter.json?delimited=length&track=twitterapi:
Twitter的流API無法正常工作
它返回的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數據的,爲什麼發生這種情況有什麼想法?