Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

twitter callout status 429 ConnectionException #162

Open
anKen9 opened this issue Nov 1, 2022 · 0 comments
Open

twitter callout status 429 ConnectionException #162

anKen9 opened this issue Nov 1, 2022 · 0 comments

Comments

@anKen9
Copy link

anKen9 commented Nov 1, 2022

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.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant