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

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

Web.Twitter.Types

Description

Types for working with the twitter API.

Synopsis

Documentation

data Tweet Source

Represent a tweet as plain text

Constructors

Tweet 

Fields

text :: String

Tweet content as plain text

createdAt :: String

Tweet created at date

idStr :: String

Tweet id

entities :: Entities

All references mentioned on the tweet

data SimpleTweet Source

Represents a tweet as HTML

Constructors

SimpleTweet 

Fields

body :: String

Tweet content as HTML

tweetId :: String

Tweet id

created_at :: String

Tweet created at date

data Link Source

Represent a link as HTML

Constructors

Link 

Fields

startIndex :: Int

Tweet start index

endIndex :: Int

Tweet end index

newHtml :: String

Link as HTML

data Entities Source

Represent a list of all tweet references

Constructors

Entities 

Fields

userEntities :: [UserEntity]

List of all user references mentioned on the tweet

urlEntities :: [URLEntity]

List of all urls references mentioned on the tweet

mediaEntities :: [MediaEntity]

List of all media references mentioned on the tweet

data URLEntity Source

Represent a url reference

Constructors

URLEntity 

Fields

urlMessage :: String

Reference title

urlIndices :: BoundingIndices

Tweet start and end index

displayUrl :: String

Reference url

data UserEntity Source

Represent a user reference

Constructors

UserEntity 

Fields

screenName :: String

User twitter name

userIndices :: BoundingIndices

Tweet start and end index

data MediaEntity Source

Represent a media reference

Constructors

MediaEntity 

Fields

mediaUrl :: String

Reference url

mediaIndices :: BoundingIndices

Tweet start and end index

displayMediaUrl :: String

Reference title