úÎGvE2     5An exception that may be thrown by functions on this : package. Includes any information provided by Facebook. An exception coming from the fb package's code. #An exception coming from Facebook. 9Class for types that may be passed on queries to Facebook's  API. 7Prepend to the given query the parameters necessary to " pass this data type to Facebook. Phantom type used mark an  as an app access  token. Phantom type used mark an  as an user access  token. 0The access token data that is passed to Facebook's API  calls. <An access token. While you can make some API calls without = an access token, many require an access token and some will = give you more information with an appropriate access token. &There are two kinds of access tokens:  User access token( An access token obtained after an user  accepts your application. Let's you access more information = about that user and act on their behalf (depending on which  permissions you've asked for). App access token) An access token that allows you to take . administrative actions for your application. =These access tokens are distinguished by the phantom type on  , which can be  or . ;Credentials that you get for your app when you register on  Facebook. Your application ID. Your application secret key. Get the access token data. 9Expire time of an access token. It may never expire, in  which case it will be Nothing. A plain ) to a Facebook API. Use this instead of   when creating new s for Facebook. Converts a plain   coming from ! into a  response with a JSON value. "Same as #, but returns only the JSON value. #Same as !&, but tries to parse errors and throw  meaningful s. $Try to parse the WWW-Authenticate header of a Facebook  response. %Send a HEAD, request just to see if the resposne status  code is 2XX (returns True) or not (returns False). &True if the the Status is ok (i.e. 2XX).  "#%   "#% ;A permission that is asked for the user when he authorizes $ your app. Please refer to Facebook's documentation at   ?https://developers.facebook.com/docs/reference/api/permissions/ ) to see which permissions are available.  This is a newtype of ' that supports only (.  This means that to create a  you should use the  OverloadedStrings# language extension. For example, $ {-# LANGUAGE OverloadedStrings #-}   perms :: [Permission] 6 perms = ["user_about_me", "email", "offline_access"] )*3URL where the user is redirected to after Facebook ? authenticates the user authorizes your application. This URL : should be inside the domain registered for your Facebook  application. 1Get an app access token from Facebook using your  credentials. 9The first step to get an user access token. Returns the > Facebook URL you should redirect you user to. Facebook will = authenticate the user, authorize your app and then redirect ! the user back into the provider . =The second step to get an user access token. If the user is @ successfully authenticate and they authorize your application,  then they'll be redirected back to the  you've  passed to . You should take the ) request query parameters passed to your  and give = to this function that will complete the user authentication  flow and give you an  . Should be exactly the same  as in . +5Attoparsec parser for user access tokens returned by  Facebook as a query string. True, if the access token has expired, otherwise False. True2 if the access token is valid. An expired access  token is not valid (see ). However, a non-expired = access token may not be valid as well. For example, in the ; case of an user access token, they may have changed their 9 password, logged out from Facebook or blocked your app. 8Extend the expiration time of an user access token (see   @https://developers.facebook.com/docs/offline-access-deprecation/).  Returns Left exc* if there is an error while extending, or   Right token2 with the new user access token (which could have 9 the same data and expiration time as before, but you can't 3 assume this). Note that expired access tokens can't be  extended, only valid tokens.    ,      !"#$%&%&'()*+,-./0123456fb-0.2Facebook Facebook.Base Facebook.AuthFacebookExceptionFbLibraryExceptionfbeType fbeMessageAppUserAccessTokenData AccessTokenAppAccessTokenUserAccessToken CredentialsclientId clientSecret Permission RedirectUrlgetAppAccessTokengetUserAccessTokenStep1getUserAccessTokenStep2 hasExpiredisValidextendUserAccessToken ToSimpleQuerytsqaccessTokenDataaccessTokenExpiresfbreqhttp-conduit-1.1.2.2Network.HTTP.Conduit.RequestRequestdata-default-0.3.0 Data.DefaultdefasJsonNetwork.HTTP.Conduit.ResponseResponseNetwork.HTTP.ConduithttpasJson'fbhttpwwwAuthenticateParser httpCheckisOkaytext-0.11.1.12Data.Text.InternalTextbase Data.StringIsString unPermissionuserAccessTokenParser