up the number of home and mention timeline tweets to 200
This commit is contained in:
parent
84e0b08eae
commit
f32dc1b3c5
|
@ -21,13 +21,13 @@ go build drivel.go credentials.go
|
||||||
usage
|
usage
|
||||||
-----
|
-----
|
||||||
|
|
||||||
To get the last 100 tweets of your home timeline:
|
To get the last 200 tweets of your home timeline:
|
||||||
|
|
||||||
```
|
```
|
||||||
drivel home
|
drivel home
|
||||||
```
|
```
|
||||||
|
|
||||||
To get the last 100 tweets of your mention timeline:
|
To get the last 200 tweets of your mention timeline:
|
||||||
|
|
||||||
```
|
```
|
||||||
drivel mentions
|
drivel mentions
|
||||||
|
|
|
@ -20,8 +20,8 @@ const (
|
||||||
CHARACTER_LIMIT = 280
|
CHARACTER_LIMIT = 280
|
||||||
UPLOAD_ENDPOINT = "https://upload.twitter.com/1.1/media/upload.json"
|
UPLOAD_ENDPOINT = "https://upload.twitter.com/1.1/media/upload.json"
|
||||||
STATUS_ENDPOINT = "https://api.twitter.com/1.1/statuses/update.json"
|
STATUS_ENDPOINT = "https://api.twitter.com/1.1/statuses/update.json"
|
||||||
MENTIONS_ENDPOINT = "https://api.twitter.com/1.1/statuses/mentions_timeline.json?tweet_mode=extended&count=100"
|
MENTIONS_ENDPOINT = "https://api.twitter.com/1.1/statuses/mentions_timeline.json?tweet_mode=extended&count=200"
|
||||||
HOME_ENDPOINT = "https://api.twitter.com/1.1/statuses/home_timeline.json?tweet_mode=extended&count=100"
|
HOME_ENDPOINT = "https://api.twitter.com/1.1/statuses/home_timeline.json?tweet_mode=extended&count=200"
|
||||||
)
|
)
|
||||||
|
|
||||||
func optLogFatal(decorum string, err error) {
|
func optLogFatal(decorum string, err error) {
|
||||||
|
|
Loading…
Reference in New Issue
Block a user