Ecosyste.ms: Awesome

An open API service indexing awesome lists of open source software.

Awesome Lists | Featured Topics | Projects

https://github.com/agn-7/tweet-getter

Get Tweets by their IDs through Twitter API
https://github.com/agn-7/tweet-getter

dataset emotion-detection natural-language-processing nlp python python-3 sentiment-analysis tweepy tweets twitter twitter-api

Last synced: 2 months ago
JSON representation

Get Tweets by their IDs through Twitter API

Awesome Lists containing this project

README

        

# Get Tweets by IDs through Twitter's API.

This application creates the dataset through fetching tweets by their IDs.

There are some policies to avoid tweets content directly. Thus, there are many datasets with just tweets IDs and their labels. Hence, I've prepared an application to fetch these tweets context by their IDs using Twitter API. Consequently, you need a Twitter API Token [url](http://apps.twitter.com/).

In `./dataset` directory exists a dataset contains 1.3 million tweets in seven categories label (`anger`, `thankfulness`, `joy`, `sadness`, `fear`, `love`, `surprise`) by their IDs.

## Installation

```
pip install -r requirements.txt
```

## Configuration

Customize the configuration file (`./configuration/configs.py`)

## Run

```python
python -m tweet_getter.dataset_maker
```

---
[**NOTE**]:

This package is compatible on *Python 3*