Skip to content

create threads failed #280

@yd-mark

Description

@yd-mark
first_tweet = None
for txt in text[:5]:
    batch_compose = True if reply_to else False
    _tweet = await app.create_tweet(
        text=txt, batch_compose=batch_compose, reply_to=reply_to
    )
    if first_tweet is None:
        first_tweet = _tweet
    reply_to = _tweet.id

when i create threads, error occurs:

HTTP Request: POST https://x.com/i/api/graphql/znq7jUAqRjmPj7IszLem5Q/CreateTweet "HTTP/2 200 OK" [TWEETY ERROR] [226] Authorization: This request looks like it might be automated. To protect our users from spam and other malicious activity, we can't complete this action right now. Please try again later. (226)

How can i fix it, it happens almost every times.

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