Skip to content

In this repo fetch old tweets of user and store in csv file.

License

Notifications You must be signed in to change notification settings

yogeshnile/fetch-old-tweets

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

8 Commits
 
 
 
 
 
 
 
 

Repository files navigation

fetch old tweets 📓  

  • In this repo fetch old tweets of user in csv file using python. You can check example in here
  • In example i have downloaded year of 2016 tweets of Narendra Modi and Donald J. Trump.

How to use it? 🤔

In python file you put below three information.

  • Enter twitter handle as you want in user_name section.
  • Enter Starting date of you want fetch.
  • Enter Ending date of you want fetch.
user_name = "elonmusk"  #put twitter user id without @
start_date = "2016-01-01" #yy-mm-dd
end_date = "2016-12-31" #yy-mm-dd
  • Run python programme.

Directory Tree 🌵

.
├── Example
│   ├── narendramodi 2016-01-01 to 2016-12-31 tweets.csv
│   └── realDonaldTrump 2016-01-01 to 2016-12-31 tweets.csv
├── LICENSE
├── README.md
└── user-old-tweets.py

1 directory, 5 files

Bug / Feature Request 👨‍💻

If you find a bug (the application couldn't handle the query and / or gave undesired results), kindly open an issue here by including your search query and the expected result.

If you'd like to request a new function, feel free to do so by opening an issue here. Please include sample queries and their corresponding results.

Connect with me! 🌐

Known on internet as Yogesh Nile

Email Me 📧

Releases

No releases published

Packages

No packages published

Languages