Exclude replies
Added the available parameter in the Twitter client to remove replies from the retrieved tweets https://developer.twitter.com/en/docs/tweets/timelines/api-reference/get-statuses-user_timeline.html
This commit is contained in:
parent
350b265000
commit
3767f775ac
1 changed files with 1 additions and 1 deletions
|
@ -146,7 +146,7 @@
|
||||||
(doseq [account (-> config :twitter :accounts)]
|
(doseq [account (-> config :twitter :accounts)]
|
||||||
(.get twitter-client
|
(.get twitter-client
|
||||||
"statuses/user_timeline"
|
"statuses/user_timeline"
|
||||||
#js {:screen_name account :include_rts false}
|
#js {:screen_name account :include_rts false :exclude_replies true}
|
||||||
(post-tweets last-post-time))))
|
(post-tweets last-post-time))))
|
||||||
;;post from Tumblr
|
;;post from Tumblr
|
||||||
(when-let [tumblr-oauth (some-> config :tumblr :access-keys clj->js)]
|
(when-let [tumblr-oauth (some-> config :tumblr :access-keys clj->js)]
|
||||||
|
|
Reference in a new issue