https://github.com/mgmacias95/viyuelaeveryday_tw_analysis
Analysis of interactions with tweets from @viyuelaeveryday
https://github.com/mgmacias95/viyuelaeveryday_tw_analysis
Last synced: 3 months ago
JSON representation
Analysis of interactions with tweets from @viyuelaeveryday
- Host: GitHub
- URL: https://github.com/mgmacias95/viyuelaeveryday_tw_analysis
- Owner: mgmacias95
- License: mit
- Created: 2020-01-05T10:54:17.000Z (over 5 years ago)
- Default Branch: master
- Last Pushed: 2020-01-05T10:57:37.000Z (over 5 years ago)
- Last Synced: 2023-02-27T07:23:20.854Z (over 2 years ago)
- Language: Go
- Size: 137 KB
- Stars: 0
- Watchers: 2
- Forks: 0
- Open Issues: 0
-
Metadata Files:
- Readme: README.md
- License: LICENSE
Awesome Lists containing this project
README
# viyuelaeveryday_tw_analysis
Analysis of interactions with tweets from @viyuelaeveryday## How to use
1. Install golang.
2. Install dependencies:
```shellsession
$ go get gonum.org/v1/plot/
$ go get golang.org/x/oauth2
$ go get github.com/dghubble/go-twitter/twitter
```3. Register as [Twitter developer](https://developer.twitter.com/) to get the necessary credentials to access their API.
4. Set the credentials as environment variables:
```shellsession
$ export TWITTER_CONSUMER_SECRET="******"
$ export TWITTER_CONSUMER_KEY="********"
```5. Build
```shellsession
$ go build
```6. Run
```shellsession
$ ./viyuelaeveryday_tw_analysis
```A graph will be stored in the `interactions.png` file:
