Ecosyste.ms: Awesome
An open API service indexing awesome lists of open source software.
https://github.com/saritaphd/text-mining-extracting-tweets-from-twitter-
Extracting tweets from Twitter using the Tweepy library.
https://github.com/saritaphd/text-mining-extracting-tweets-from-twitter-
Last synced: 3 days ago
JSON representation
Extracting tweets from Twitter using the Tweepy library.
- Host: GitHub
- URL: https://github.com/saritaphd/text-mining-extracting-tweets-from-twitter-
- Owner: SaritaPhD
- Created: 2023-04-17T12:47:15.000Z (over 1 year ago)
- Default Branch: main
- Last Pushed: 2023-10-18T10:50:36.000Z (about 1 year ago)
- Last Synced: 2023-10-18T11:41:59.387Z (about 1 year ago)
- Language: Python
- Size: 1.95 KB
- Stars: 0
- Watchers: 1
- Forks: 0
- Open Issues: 0
-
Metadata Files:
- Readme: README.md
Awesome Lists containing this project
README
# Extracting-Tweets-from-Twitter-
## Extracting tweets from Twitter using the Tweepy library.## Data Extraction from HTML and Twitter
This project showcases data extraction from a local HTML file and fetching tweets using the Twitter API.- HTML Data Extraction
- Use BeautifulSoup library to extract data from an HTML file.
- Install the required dependency: bs4.
- Import BeautifulSoup and parse the HTML file.
- Extract desired data using find and find_all methods.
- Twitter Data Extraction
- Fetch tweets using Tweepy library and the Twitter API.
- Install the required dependencies: tweepy and pandas.
- Fill in your Twitter app credentials.
- Use Tweepy API to authenticate and fetch tweets.
- Save the extracted tweets to a CSV file using pandas DataFrame.