使用免费的推特开发者账户,还有办法获取特定用户的推文吗?

262 天前
 biuyixia

使用接口: https://api.twitter.com/2/users/44196397/tweets 错误消息:{"client_id":"xxxx","detail":"When authenticating requests to the Twitter API v2 endpoints, you must use keys and tokens from a Twitter developer App that is attached to a Project. You can create a project via the developer portal.","registration_url":"https://developer.twitter.com/en/docs/projects/overview","title":"Client Forbidden","required_enrollment":"Appropriate Level of API Access","reason":"client-not-enrolled","type":"https://api.twitter.com/2/problems/client-forbidden"}

使用接口: https://api.twitter.com/1.1/collections/list.json?screen_name=elonmusk&count=1 错误消息:{"errors":[{"message":"You currently have access to a subset of Twitter API v2 endpoints and limited v1.1 endpoints (e.g. media post, oauth) only. If you need access to this endpoint, you may need a different access level. You can learn more here: https://developer.twitter.com/en/portal/product","code":453}]}

以前用的好好的,老马收购后不讲武德,胡改乱改。 通过搜索报错内容,从 4 月份都有人问了,发现大部分老外都说必须得花钱订阅,我看最便宜的都得 100 刀,那还玩个鸡儿。 我的开发者账户好像是学术的也不行。 跪求不花钱的办法。

1511 次点击
所在节点    程序员
6 条回复
Leo666666
262 天前
可以换种思路,就是用自己账号的 token 来写爬虫,现在免费的开发者账号只能用来发推和删推样,不能进行查询😓
flyqie
262 天前
不花钱的办法就是抓网页 api 然后用无头浏览器做请求或者注入 js 。。

不然 twitter 的风控和 cookies 有效期足够喝一壶了的。。
lzgshsj
262 天前
biuyixia
260 天前
@lzgshsj 太牛啦大佬,谢谢。这个应该也能自己部署吧,我看有开源项目。
xxlsJourney
137 天前
@lzgshsj 不错的工具,有什么办法能获取用户的 follower 和 following 吗?😂
xxlsJourney
137 天前
@lzgshsj 有什么办法能获取用户的 follower 和 following 吗?😂

这是一个专为移动设备优化的页面(即为了让你能够在 Google 搜索结果里秒开这个页面),如果你希望参与 V2EX 社区的讨论,你可以继续到 V2EX 上打开本讨论主题的完整版本。

https://www.v2ex.com/t/967406

V2EX 是创意工作者们的社区,是一个分享自己正在做的有趣事物、交流想法,可以遇见新朋友甚至新机会的地方。

V2EX is a community of developers, designers and creative people.

© 2021 V2EX