0

When I try this on terminal: curl https://stream.twitter.com/1.1/statuses/filter.json?delimited=length&track=twitterapi:

It returns this html document:

<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>

It's supposed to return lots of json data, any thoughts why this is happening?

4

1 回答 1

0

在使用大多数 API 之前,您必须使用 twitter“登录”。

阅读身份验证和授权

于 2013-08-26T05:21:52.033 回答