Skip to content

twitter callout status 429 ConnectionException #162

@anKen9

Description

@anKen9
for {
	if tweetStream.Connection() == false {
		tweetStream, err = c.TweetSearchStream(ctx, opts)
		if err != nil {
			time.Sleep(time.Second * 60 * 3)
			continue
		}
	}
        select {}
}

This is my code , but Twitter always return twitter callout status 429 ConnectionException:This stream is currently at the maximum allowed connection limit.
so, I want to know if tweetStream.Connection() == false How to restart tweetStream.

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