hs-twitter: Haskell binding to the Twitter API

[ bsd3, library, web ] [ Propose Tags ]

The hs-twitter API binding lets you access twitter.com's resources and methods from Haskell.

Implements the full API, see http://apiwiki.twitter.com/REST+API+Documentation

For more info on use, please visit http://haskell.forkIO.com/twitter

[Skip to Readme]
Versions [faq] 0.2.0, 0.2.1, 0.2.2, 0.2.3, 0.2.4, 0.2.5, 0.2.6, 0.2.7, 0.2.8
Change log CHANGES
Dependencies base (<4.6), HTTP (>=4000.0.1 && <4000.4), json (<0.4), mime (<0.4), network (<2.6), old-locale (<1.1), old-time (<1.2), random (<1.2), utf8-string (<1.1) [details]
License BSD-3-Clause
Author Sigbjorn Finne
Maintainer Sigbjorn Finne <sof@forkio.com>
Revised Revision 2 made by HerbertValerioRiedel at Tue Mar 12 10:21:54 UTC 2019
Category Web
Uploaded by SigbjornFinne at Thu May 21 22:41:45 UTC 2009
Distributions NixOS:0.2.8
Downloads 4179 total (101 in the last 30 days)
Rating (no votes yet) [estimated by rule of succession]
Your Rating
  • λ
  • λ
  • λ
Status Hackage Matrix CI
Docs not available [build log]
All reported builds failed as of 2017-01-01 [all 7 reports]


  • Web
    • Codec
      • Web.Codec.Percent
      • Web.Codec.URLEncoder
    • Web.Twitter
      • Web.Twitter.Fetch
      • Web.Twitter.MIME
      • Web.Twitter.Monad
      • Web.Twitter.Post
      • Web.Twitter.Types
        • Web.Twitter.Types.Import


Note: This package has metadata revisions in the cabal description newer than included in the tarball. To unpack the package including the revisions, use 'cabal get'.

Maintainer's Corner

For package maintainers and hackage trustees

Readme for hs-twitter-0.2.6

[back to package description]
= hs-twitter - Programming Twitter from Haskell =

'hs-twitter' is a Haskell package providing a binding to
the Twitter API - 


The binding is functionally complete (Christmas 2008), letting you write
applications in Haskell that accesses Twitter streams and updates your

For more info on use, please visit: http://haskell.forkIO.com/twitter

= Getting started =

For some code samples showing you how to get started using this
API binding, have a look at Web/Twitter.hs at the top.

= Building and installing =

This package is provided in Cabal form, so only thing you need to
do to get going is:

  foo% runghc Setup configure --user  # that option being optional
  foo% runghc Setup build 
  foo% runghc Setup install

(or, if you are versed in its ways, "cabal update ; cabal install twitter")

The package depends on a bunch of other packages though, so you
need to have them built&installed, as well. They are:

  * HTTP: http://hackage.haskell.org/cgi-bin/hackage-scripts/package/HTTP
  * json:  http://hackage.haskell.org/cgi-bin/hackage-scripts/package/json
  * utf8-string: http://hackage.haskell.org/cgi-bin/hackage-scripts/package/utf8-string
  * mime: http://hackage.haskell.org/cgi-bin/hackage-scripts/package/mime

('cabal install' will take care of chasing these down for you, btw..)

= Authentication =

When using this API binding to build your own Twitter applications,
authentication is required ...

= Feedback / question =

Please send them to sof@forkIO.com , and I'll try to respond to them
as best/quickly as possible. (Or, try to send a tweet 'sigbjorn_finne' :-) )