使用免费的推特开发者账户,还有办法获取特定用户的推文吗? - V2EX
V2EX = way to explore
V2EX 是一个关于分享和探索的地方
现在注册
已注册用户请  登录
请不要在回答技术问题时复制粘贴 AI 生成的内容
biuyixia
V2EX    程序员

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

 
  •   biuyixia 2023-08-22 16:06:13 +08:00 2833 次点击
    这是一个创建于 788 天前的主题,其中的信息可能已经有所发展或是发生改变。

    使用接口: 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 刀,那还玩个鸡儿。 我的开发者账户好像是学术的也不行。 跪求不花钱的办法。

    7 条回复    2024-12-12 10:29:35 +08:00
    Leo666666
        1
    Leo666666  
       2023-08-22 17:30:47 +08:00
    可以换种思路,就是用自己账号的 token 来写爬虫,现在免费的开发者账号只能用来发推和删推样,不能进行查询
    flyqie
        2
    flyqie  
       2023-08-22 17:45:54 +08:00 via Android
    不花钱的办法就是抓网页 api 然后用无头浏览器做请求或者注入 js 。。

    不然 twitter 的风控和 cookies 有效期足够喝一壶了的。。
    lzgshsj
        3
    lzgshsj  
       2023-08-22 20:24:47 +08:00   2
    biuyixia
        4
    biuyixia  
    OP
       2023-08-24 09:56:54 +08:00 via Android
    @lzgshsj 太牛啦大佬,谢谢。这个应该也能自己部署吧,我看有开源项目。
    xxlsJourney
        5
    xxlsJourney  
       2023-12-26 01:16:17 +08:00
    @lzgshj 不错的工具,有什么办法能获取用户的 follower 和 following 吗?
    xxlsJourney
        6
    xxlsJourney  
       2023-12-26 01:16:36 +08:00
    @lzgshsj 有什么办法能获取用户的 follower 和 following 吗?
    sdYQ9xgR64DgdI92
        7
    sdYQ9xgR64DgdI92  
       310 天前
    @xxlsJourney 这个可以~你试试 website: https://twitter.good6.top API Docs: https://utools.readme.io
    关于     帮助文档     自助推广系统     博客     API     FAQ     Solana     884 人在线   最高记录 6679       Select Language
    创意工作者们的社区
    World is powered by solitude
    VERSION: 3.9.8.5 26ms UTC 20:18 PVG 04:18 LAX 13:18 JFK 16:18
    Do have faith in what you're doing.
    ubao msn snddm index pchome yahoo rakuten mypaper meadowduck bidyahoo youbao zxmzxm asda bnvcg cvbfg dfscv mmhjk xxddc yybgb zznbn ccubao uaitu acv GXCV ET GDG YH FG BCVB FJFH CBRE CBC GDG ET54 WRWR RWER WREW WRWER RWER SDG EW SF DSFSF fbbs ubao fhd dfg ewr dg df ewwr ewwr et ruyut utut dfg fgd gdfgt etg dfgt dfgd ert4 gd fgg wr 235 wer3 we vsdf sdf gdf ert xcv sdf rwer hfd dfg cvb rwf afb dfh jgh bmn lgh rty gfds cxv xcv xcs vdas fdf fgd cv sdf tert sdf sdf sdf sdf sdf sdf sdf sdf sdf sdf sdf sdf sdf sdf sdf sdf sdf sdf sdf sdf sdf sdf sdf sdf sdf sdf sdf sdf sdf sdf sdf sdf sdf sdf sdf sdf sdf sdf sdf sdf shasha9178 shasha9178 shasha9178 shasha9178 shasha9178 liflif2 liflif2 liflif2 liflif2 liflif2 liblib3 liblib3 liblib3 liblib3 liblib3 zhazha444 zhazha444 zhazha444 zhazha444 zhazha444 dende5 dende denden denden2 denden21 fenfen9 fenf619 fen619 fenfe9 fe619 sdf sdf sdf sdf sdf zhazh90 zhazh0 zhaa50 zha90 zh590 zho zhoz zhozh zhozho zhozho2 lislis lls95 lili95 lils5 liss9 sdf0ty987 sdft876 sdft9876 sdf09876 sd0t9876 sdf0ty98 sdf0976 sdf0ty986 sdf0ty96 sdf0t76 sdf0876 df0ty98 sf0t876 sd0ty76 sdy76 sdf76 sdf0t76 sdf0ty9 sdf0ty98 sdf0ty987 sdf0ty98 sdf6676 sdf876 sd876 sd876 sdf6 sdf6 sdf9876 sdf0t sdf06 sdf0ty9776 sdf0ty9776 sdf0ty76 sdf8876 sdf0t sd6 sdf06 s688876 sd688 sdf86