tediorelee / koishi-plugin-twitter-images-videos Goto Github PK
View Code? Open in Web Editor NEWkoishi插件,支持下载twitter的图片或者视频
koishi插件,支持下载twitter的图片或者视频
可以为此插件做一个说明文档吗?不太清楚这个插件应该如何使用
填写了正确的Bearer token
后,插件内进行针对API v1.1
发起请求后,bot返回获取推文内容失败
,且实际post访问返回如下:
{
"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
}]
}
根据官方发文:https://twittercommunity.com/t/understanding-the-error-453-you-currently-have-access-to-a-subset-of-twitter-api-v2-endpoints/200361
似乎推特官方已经弃用 v1.1
接口?新申请的默认Bearer token
似乎在v1.1
上访问受限,以至插件无法正常工作。
/statuses/show
接口似乎被平替到了 https://developer.twitter.com/en/docs/twitter-api/tweets/lookup/introduction 中
作者您有考虑过针对v2
重新适配吗?或者现阶段,我有没有办法通过一些操作来保持插件在v1.1
接口上的正常使用?
api已经获取了,可是在用clash全局配置的情况下使用该插件依然跳出链接失败的错误信息,这里想问一下如果需要配置代理是直接用koishi的全局配置还是怎么样?
这里是一条使用反馈,在koshi沙盒中的显示基本都正常,可以正常显示图片或者视频,但是一旦使用对接的机器人,无论是qq还是tg等平台,基本上会提示暂时无法解析此类型的twitter post链接这个问题哈!
实用功能,点赞好评!但是有个问题:
这个有非常高的迷惑性!
auth token是twitter.com登进去获得的小写字母+数字的字符串,需求的明明是Bearer Token,应该要改一下。
而且前面还得自己加上Bearer空格,这点也建议给个样例(Bearer AAAAAA),不然真想不到:(
然后推特订阅也很实用,有考虑做吗,加油:D
A declarative, efficient, and flexible JavaScript library for building user interfaces.
🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
An Open Source Machine Learning Framework for Everyone
The Web framework for perfectionists with deadlines.
A PHP framework for web artisans
Bring data to life with SVG, Canvas and HTML. 📊📈🎉
JavaScript (JS) is a lightweight interpreted programming language with first-class functions.
Some thing interesting about web. New door for the world.
A server is a program made to process requests and deliver data to clients.
Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.
Some thing interesting about visualization, use data art
Some thing interesting about game, make everyone happy.
We are working to build community through open source technology. NB: members must have two-factor auth.
Open source projects and samples from Microsoft.
Google ❤️ Open Source for everyone.
Alibaba Open Source for everyone
Data-Driven Documents codes.
China tencent open source team.