Skip to content

0xhaven/tweetcrawl

Folders and files

NameName
Last commit message
Last commit date

Latest commit

author
Jacob H. Haven
Jan 6, 2020
bc77296 · Jan 6, 2020

History

6 Commits
Jan 6, 2020
Jan 6, 2020
Jan 6, 2020
Jan 6, 2020
Jan 6, 2020
Jan 6, 2020

Repository files navigation

tweetcrawl

Consumes Twitter sample stream to track the following:

  1. Total number of tweets received
  2. Average tweets per hour/minute/second
  3. Top emojis in tweets
  4. Percent of tweets that contains emojis
  5. Top hashtags
  6. Percent of tweets that contain a url
  7. Percent of tweets that contain a photo url (pic.twitter.com, pbs.twimg.com , or instagram)
  8. Top domains of urls in tweets

Exposes REST API to query this information

Instructions

  1. Create Twitter app with Sampled Stream preview active.
  2. Set Twitter CUSTOMER_KEY and CUSTOMER_SECRET environment variables.
  3. Run go run .
  4. Send HTTP GET to various endpoints:

About

No description, website, or topics provided.

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Languages