W3      !"#$%&'()*+,-./0123456789:;<=>?@ABCDEFGHIJKLMNOPQRSTUVWXYZ[\]^_`abcdefghijklmnopqrstuvwxyz{|}~                                  ! " # $ % & ' ( ) * + , - . / 0 1 2 sof@forkIO.com     !"#$%addNameValue nm val req augments the request req with a binding  for (nm,val) . Neither nm nor val# are assumed encoded. It leaves it H until the serialization phase to fix on how to communicate the binding D for the POST request (i.e., via the query portion or in the request' s body.) &addQueryNameValue nm val req performs same function as  addNameValue, S but adds the constraint that the binding must be transmitted as part of the query . portion of the URL it ends up going out via. 'addQueryNameValue nm val req performs same function as  addNameValue, M but adds the constraint that the binding must be transmitted as part of the B body of the POST request, forcing the payload to be of MIME type  application/x-www-form-urlencoded ( addNameFile nm fb mbMimeType req augments the request req with a binding  of name nm to the local file fb,. It will be slurped in and included in the 0 POST request, as part of a multi-part payload. )*+,- !"#$%&'()*+,- !"#$%&'()*+,- !"#$%&'()*+,-so-so  provisional  Sigbjorn Finne <sof@forkIO.com> ./01234563 ./0123456 4562./013 ./01/0123456(74589:;<=>?@ABCDEFGHI6JKLMNOPQRSTUVWXYZ[)789:;<=>?@ABCDEFGHIJKLMNOPQRSTUVWXYZ[)789:;<=>JKLMOPNTSUVWXRZ[Y?A@BCDEFGHIQ%789:;<=>9:;<=>?@ABCDEFGHIJKLMNOPQRSTUVWXYZ[)Main types introduced by the Twitter API  portable  provisional  Sigbjorn Finne <sof@forkIO.com> _\ SearchResult2 bundles up the data that the Search API returns. ]^_`abcdefTrends bundles up the data that the trends / Twitter Search API call returns regarding what's  being majorly tweeted about. ghij RateLimit bundles up the data that the  getRateLimit 5 Twitter API call returns regarding API call limits. klmnopqrstuvwxyz{|}~Status( is the record type used to represent a  ''tweet'',  a status update by a user. _\]^_`abcdefghijklmnopqrstuvwxyz{|}~_{|}~pqrstuvwxyzjklmnofghi\]^_`abcde_\ ]^_`abcde]^_`abcdefghighijklmnoklmnop qrstuvwxyzqrstuvwxyz{|}~|}~ ,,,, $Toplevel module for the Twitter API  portable  provisional  Sigbjorn Finne <sof@forkIO.com> U789:;    <= getPublicTimeline9 returns the 20 most recent statuses from non-protected ' users who have set a custom user icon $getFriendsTimeline mbSince mbSinceId0 returns the 20 most recent statuses posted by & the authenticating user and that user'0s friends. Optionally constrained by start date  or a status ID. &getUserTimeline mbId mbSince mbSinceId& returns the 20 most recent statuses ( posted from the authenticating user. It''s also possible to request another user's ' timeline via the id parameter below.  showStatus id+ returns a single status, specified by the id parameter.  The status'"s author will be returned inline. update text mbReplyToId updates the authenticating user' s status to text. getReplies mbSince mbSinceId returns the 20 most recent  @&replies (status updates prefixed with @username) for the  authenticating user. destroyStatus id& destroys the status specified by the id @ parameter. The authenticating user must be the author of the  specified status. getFriends mbId) returns up to 100 of the authenticating  user'<s friends who have most recently updated, each with current  status inline. It''s also possible to request another user's  recent friends list via the mbId parameter. getFollowers mbId returns the authenticating user' s followers, K each with current status inline. They are ordered by the order in which 5 they joined Twitter (this is going to be changed). getUserInfo mbId mbEmail/ returns extended information of a given user, + specified by ID or screen name as per the mbId parameter below. F This information includes design settings, so third party developers 2 can theme their widgets according to a given user's preferences. M You must be properly authenticated to request the page of a protected user. $getDirectMesssages mbSince mbSinceId returns a list of the 20 most 9 recent direct messages sent to the authenticating user. 'getDirectMessagesSent mbSince mbSinceId returns a list of the 20 most 9 recent direct messages sent by the authenticating user. sendDirectMessage userId text sends a new direct message to 4 the specified user from the authenticating user.  Requires both the user and text parameters. E Returns the sent message in the requested format when successful. createFriend id mbFollow% befriends the user specified in the id G parameter as the authenticating user. Returns the befriended user in H the requested format when successful. Returns a string describing the & failure condition when unsuccessful. destroyFriend i4 discontinues friendship with the user specified in  the idE parameter as the authenticating user. Returns the un-friended user L in the requested format when successful. Returns a string describing the ( failure condition when unsuccessful. isFriendOf userA userB1 tests if a friendship exists between two users. >verifyCredentials- returns an HTTP 200 OK response code and a J representation of the requesting user if authentication was successful; 8 returns a 401 status code and an error message if not. A Use this method to test if supplied user credentials are valid.  endSession/ ends the session of the authenticating user, A returning a null cookie. Use this method to sign users out of * client-facing applications like widgets.  updateDeliveryService mbServ$ sets which device Twitter delivers 2 updates to for the authenticating user. Sending Nothing as the " device parameter will disable IM(im ) or SMS(sms ) updates. !"updateProfileColors pc. sets one or more hex values that control the ( color scheme of the authenticating user's profile page on  twitter.com. #updateProfileImage imgFile updates the authenticating user's profile image. 4 Expects raw multipart data, not a URL to an image. $$updateProfileBackgroundImage imgFile udates the authenticating  user'@s profile background image. Expects raw multipart data, not a  URL to an image. % getRateLimit8 returns the remaining number of API requests available H to the requesting user before the API limit is reached for the current  hour. Calls to  getRateLimit& do not count against the rate limit. G If authentication credentials are provided, the rate limit status for H the authenticating user is returned. Otherwise, the rate limit status  for the requester's IP address is returned. ?&'updateProfile profileInfo$ sets values that users are able to  set under the Account1 tab of their settings page. Only the parameters / specified will be updated; to only update the name attribute, for ! example, only include that as a Just value in the  ProfileInfo parameter. (getFavorites mbId. returns the 20 most recent favorite statuses 6 for the authenticating user or user specified by the mbId parameter. )createFavorite id' favorites the status specified in the id ) parameter as the authenticating user. . Returns the favorite status when successful. *destroyFavorite id& un-favorites the status specified in 0 the ID parameter as the authenticating user. L Returns the un-favorited status in the requested format when successful. + followUser id, enables notifications for updates from the D specified user to the authenticating user. Returns the specified  user when successful. , leaveUser id- disables notifications for updates from the , specified user to the authenticating user. - Returns the specified user when successful. -createBlock id" blocks the user specified in the id parameter 8 as the authenticating user. Returns the blocked user. .destroyBlock id% un-blocks the user specified in the id parameter ; as the authenticating user. Returns the un-blocked user. /testCall returns the string ok in the requested format ! with a 200 OK HTTP status code. 0testCall returns the string ok in the requested format ! with a 200 OK HTTP status code. 12Sjklmno      !"#$%&'()*+,-./012S  !"#$jklmno%&'()*+,-./201    L      !"#$%&'()*+,-./012@      !"#$%&'())*+,-./0123456789:;;<=>?@ABCDDEFGHIJKLMNOPQRSTUVWXYZ[\]^_`abcdefgghijklmnoppqrsstuvwxxyz{|}~>_                                        ! " # $ % & ' ( ) * + , - . /0C12 3 4 5 6 7 8 9 : ;<hs-twitter-0.2.2Web.Twitter.FetchWeb.Twitter.MonadWeb.Codec.PercentWeb.Twitter.MIMEWeb.Codec.URLEncoderWeb.Twitter.PostWeb.Twitter.TypesWeb.Twitter.Types.Import Web.Twitter HTTP-4000.0.9Network.HTTP.CookieCookie json-0.4.4 Text.JSON decodeStrictOkErrorResultgetEncodedStringgetDecodedStringgetEncodedChargetDecodedCharuploadFileType mixedType uploadFile showMIMEValueshowMIMEContentcrnlshowDisposition showDispType showDispParam encodeString decodeString PostParamPostFile PostNameValuePostKind PostFormData PostWWWForm PostQueryPostReqprNameprValsnewPostRequest testRequest toRequest toAmpString mustBeBody mustBeQuery addNameValueaddQueryNameValueaddBodyNameValue addNameFile isPostFile toMIMEValue fromPostParam toMIMEType getMIMETypeAuthUser authUserName authUserPass URLString nullAuthUserreadContentsURLreadUserContentsURLpostContentsURLTMTMEnvtmUsertmBasetmCounttmPagetmPostapi_base top_base_url user_base_url acc_base_urlsearch_base_urlmbArgargstrArgrestCallpostCall readResultwithEnvwithUser withCountwithPagewithBase withPageCountwithAuth postMethod getPostFlaggetUsergetEnvgetCountgetPage getPageCountgetBaseliftIO runTwitterrunTM SearchResultsearchResultTextsearchResultIdsearchResultFromUsersearchResultFromUserIdsearchResultAtsearchResultLanguagesearchResultToUsersearchResultToUserIdTrends trendsAsOf trendsInfo RateLimitrateLimitResetSecsrateLimitResetTimerateLimitRemHitsrateLimitHourlyLimit DirectMessagedirectRecipient directSenderdirectSenderIddirectSenderNamedirectRecipientIddirectRecipientName directTextdirectId directCreatedUserInfouserInfoBackgroundTileuserInfoLinkColoruserInfoBackgrounduserInfoBackgroundImageURLuserInfoTextColoruserInfoSidebarFilluserInfoSidebarColoruserInfoFollowersuserInfoDescriptionuserInfoUTCOffsetuserInfoFavoritesuserInfoCreateduserInfoTimezoneuserInfoImageURL userInfoURLuserInfoStatusCountuserInfoFriendsuserInfoScreenNameuserInfoProtecteduserInfoLocation userInfoName userInfoIdUseruserIduserNameuserScreenNameuserDescription userLocationuserProfileImageURLuserURL userProtected userFollowersStatus statusCreatedstatusId statusText statusSourcestatusTruncatedstatusInReplyTostatusInReplyToUserstatusFavorite statusUserFormat FormatAtom FormatRSS FormatJSON FormatXMLStatusIdUserNameUserId DateString ColorString nullStatusnullUser nullUserInfonullDirectMessage nullRateLimit nullTrendsnullSearchResultJM-=>runJMliftRgetLocaddToEnvgetgetIntgetMbSgetMbIgetMbJgetJgetArrgetMbBgetMbgetBgetJSONshowJSreadJSshowUserstrintinteboolarrobjjsreadBmbreadUser showStatus readStatus showUserInfo readUserInfoshowDMreadDM showRateLimit readRateLimit showTrends readTrendsshowSearchResultreadSearchResult SearchContext searchLang searchRPP searchPage searchSinceId searchGeocodesearchShowUser searchQuery searchHashTagsearchFromUser searchToUsersearchReferringsearchAllWordssearchAnyWordssearchNoneWords searchPhrase searchNear ProfileInfoprofileInfoNameprofileInfoEmailprofileInfoURLprofileInfoLocationprofileInfoDescription ProfileColorsprofileTextColorprofileBackColorprofileLinkColorprofileSidebarFillprofileSidebarBordersetUpdateIntervaladdSearchFilter dropSearch stopUpdatessetTwitterUsertweetgetPublicTimelinegetFriendsTimelinegetUserTimelineupdate getReplies destroyStatus getFriends getFollowers getUserInfogetDirectMessagesgetDirectMessagesSentsendDirectMessagedestroyDirectMessage createFriend destroyFriend isFriendOfverifyCredentials endSessionupdateDeliveryDevicenullProfileColorsupdateProfileColorsupdateProfileImageupdateProfileBackgroundImage getRateLimitnullProfileInfo updateProfile getFavoritescreateFavoritedestroyFavorite followUser leaveUser createBlock destroyBlocktestCall getTrends searchForsearchaddDefaultHeadersunTMnullEnvSearchId twitter_usertwitter_update_infotwitter_get_actiontwitter_searches nowDateStringformatDateStringtoBappendQueryArgs