Add exclude replies to user timelines.
This commit is contained in:
parent
4bfec2d550
commit
06d69eb05d
|
@ -161,6 +161,7 @@ public struct TwitterFeedProvider: FeedProvider {
|
||||||
api = "statuses/home_timeline.json"
|
api = "statuses/home_timeline.json"
|
||||||
default:
|
default:
|
||||||
api = "statuses/user_timeline.json"
|
api = "statuses/user_timeline.json"
|
||||||
|
parameters["exclude_replies"] = true
|
||||||
if let screenName = deriveScreenName(urlComponents) {
|
if let screenName = deriveScreenName(urlComponents) {
|
||||||
parameters["screen_name"] = screenName
|
parameters["screen_name"] = screenName
|
||||||
} else {
|
} else {
|
||||||
|
|
Loading…
Reference in New Issue