Commit cb1c1ff4 authored by Rémy Decoupes's avatar Rémy Decoupes
Browse files

fill Readme and add instalation documentation process

parent 321094ab
# Collect tweets for H2020 MOOD
This project collects tweets based on a list of keywords or/and twitter accounts in the [H2020 MOOD](https://mood-h2020.eu/) framework
Keywords and Twitter accounts lists have been defined by H2020 MOOD partners :
* [keyword](mood-tetis-tweets-collect/params/keywordsFilter.csv)
* [twitter account](mood-tetis-tweets-collect/params/accountsFollowed.csv)
**To be compliant with Twitter's [Terms of Service](https://developer.twitter.com/en/developer-terms/agreement-and-policy)** this repository doesn't contains any tweet nor Twitter credentials.
Users who wants to use this project have to create a [Twitter developer account](https://developer.twitter.com/en)
## Installation
This project has only been tested on python3.7.
### Dependencies
Install all dependencies using pip:
```shell
pip install -r requirements.txt
```
### Twitter credentials
A credentials.py has to be created using the [template](mood-tetis-tweets-collect/params/template-credentials.py)
1. First copy the template :
```shell
cp params/template-credentials.py params/credentials.py
```
2. Edit credentials.py with your own Twitter account credentials
## Run
The run of this scripts will create a log file.
The scripts can be launched using this command :
```shell
python3 collectTweets.py
```
\ No newline at end of file
certifi==2020.4.5.2
chardet==3.0.4
idna==2.9
oauthlib==3.1.0
PySocks==1.7.1
requests==2.23.0
requests-oauthlib==1.3.0
six==1.15.0
tweepy==3.8.0
urllib3==1.25.9
Markdown is supported
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment