clit-0.1.1.2: Post tweets from stdin

Safe HaskellNone
LanguageHaskell2010

Web.Tweet

Description

Various utilities to tweet using the twitter api

Make sure you have a file credentials file (default `.cred`) with the following info:

api-key: API_KEY

api-sec: API_SECRE

tok: OAUTH_TOKEN

tok-sec: TOKEN_SECRET

Synopsis

Documentation

tweet :: FilePath -> ByteString -> IO () Source #

tweet a byteString, with credentials from a given file

signRequest :: FilePath -> Request -> IO Request Source #

Sign a request using your OAuth dev token. Uses the IO monad because signatures require a timestamp

urlString :: ByteString -> IO String Source #

Convert a byteString to the percent-encoded version