Skip to content

machinebox/twitterfeed

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

5 Commits
 
 
 
 
 
 
 
 

Repository files navigation

twitterfeed

Go channel providing live tweets containing search terms.

The following code reads all tweets containing "monkey" for five seconds:

ctx, _ := context.WithTimeout(context.Background(), 5*time.Second)

r := twitterfeed.NewTweetReader("consumerKey", "consumerSecret", "accessToken", "accessSecret")
for tweet := range r.Run(ctx, "monkey") {
	log.Println(tweet)
}

log.Println("done")
  • You can read the GoDocs if you prefer

About

Go channel providing live tweets containing search terms.

Topics

Resources

License

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Languages