twitter-feed-0.2.0.5: Client for fetching Twitter timeline via Oauth

LicenseMIT (see the file LICENSE)
MaintainerJustin Leitgeb <justin@stackbuilders.com>
Safe HaskellNone
LanguageHaskell2010

Web.Twitter.Feed

Description

Functions for fetching (and linkifying) timelines of Twitter users.

Synopsis

Documentation

timeline Source

Arguments

:: OAuth

OAuth client (consumer)

-> Credential

OAuth credential

-> Int

Count

-> Bool

Exclude replies?

-> String

Screen name

-> IO (Either String [SimpleTweet])

Either an error or the list of tweets

Get and decode a user timeline.

addLink Source

Arguments

:: Link

A link

-> String

The text of a tweet without the link

-> String

The text of the tweet with the link

Add a link to the text of a tweet.

timelineUrl Source

Arguments

:: String

Screen name

-> Int

Count

-> Bool

Exclude replies?

-> String

The URL for requesting the user timeline

Returns the URL for requesting a user timeline.

sortLinks Source

Arguments

:: [URLEntity]

A list of URL entities

-> [UserEntity]

A list of user mention entities

-> [MediaEntity]

A list of media entities

-> [Link]

The sorted list of links

Sort lists of URL, user mention, and media entities.