diff --git a/Readme.md b/Readme.md index e2d6fa6..74b4a07 100644 --- a/Readme.md +++ b/Readme.md @@ -21,13 +21,13 @@ go build drivel.go credentials.go usage ----- -To get the last 100 tweets of your home timeline: +To get the last 200 tweets of your home timeline: ``` drivel home ``` -To get the last 100 tweets of your mention timeline: +To get the last 200 tweets of your mention timeline: ``` drivel mentions diff --git a/drivel.go b/drivel.go index 9f766bd..408d727 100644 --- a/drivel.go +++ b/drivel.go @@ -20,8 +20,8 @@ const ( CHARACTER_LIMIT = 280 UPLOAD_ENDPOINT = "https://upload.twitter.com/1.1/media/upload.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" - HOME_ENDPOINT = "https://api.twitter.com/1.1/statuses/home_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=200" ) func optLogFatal(decorum string, err error) {