https://github.com/steinathan/tweetrod
twitter's analytics API is expensive, this lib extracts impressions and engagements analytics from a profile or tweet
https://github.com/steinathan/tweetrod
Last synced: about 1 year ago
JSON representation
twitter's analytics API is expensive, this lib extracts impressions and engagements analytics from a profile or tweet
- Host: GitHub
- URL: https://github.com/steinathan/tweetrod
- Owner: steinathan
- Created: 2020-12-31T00:49:10.000Z (over 5 years ago)
- Default Branch: main
- Last Pushed: 2021-02-02T07:07:02.000Z (over 5 years ago)
- Last Synced: 2025-04-12T02:38:44.011Z (about 1 year ago)
- Language: Go
- Size: 183 KB
- Stars: 1
- Watchers: 1
- Forks: 0
- Open Issues: 0
-
Metadata Files:
- Readme: README.md
Awesome Lists containing this project
README
# Tweetrod (still in heavy development)
> twitter's analytics API is expensive, this lib extracts impressions and engagements analytics from a profile or tweet
### building
make sure you have a recent version of go
```sh
$ go install https://github.com/navicstein/tweetrod
```
### usage
for viewing the available options
```sh
❯ tweetrod --help
Usage of tweetrod:
-password string
your twitter password (default "xxxx")
-use-proxy
whether to use reverse proxy at http://127.0.0.1:8080
-username string
your twitter username (default "navicstein")
```
start scapping
```sh
tweetrod --use-proxy --username my_twitter_username --password 1292883
```
### enabling tracing
create a `.rod` file with these contents in `nano $(echo $PWD)/.rod ` or any other code editor you like
```txt
trace
show
```
- `show` enables the emulated browser
- `trace` enables logging
tweetrod will attempt to use a diffrent emulation device anytime the command is run
```
IPhoneX
IPad
GalaxyNoteII
IPadPro
```
## known bugs/issues
- no error reporting on failed login creds (causes other things to fail)
- can't harvest engagements due to changing anchor tags 💡 (work around available)
- can't change IP address from proxy 💡 (work around available)
- and more
> my IP address was blocked because of agressive testing while developing this lib (where's my VPN?), can't ensure it consitency for now