protectione055 / koishi-plugin-edison

基于Twitter API的koishi Twitter转发插件
1 stars 0 forks source link

在填入twitter Bearer key后依旧无法使用twitter指令 #1

Open omodoll opened 2 months ago

omodoll commented 2 months ago

如题,启用后无法调用twitter指令,提供指令列表也只有edison指令一个,help查询也没办法查到twitter,权限是5级没错

环境: System: OS: Linux 6.8 Ubuntu 24.04 LTS 24.04 LTS (Noble Numbat) CPU: (4) x64 Intel(R) Xeon(R) CPU E5-2698 v4 @ 2.20GHz

Binaries: Node: 20.14.0 Yarn: 4.1.1

Koishi: Core: 4.17.8 Console: 5.29.1

QQ截图20240604120644 QQ截图20240604120607 QQ截图20240604120545

protectione055 commented 2 months ago

您好,我在readme中更新了获取bearer token的临时办法,由于马斯克去年对twitter api访问策略进行过修改,这应该是目前为数不多的能用的白嫖方案。

然而这个白嫖获得的token每隔2小时就会过期,所以使用的时候还需要注意。之后会想办法解决现在的问题,请大佬包含