我正在尝试使用TwitterAuth0从twitterAPI返回美国的热门话题,但我得到的结果是{"errors":[{"message":"Sorry, that page does not exist","code":34}]}。consumerkey, $consumersecret, $accesstoken, $accesstokensecret);
$tweets = $connection->get("http
当我运行推特自动回复机器人()时,我得到了这个错误
Fatal error: Uncaught exception 'OAuthException' with message 'Invalid auth/bad request (got a 404, expected HTTP/1.1 20X or a redirect)' in /home/.../public_html/twitterautoreply.php(82): OAuth->fetch
我看到了show_user()方法,但是用api和secret + oauth token和secret实例化Twython.然后调用这个方法返回404:TwythonError: TwitterAPIreturned a 404 (Not Found), Sorry, that page does not exist。从Twython实例化的W.OAPI/oauth键调用相同的方法将返回400:TwythonAuthError: Twitter</
Twitter的错误响应如下所示。{"errors":[{"message":"Sorry, that page does not exist","code":34}]}
但是我不知道为什么键名(errors)是复数形式,而值是数组。我从未见过这个数组中列出了多个错误。有什么案子吗?如果是的话,告诉我你是怎么发出请求的。
<module> File "twitter\api.py", line 204, in ___handle_response(req, uri, arg_data, _timeout)
File "twitter\api.py", line 235, in _handle_responseraise TwitterHTTPError(e,