Skip to content

Usage of Twitter Streaming API and tweet collection to MongoDB server

License

Notifications You must be signed in to change notification settings

hamk-uas/TweetCollector

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

7 Commits
 
 
 
 
 
 
 
 

Repository files navigation

TweetCollector

Usage of Twitter Streaming API with TweePy and tweet collection to MongoDB server

How to use

All parameters are set from own config file config.py all parameters need to be set.

MongoDB config parameters

  • mongo_server="YOUR SERVER ADDRESS HERE"
  • mongo_port=YOUR SERVER PORT HERE
  • mongo_username="YOUR SERVER USERNAME HERE"
  • mongo_password="YOUR SERVER PASSWORD HERE"
  • mongo_database="YOUR DATABASE NAME HERE"
  • mongo_collection="YOUR DATABSE COLLECTION NAME HERE"

Twitter keyword list

  • twitter_keywords=["YOUR LIST OF KEYWRODS HERE"]

Twitter Customer key, customer secret, access token and access secret

  • consumer_key="YOUR KEY HERE"
  • consumer_secret="YOUR SECRET HERE"
  • access_token="YOUR TOKEN HERE"
  • access_secret="YOUR SECRET HERE"

About

Usage of Twitter Streaming API and tweet collection to MongoDB server

Resources

License

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Languages