Skip to content

Instantly share code, notes, and snippets.

@etrepum
Last active August 29, 2015 13:56
Show Gist options
  • Save etrepum/9061059 to your computer and use it in GitHub Desktop.
Save etrepum/9061059 to your computer and use it in GitHub Desktop.
userTimeline :: String -> Maybe Int -> Request
userTimeline name sinceId = fromJust . parseUrl $ concat
[ "https://api.twitter.com/1.1/statuses/user_timeline.json?screen_name="
, name
, "&include_rts=false"
, maybe "" (("&since_id=" ++) . show) sinceId
]
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment