Skip to content
This repository was archived by the owner on Jan 5, 2026. It is now read-only.
This repository was archived by the owner on Jan 5, 2026. It is now read-only.

Access permission issue #37

@aihoom

Description

@aihoom

Thank you for developing the Twitter bot, which allows me to quickly get started with such a great tool without any programming background. However, it seems that some problems have occurred during my use:

warning: `tweet_bot` (bin "tweet_bot") generated 3 warnings
    Finished release [optimized] target(s) in 5m 08s
     Running `target/release/tweet_bot`
Error: TweetError { kind: TweetError(TwitterError({"perf": "7626143928", "content-type": "application/json;charset=utf-8", "cache-control": "no-cache, no-store, max-age=0", "content-length": "311", "x-transaction-id": "3fccce770c5517c1", "x-response-time": "161", "x-connection-hash": "c35e1e9e80bfb05113707e47427cead188bfcd45", "date": "Wed, 15 Nov 2023 22:29:18 GMT", "server": "tsa_k"}, TwitterErrors { errors: [TwitterErrorCode { 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 }] })), location: Location { file: "src/utils.rs", line: 6, col: 33 } }

I searched and it seems to be because the free Twitter API V2 I'm using doesn't have this permission. Can I use API V1 instead?

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions