Giter Site home page Giter Site logo

koishi-plugin-twitter-images-videos's People

Contributors

tediorelee avatar

Watchers

 avatar

koishi-plugin-twitter-images-videos's Issues

访问报错:ERROR 453

填写了正确的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接口上的正常使用?

这里是使用反馈

这里是一条使用反馈,在koshi沙盒中的显示基本都正常,可以正常显示图片或者视频,但是一旦使用对接的机器人,无论是qq还是tg等平台,基本上会提示暂时无法解析此类型的twitter post链接这个问题哈!

一点小建议...

实用功能,点赞好评!但是有个问题:

  • “authToken:请填写你的twitter auth token”

这个有非常高的迷惑性!
auth token是twitter.com登进去获得的小写字母+数字的字符串,需求的明明是Bearer Token,应该要改一下。
而且前面还得自己加上Bearer空格,这点也建议给个样例(Bearer AAAAAA),不然真想不到:(

然后推特订阅也很实用,有考虑做吗,加油:D

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. 📊📈🎉

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google ❤️ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.