This file is indexed.

/usr/share/doc/libghc-fb-doc/html/Facebook.html is in libghc-fb-doc 1.0.13-1.

This file is owned by root:root, with mode 0o644.

The actual contents of the file can be viewed below.

  1
  2
  3
  4
  5
  6
  7
  8
  9
 10
 11
 12
 13
 14
 15
 16
 17
 18
 19
 20
 21
 22
 23
 24
 25
 26
 27
 28
 29
 30
 31
 32
 33
 34
 35
 36
 37
 38
 39
 40
 41
 42
 43
 44
 45
 46
 47
 48
 49
 50
 51
 52
 53
 54
 55
 56
 57
 58
 59
 60
 61
 62
 63
 64
 65
 66
 67
 68
 69
 70
 71
 72
 73
 74
 75
 76
 77
 78
 79
 80
 81
 82
 83
 84
 85
 86
 87
 88
 89
 90
 91
 92
 93
 94
 95
 96
 97
 98
 99
100
101
102
103
104
105
106
107
108
109
110
111
112
113
114
115
116
117
118
119
120
121
122
123
124
125
126
127
128
129
130
131
132
133
134
135
136
137
138
139
140
141
142
143
144
145
146
147
148
149
150
151
152
153
154
155
156
157
158
159
160
161
162
163
164
165
166
167
168
169
170
171
172
173
174
175
176
177
178
179
180
181
182
183
184
185
186
187
188
189
190
191
192
193
194
195
196
197
198
199
200
201
202
203
204
205
206
207
208
209
210
211
212
213
214
215
216
<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd"><html xmlns="http://www.w3.org/1999/xhtml"><head><meta http-equiv="Content-Type" content="text/html; charset=UTF-8" /><title>Facebook</title><link href="ocean.css" rel="stylesheet" type="text/css" title="Ocean" /><script src="haddock-util.js" type="text/javascript"></script><script type="text/javascript">//<![CDATA[
window.onload = function () {pageLoad();setSynopsis("mini_Facebook.html");};
//]]>
</script></head><body><div id="package-header"><ul class="links" id="page-menu"><li><a href="src/Facebook.html">Source</a></li><li><a href="index.html">Contents</a></li><li><a href="doc-index.html">Index</a></li></ul><p class="caption">fb-1.0.13: Bindings to Facebook's API.</p></div><div id="content"><div id="module-header"><table class="info"><tr><th>Safe Haskell</th><td>None</td></tr><tr><th>Language</th><td>Haskell98</td></tr></table><p class="caption">Facebook</p></div><div id="table-of-contents"><p class="caption">Contents</p><ul><li><a href="#g:1"><code>FacebookT</code> monad transformer</a></li><li><a href="#g:2">Authorization and Authentication</a><ul><li><a href="#g:3">Credentials</a></li><li><a href="#g:4">Access token</a></li><li><a href="#g:5">App access token</a></li><li><a href="#g:6">User access token</a></li><li><a href="#g:7">Signed requests</a></li></ul></li><li><a href="#g:8">Facebook's Graph API</a><ul><li><a href="#g:9">User</a></li><li><a href="#g:10">Page</a></li><li><a href="#g:11">Actions</a></li><li><a href="#g:12">Checkins</a></li><li><a href="#g:13">Order</a></li><li><a href="#g:14">Friend list</a></li></ul></li><li><a href="#g:15">Facebook's Graph API basic functionality</a><ul><li><a href="#g:16">Simple types</a></li><li><a href="#g:17">Complex types</a></li><li><a href="#g:18">Pagination</a></li></ul></li><li><a href="#g:19">Real-time update notifications</a><ul><li><a href="#g:20">Subscriptions</a></li><li><a href="#g:21">Notifications</a></li></ul></li><li><a href="#g:22">FQL</a></li><li><a href="#g:23">Test User API</a></li><li><a href="#g:24">Raw access to the Graph API</a></li><li><a href="#g:25">Exceptions</a></li><li><a href="#g:26">Internal functions</a></li></ul></div><div id="synopsis"><p id="control.syn" class="caption expander" onclick="toggleSection('syn')">Synopsis</p><ul id="section.syn" class="hide" onclick="toggleSection('syn')"><li class="src short"><span class="keyword">data</span> <a href="#t:FacebookT">FacebookT</a> auth m a</li><li class="src short"><a href="#v:runFacebookT">runFacebookT</a> :: <a href="Facebook.html#t:Credentials">Credentials</a> -&gt; <a href="file:///usr/share/doc/libghc-http-conduit-doc/html/Network-HTTP-Conduit.html#t:Manager">Manager</a> -&gt; <a href="Facebook.html#t:FacebookT">FacebookT</a> <a href="Facebook.html#t:Auth">Auth</a> m a -&gt; m a</li><li class="src short"><a href="#v:runNoAuthFacebookT">runNoAuthFacebookT</a> :: <a href="file:///usr/share/doc/libghc-http-conduit-doc/html/Network-HTTP-Conduit.html#t:Manager">Manager</a> -&gt; <a href="Facebook.html#t:FacebookT">FacebookT</a> <a href="Facebook.html#t:NoAuth">NoAuth</a> m a -&gt; m a</li><li class="src short"><a href="#v:mapFacebookT">mapFacebookT</a> :: (m a -&gt; n b) -&gt; <a href="Facebook.html#t:FacebookT">FacebookT</a> anyAuth m a -&gt; <a href="Facebook.html#t:FacebookT">FacebookT</a> anyAuth n b</li><li class="src short"><a href="#v:beta_runFacebookT">beta_runFacebookT</a> :: <a href="Facebook.html#t:Credentials">Credentials</a> -&gt; <a href="file:///usr/share/doc/libghc-http-conduit-doc/html/Network-HTTP-Conduit.html#t:Manager">Manager</a> -&gt; <a href="Facebook.html#t:FacebookT">FacebookT</a> <a href="Facebook.html#t:Auth">Auth</a> m a -&gt; m a</li><li class="src short"><a href="#v:beta_runNoAuthFacebookT">beta_runNoAuthFacebookT</a> :: <a href="file:///usr/share/doc/libghc-http-conduit-doc/html/Network-HTTP-Conduit.html#t:Manager">Manager</a> -&gt; <a href="Facebook.html#t:FacebookT">FacebookT</a> <a href="Facebook.html#t:NoAuth">NoAuth</a> m a -&gt; m a</li><li class="src short"><span class="keyword">data</span> <a href="#t:Auth">Auth</a></li><li class="src short"><span class="keyword">data</span> <a href="#t:NoAuth">NoAuth</a></li><li class="src short"><span class="keyword">data</span> <a href="#t:Credentials">Credentials</a> = <a href="#v:Credentials">Credentials</a> {<ul class="subs"><li><a href="#v:appName">appName</a> :: <a href="file:///usr/share/doc/libghc-text-doc/html/Data-Text.html#t:Text">Text</a></li><li><a href="#v:appId">appId</a> :: <a href="file:///usr/share/doc/libghc-text-doc/html/Data-Text.html#t:Text">Text</a></li><li><a href="#v:appSecret">appSecret</a> :: <a href="file:///usr/share/doc/libghc-text-doc/html/Data-Text.html#t:Text">Text</a></li></ul>}</li><li class="src short"><span class="keyword">data</span> <a href="#t:AccessToken">AccessToken</a> kind <span class="keyword">where</span><ul class="subs"><li><a href="#v:UserAccessToken">UserAccessToken</a> ::  <a href="Facebook.html#t:UserId">UserId</a> -&gt; <a href="Facebook.html#t:AccessTokenData">AccessTokenData</a> -&gt; <a href="file:///usr/share/doc/ghc-doc/html/libraries/time-1.5.0.1/Data-Time-Clock.html#t:UTCTime">UTCTime</a> -&gt; <a href="Facebook.html#t:AccessToken">AccessToken</a> <a href="Facebook.html#t:UserKind">UserKind</a></li><li><a href="#v:AppAccessToken">AppAccessToken</a> ::  <a href="Facebook.html#t:AccessTokenData">AccessTokenData</a> -&gt; <a href="Facebook.html#t:AccessToken">AccessToken</a> <a href="Facebook.html#t:AppKind">AppKind</a></li></ul></li><li class="src short"><span class="keyword">type</span> <a href="#t:UserAccessToken">UserAccessToken</a> = <a href="Facebook.html#t:AccessToken">AccessToken</a> <a href="Facebook.html#t:UserKind">UserKind</a></li><li class="src short"><span class="keyword">type</span> <a href="#t:AppAccessToken">AppAccessToken</a> = <a href="Facebook.html#t:AccessToken">AccessToken</a> <a href="Facebook.html#t:AppKind">AppKind</a></li><li class="src short"><span class="keyword">type</span> <a href="#t:AccessTokenData">AccessTokenData</a> = <a href="file:///usr/share/doc/libghc-text-doc/html/Data-Text.html#t:Text">Text</a></li><li class="src short"><a href="#v:hasExpired">hasExpired</a> :: (<a href="file:///usr/share/doc/ghc-doc/html/libraries/base-4.8.2.0/Data-Functor.html#t:Functor">Functor</a> m, <a href="file:///usr/share/doc/ghc-doc/html/libraries/transformers-0.4.2.0/Control-Monad-IO-Class.html#t:MonadIO">MonadIO</a> m) =&gt; <a href="Facebook.html#t:AccessToken">AccessToken</a> anyKind -&gt; m <a href="file:///usr/share/doc/ghc-doc/html/libraries/base-4.8.2.0/Data-Bool.html#t:Bool">Bool</a></li><li class="src short"><a href="#v:isValid">isValid</a> :: (<a href="file:///usr/share/doc/libghc-monad-control-doc/html/Control-Monad-Trans-Control.html#t:MonadBaseControl">MonadBaseControl</a> <a href="file:///usr/share/doc/ghc-doc/html/libraries/base-4.8.2.0/System-IO.html#t:IO">IO</a> m, <a href="file:///usr/share/doc/libghc-resourcet-doc/html/Control-Monad-Trans-Resource.html#t:MonadResource">MonadResource</a> m) =&gt; <a href="Facebook.html#t:AccessToken">AccessToken</a> anyKind -&gt; <a href="Facebook.html#t:FacebookT">FacebookT</a> anyAuth m <a href="file:///usr/share/doc/ghc-doc/html/libraries/base-4.8.2.0/Data-Bool.html#t:Bool">Bool</a></li><li class="src short"><span class="keyword">data</span> <a href="#t:AppKind">AppKind</a></li><li class="src short"><a href="#v:getAppAccessToken">getAppAccessToken</a> :: (<a href="file:///usr/share/doc/libghc-resourcet-doc/html/Control-Monad-Trans-Resource.html#t:MonadResource">MonadResource</a> m, <a href="file:///usr/share/doc/libghc-monad-control-doc/html/Control-Monad-Trans-Control.html#t:MonadBaseControl">MonadBaseControl</a> <a href="file:///usr/share/doc/ghc-doc/html/libraries/base-4.8.2.0/System-IO.html#t:IO">IO</a> m) =&gt; <a href="Facebook.html#t:FacebookT">FacebookT</a> <a href="Facebook.html#t:Auth">Auth</a> m <a href="Facebook.html#t:AppAccessToken">AppAccessToken</a></li><li class="src short"><span class="keyword">data</span> <a href="#t:UserKind">UserKind</a></li><li class="src short"><span class="keyword">type</span> <a href="#t:RedirectUrl">RedirectUrl</a> = <a href="file:///usr/share/doc/libghc-text-doc/html/Data-Text.html#t:Text">Text</a></li><li class="src short"><span class="keyword">data</span> <a href="#t:Permission">Permission</a></li><li class="src short"><a href="#v:getUserAccessTokenStep1">getUserAccessTokenStep1</a> :: <a href="file:///usr/share/doc/ghc-doc/html/libraries/base-4.8.2.0/Control-Monad.html#t:Monad">Monad</a> m =&gt; <a href="Facebook.html#t:RedirectUrl">RedirectUrl</a> -&gt; [<a href="Facebook.html#t:Permission">Permission</a>] -&gt; <a href="Facebook.html#t:FacebookT">FacebookT</a> <a href="Facebook.html#t:Auth">Auth</a> m <a href="file:///usr/share/doc/libghc-text-doc/html/Data-Text.html#t:Text">Text</a></li><li class="src short"><a href="#v:getUserAccessTokenStep2">getUserAccessTokenStep2</a> :: (<a href="file:///usr/share/doc/libghc-monad-control-doc/html/Control-Monad-Trans-Control.html#t:MonadBaseControl">MonadBaseControl</a> <a href="file:///usr/share/doc/ghc-doc/html/libraries/base-4.8.2.0/System-IO.html#t:IO">IO</a> m, <a href="file:///usr/share/doc/libghc-resourcet-doc/html/Control-Monad-Trans-Resource.html#t:MonadResource">MonadResource</a> m) =&gt; <a href="Facebook.html#t:RedirectUrl">RedirectUrl</a> -&gt; [<a href="Facebook.html#t:Argument">Argument</a>] -&gt; <a href="Facebook.html#t:FacebookT">FacebookT</a> <a href="Facebook.html#t:Auth">Auth</a> m <a href="Facebook.html#t:UserAccessToken">UserAccessToken</a></li><li class="src short"><a href="#v:getUserLogoutUrl">getUserLogoutUrl</a> :: <a href="file:///usr/share/doc/ghc-doc/html/libraries/base-4.8.2.0/Control-Monad.html#t:Monad">Monad</a> m =&gt; <a href="Facebook.html#t:UserAccessToken">UserAccessToken</a> -&gt; <a href="Facebook.html#t:RedirectUrl">RedirectUrl</a> -&gt; <a href="Facebook.html#t:FacebookT">FacebookT</a> <a href="Facebook.html#t:Auth">Auth</a> m <a href="file:///usr/share/doc/libghc-text-doc/html/Data-Text.html#t:Text">Text</a></li><li class="src short"><a href="#v:extendUserAccessToken">extendUserAccessToken</a> :: (<a href="file:///usr/share/doc/libghc-monad-control-doc/html/Control-Monad-Trans-Control.html#t:MonadBaseControl">MonadBaseControl</a> <a href="file:///usr/share/doc/ghc-doc/html/libraries/base-4.8.2.0/System-IO.html#t:IO">IO</a> m, <a href="file:///usr/share/doc/libghc-resourcet-doc/html/Control-Monad-Trans-Resource.html#t:MonadResource">MonadResource</a> m) =&gt; <a href="Facebook.html#t:UserAccessToken">UserAccessToken</a> -&gt; <a href="Facebook.html#t:FacebookT">FacebookT</a> <a href="Facebook.html#t:Auth">Auth</a> m (<a href="file:///usr/share/doc/ghc-doc/html/libraries/base-4.8.2.0/Data-Either.html#t:Either">Either</a> <a href="Facebook.html#t:FacebookException">FacebookException</a> <a href="Facebook.html#t:UserAccessToken">UserAccessToken</a>)</li><li class="src short"><a href="#v:debugToken">debugToken</a> :: (<a href="file:///usr/share/doc/libghc-monad-control-doc/html/Control-Monad-Trans-Control.html#t:MonadBaseControl">MonadBaseControl</a> <a href="file:///usr/share/doc/ghc-doc/html/libraries/base-4.8.2.0/System-IO.html#t:IO">IO</a> m, <a href="file:///usr/share/doc/libghc-resourcet-doc/html/Control-Monad-Trans-Resource.html#t:MonadResource">MonadResource</a> m) =&gt; <a href="Facebook.html#t:AppAccessToken">AppAccessToken</a> -&gt; <a href="Facebook.html#t:AccessTokenData">AccessTokenData</a> -&gt; <a href="Facebook.html#t:FacebookT">FacebookT</a> <a href="Facebook.html#t:Auth">Auth</a> m <a href="Facebook.html#t:DebugToken">DebugToken</a></li><li class="src short"><span class="keyword">data</span> <a href="#t:DebugToken">DebugToken</a> = <a href="#v:DebugToken">DebugToken</a> {<ul class="subs"><li><a href="#v:dtAppId">dtAppId</a> :: <a href="file:///usr/share/doc/ghc-doc/html/libraries/base-4.8.2.0/Data-Maybe.html#t:Maybe">Maybe</a> <a href="file:///usr/share/doc/libghc-text-doc/html/Data-Text.html#t:Text">Text</a></li><li><a href="#v:dtAppName">dtAppName</a> :: <a href="file:///usr/share/doc/ghc-doc/html/libraries/base-4.8.2.0/Data-Maybe.html#t:Maybe">Maybe</a> <a href="file:///usr/share/doc/libghc-text-doc/html/Data-Text.html#t:Text">Text</a></li><li><a href="#v:dtExpiresAt">dtExpiresAt</a> :: <a href="file:///usr/share/doc/ghc-doc/html/libraries/base-4.8.2.0/Data-Maybe.html#t:Maybe">Maybe</a> <a href="file:///usr/share/doc/ghc-doc/html/libraries/time-1.5.0.1/Data-Time-Clock.html#t:UTCTime">UTCTime</a></li><li><a href="#v:dtIsValid">dtIsValid</a> :: <a href="file:///usr/share/doc/ghc-doc/html/libraries/base-4.8.2.0/Data-Maybe.html#t:Maybe">Maybe</a> <a href="file:///usr/share/doc/ghc-doc/html/libraries/base-4.8.2.0/Data-Bool.html#t:Bool">Bool</a></li><li><a href="#v:dtIssuedAt">dtIssuedAt</a> :: <a href="file:///usr/share/doc/ghc-doc/html/libraries/base-4.8.2.0/Data-Maybe.html#t:Maybe">Maybe</a> <a href="file:///usr/share/doc/ghc-doc/html/libraries/time-1.5.0.1/Data-Time-Clock.html#t:UTCTime">UTCTime</a></li><li><a href="#v:dtScopes">dtScopes</a> :: <a href="file:///usr/share/doc/ghc-doc/html/libraries/base-4.8.2.0/Data-Maybe.html#t:Maybe">Maybe</a> [<a href="Facebook.html#t:Permission">Permission</a>]</li><li><a href="#v:dtUserId">dtUserId</a> :: <a href="file:///usr/share/doc/ghc-doc/html/libraries/base-4.8.2.0/Data-Maybe.html#t:Maybe">Maybe</a> <a href="Facebook.html#t:Id">Id</a></li><li><a href="#v:dtAccessToken">dtAccessToken</a> :: <a href="file:///usr/share/doc/ghc-doc/html/libraries/base-4.8.2.0/Data-Maybe.html#t:Maybe">Maybe</a> <a href="Facebook.html#t:UserAccessToken">UserAccessToken</a></li></ul>}</li><li class="src short"><a href="#v:parseSignedRequest">parseSignedRequest</a> :: (<a href="file:///usr/share/doc/libghc-aeson-doc/html/Data-Aeson-Types.html#t:FromJSON">FromJSON</a> a, <a href="file:///usr/share/doc/ghc-doc/html/libraries/base-4.8.2.0/Control-Monad.html#t:Monad">Monad</a> m) =&gt; <a href="file:///usr/share/doc/ghc-doc/html/libraries/bytestring-0.10.6.0/Data-ByteString.html#t:ByteString">ByteString</a> -&gt; <a href="Facebook.html#t:FacebookT">FacebookT</a> <a href="Facebook.html#t:Auth">Auth</a> m (<a href="file:///usr/share/doc/ghc-doc/html/libraries/base-4.8.2.0/Data-Maybe.html#t:Maybe">Maybe</a> a)</li><li class="src short"><span class="keyword">data</span> <a href="#t:User">User</a> = <a href="#v:User">User</a> {<ul class="subs"><li><a href="#v:userId">userId</a> :: <a href="Facebook.html#t:UserId">UserId</a></li><li><a href="#v:userName">userName</a> :: <a href="file:///usr/share/doc/ghc-doc/html/libraries/base-4.8.2.0/Data-Maybe.html#t:Maybe">Maybe</a> <a href="file:///usr/share/doc/libghc-text-doc/html/Data-Text.html#t:Text">Text</a></li><li><a href="#v:userFirstName">userFirstName</a> :: <a href="file:///usr/share/doc/ghc-doc/html/libraries/base-4.8.2.0/Data-Maybe.html#t:Maybe">Maybe</a> <a href="file:///usr/share/doc/libghc-text-doc/html/Data-Text.html#t:Text">Text</a></li><li><a href="#v:userMiddleName">userMiddleName</a> :: <a href="file:///usr/share/doc/ghc-doc/html/libraries/base-4.8.2.0/Data-Maybe.html#t:Maybe">Maybe</a> <a href="file:///usr/share/doc/libghc-text-doc/html/Data-Text.html#t:Text">Text</a></li><li><a href="#v:userLastName">userLastName</a> :: <a href="file:///usr/share/doc/ghc-doc/html/libraries/base-4.8.2.0/Data-Maybe.html#t:Maybe">Maybe</a> <a href="file:///usr/share/doc/libghc-text-doc/html/Data-Text.html#t:Text">Text</a></li><li><a href="#v:userGender">userGender</a> :: <a href="file:///usr/share/doc/ghc-doc/html/libraries/base-4.8.2.0/Data-Maybe.html#t:Maybe">Maybe</a> <a href="Facebook.html#t:Gender">Gender</a></li><li><a href="#v:userLocale">userLocale</a> :: <a href="file:///usr/share/doc/ghc-doc/html/libraries/base-4.8.2.0/Data-Maybe.html#t:Maybe">Maybe</a> <a href="file:///usr/share/doc/libghc-text-doc/html/Data-Text.html#t:Text">Text</a></li><li><a href="#v:userUsername">userUsername</a> :: <a href="file:///usr/share/doc/ghc-doc/html/libraries/base-4.8.2.0/Data-Maybe.html#t:Maybe">Maybe</a> <a href="file:///usr/share/doc/libghc-text-doc/html/Data-Text.html#t:Text">Text</a></li><li><a href="#v:userVerified">userVerified</a> :: <a href="file:///usr/share/doc/ghc-doc/html/libraries/base-4.8.2.0/Data-Maybe.html#t:Maybe">Maybe</a> <a href="file:///usr/share/doc/ghc-doc/html/libraries/base-4.8.2.0/Data-Bool.html#t:Bool">Bool</a></li><li><a href="#v:userEmail">userEmail</a> :: <a href="file:///usr/share/doc/ghc-doc/html/libraries/base-4.8.2.0/Data-Maybe.html#t:Maybe">Maybe</a> <a href="file:///usr/share/doc/libghc-text-doc/html/Data-Text.html#t:Text">Text</a></li><li><a href="#v:userLocation">userLocation</a> :: <a href="file:///usr/share/doc/ghc-doc/html/libraries/base-4.8.2.0/Data-Maybe.html#t:Maybe">Maybe</a> <a href="Facebook.html#t:Place">Place</a></li></ul>}</li><li class="src short"><span class="keyword">type</span> <a href="#t:UserId">UserId</a> = <a href="Facebook.html#t:Id">Id</a></li><li class="src short"><span class="keyword">data</span> <a href="#t:Gender">Gender</a><ul class="subs"><li>= <a href="#v:Male">Male</a></li><li>| <a href="#v:Female">Female</a></li></ul></li><li class="src short"><a href="#v:getUser">getUser</a> :: (<a href="file:///usr/share/doc/libghc-resourcet-doc/html/Control-Monad-Trans-Resource.html#t:MonadResource">MonadResource</a> m, <a href="file:///usr/share/doc/libghc-monad-control-doc/html/Control-Monad-Trans-Control.html#t:MonadBaseControl">MonadBaseControl</a> <a href="file:///usr/share/doc/ghc-doc/html/libraries/base-4.8.2.0/System-IO.html#t:IO">IO</a> m) =&gt; <a href="Facebook.html#t:UserId">UserId</a> -&gt; [<a href="Facebook.html#t:Argument">Argument</a>] -&gt; <a href="file:///usr/share/doc/ghc-doc/html/libraries/base-4.8.2.0/Data-Maybe.html#t:Maybe">Maybe</a> <a href="Facebook.html#t:UserAccessToken">UserAccessToken</a> -&gt; <a href="Facebook.html#t:FacebookT">FacebookT</a> anyAuth m <a href="Facebook.html#t:User">User</a></li><li class="src short"><a href="#v:searchUsers">searchUsers</a> :: (<a href="file:///usr/share/doc/libghc-resourcet-doc/html/Control-Monad-Trans-Resource.html#t:MonadResource">MonadResource</a> m, <a href="file:///usr/share/doc/libghc-monad-control-doc/html/Control-Monad-Trans-Control.html#t:MonadBaseControl">MonadBaseControl</a> <a href="file:///usr/share/doc/ghc-doc/html/libraries/base-4.8.2.0/System-IO.html#t:IO">IO</a> m) =&gt; <a href="file:///usr/share/doc/libghc-text-doc/html/Data-Text.html#t:Text">Text</a> -&gt; [<a href="Facebook.html#t:Argument">Argument</a>] -&gt; <a href="file:///usr/share/doc/ghc-doc/html/libraries/base-4.8.2.0/Data-Maybe.html#t:Maybe">Maybe</a> <a href="Facebook.html#t:UserAccessToken">UserAccessToken</a> -&gt; <a href="Facebook.html#t:FacebookT">FacebookT</a> anyAuth m (<a href="Facebook.html#t:Pager">Pager</a> <a href="Facebook.html#t:User">User</a>)</li><li class="src short"><a href="#v:getUserCheckins">getUserCheckins</a> :: (<a href="file:///usr/share/doc/libghc-resourcet-doc/html/Control-Monad-Trans-Resource.html#t:MonadResource">MonadResource</a> m, <a href="file:///usr/share/doc/libghc-monad-control-doc/html/Control-Monad-Trans-Control.html#t:MonadBaseControl">MonadBaseControl</a> <a href="file:///usr/share/doc/ghc-doc/html/libraries/base-4.8.2.0/System-IO.html#t:IO">IO</a> m) =&gt; <a href="Facebook.html#t:UserId">UserId</a> -&gt; [<a href="Facebook.html#t:Argument">Argument</a>] -&gt; <a href="Facebook.html#t:UserAccessToken">UserAccessToken</a> -&gt; <a href="Facebook.html#t:FacebookT">FacebookT</a> anyAuth m (<a href="Facebook.html#t:Pager">Pager</a> <a href="Facebook.html#t:Checkin">Checkin</a>)</li><li class="src short"><span class="keyword">data</span> <a href="#t:Friend">Friend</a> = <a href="#v:Friend">Friend</a> {<ul class="subs"><li><a href="#v:friendId">friendId</a> :: <a href="Facebook.html#t:UserId">UserId</a></li><li><a href="#v:friendName">friendName</a> :: <a href="file:///usr/share/doc/libghc-text-doc/html/Data-Text.html#t:Text">Text</a></li></ul>}</li><li class="src short"><a href="#v:getUserFriends">getUserFriends</a> :: (<a href="file:///usr/share/doc/libghc-resourcet-doc/html/Control-Monad-Trans-Resource.html#t:MonadResource">MonadResource</a> m, <a href="file:///usr/share/doc/libghc-monad-control-doc/html/Control-Monad-Trans-Control.html#t:MonadBaseControl">MonadBaseControl</a> <a href="file:///usr/share/doc/ghc-doc/html/libraries/base-4.8.2.0/System-IO.html#t:IO">IO</a> m) =&gt; <a href="Facebook.html#t:UserId">UserId</a> -&gt; [<a href="Facebook.html#t:Argument">Argument</a>] -&gt; <a href="Facebook.html#t:UserAccessToken">UserAccessToken</a> -&gt; <a href="Facebook.html#t:FacebookT">FacebookT</a> anyAuth m (<a href="Facebook.html#t:Pager">Pager</a> <a href="Facebook.html#t:Friend">Friend</a>)</li><li class="src short"><a href="#v:getUserFriendLists">getUserFriendLists</a> :: (<a href="file:///usr/share/doc/libghc-resourcet-doc/html/Control-Monad-Trans-Resource.html#t:MonadResource">MonadResource</a> m, <a href="file:///usr/share/doc/libghc-monad-control-doc/html/Control-Monad-Trans-Control.html#t:MonadBaseControl">MonadBaseControl</a> <a href="file:///usr/share/doc/ghc-doc/html/libraries/base-4.8.2.0/System-IO.html#t:IO">IO</a> m) =&gt; <a href="Facebook.html#t:UserId">UserId</a> -&gt; [<a href="Facebook.html#t:Argument">Argument</a>] -&gt; <a href="Facebook.html#t:UserAccessToken">UserAccessToken</a> -&gt; <a href="Facebook.html#t:FacebookT">FacebookT</a> anyAuth m (<a href="Facebook.html#t:Pager">Pager</a> <a href="Facebook.html#t:FriendList">FriendList</a>)</li><li class="src short"><span class="keyword">data</span> <a href="#t:Page">Page</a> = <a href="#v:Page">Page</a> {<ul class="subs"><li><a href="#v:pageId">pageId</a> :: <a href="Facebook.html#t:Id">Id</a></li><li><a href="#v:pageName">pageName</a> :: <a href="file:///usr/share/doc/ghc-doc/html/libraries/base-4.8.2.0/Data-Maybe.html#t:Maybe">Maybe</a> <a href="file:///usr/share/doc/libghc-text-doc/html/Data-Text.html#t:Text">Text</a></li><li><a href="#v:pageLink">pageLink</a> :: <a href="file:///usr/share/doc/ghc-doc/html/libraries/base-4.8.2.0/Data-Maybe.html#t:Maybe">Maybe</a> <a href="file:///usr/share/doc/libghc-text-doc/html/Data-Text.html#t:Text">Text</a></li><li><a href="#v:pageCategory">pageCategory</a> :: <a href="file:///usr/share/doc/ghc-doc/html/libraries/base-4.8.2.0/Data-Maybe.html#t:Maybe">Maybe</a> <a href="file:///usr/share/doc/libghc-text-doc/html/Data-Text.html#t:Text">Text</a></li><li><a href="#v:pageIsPublished">pageIsPublished</a> :: <a href="file:///usr/share/doc/ghc-doc/html/libraries/base-4.8.2.0/Data-Maybe.html#t:Maybe">Maybe</a> <a href="file:///usr/share/doc/ghc-doc/html/libraries/base-4.8.2.0/Data-Bool.html#t:Bool">Bool</a></li><li><a href="#v:pageCanPost">pageCanPost</a> :: <a href="file:///usr/share/doc/ghc-doc/html/libraries/base-4.8.2.0/Data-Maybe.html#t:Maybe">Maybe</a> <a href="file:///usr/share/doc/ghc-doc/html/libraries/base-4.8.2.0/Data-Bool.html#t:Bool">Bool</a></li><li><a href="#v:pageLikes">pageLikes</a> :: <a href="file:///usr/share/doc/ghc-doc/html/libraries/base-4.8.2.0/Data-Maybe.html#t:Maybe">Maybe</a> <a href="file:///usr/share/doc/ghc-doc/html/libraries/base-4.8.2.0/Prelude.html#t:Integer">Integer</a></li><li><a href="#v:pageLocation">pageLocation</a> :: <a href="file:///usr/share/doc/ghc-doc/html/libraries/base-4.8.2.0/Data-Maybe.html#t:Maybe">Maybe</a> <a href="Facebook.html#t:Location">Location</a></li><li><a href="#v:pagePhone">pagePhone</a> :: <a href="file:///usr/share/doc/ghc-doc/html/libraries/base-4.8.2.0/Data-Maybe.html#t:Maybe">Maybe</a> <a href="file:///usr/share/doc/libghc-text-doc/html/Data-Text.html#t:Text">Text</a></li><li><a href="#v:pageCheckins">pageCheckins</a> :: <a href="file:///usr/share/doc/ghc-doc/html/libraries/base-4.8.2.0/Data-Maybe.html#t:Maybe">Maybe</a> <a href="file:///usr/share/doc/ghc-doc/html/libraries/base-4.8.2.0/Prelude.html#t:Integer">Integer</a></li><li><a href="#v:pagePicture">pagePicture</a> :: <a href="file:///usr/share/doc/ghc-doc/html/libraries/base-4.8.2.0/Data-Maybe.html#t:Maybe">Maybe</a> <a href="file:///usr/share/doc/libghc-text-doc/html/Data-Text.html#t:Text">Text</a></li><li><a href="#v:pageWebsite">pageWebsite</a> :: <a href="file:///usr/share/doc/ghc-doc/html/libraries/base-4.8.2.0/Data-Maybe.html#t:Maybe">Maybe</a> <a href="file:///usr/share/doc/libghc-text-doc/html/Data-Text.html#t:Text">Text</a></li><li><a href="#v:pageTalkingAboutCount">pageTalkingAboutCount</a> :: <a href="file:///usr/share/doc/ghc-doc/html/libraries/base-4.8.2.0/Data-Maybe.html#t:Maybe">Maybe</a> <a href="file:///usr/share/doc/ghc-doc/html/libraries/base-4.8.2.0/Prelude.html#t:Integer">Integer</a></li></ul>}</li><li class="src short"><a href="#v:getPage">getPage</a> :: (<a href="file:///usr/share/doc/libghc-resourcet-doc/html/Control-Monad-Trans-Resource.html#t:MonadResource">MonadResource</a> m, <a href="file:///usr/share/doc/libghc-monad-control-doc/html/Control-Monad-Trans-Control.html#t:MonadBaseControl">MonadBaseControl</a> <a href="file:///usr/share/doc/ghc-doc/html/libraries/base-4.8.2.0/System-IO.html#t:IO">IO</a> m) =&gt; <a href="Facebook.html#t:Id">Id</a> -&gt; [<a href="Facebook.html#t:Argument">Argument</a>] -&gt; <a href="file:///usr/share/doc/ghc-doc/html/libraries/base-4.8.2.0/Data-Maybe.html#t:Maybe">Maybe</a> <a href="Facebook.html#t:UserAccessToken">UserAccessToken</a> -&gt; <a href="Facebook.html#t:FacebookT">FacebookT</a> anyAuth m <a href="Facebook.html#t:Page">Page</a></li><li class="src short"><a href="#v:searchPages">searchPages</a> :: (<a href="file:///usr/share/doc/libghc-resourcet-doc/html/Control-Monad-Trans-Resource.html#t:MonadResource">MonadResource</a> m, <a href="file:///usr/share/doc/libghc-monad-control-doc/html/Control-Monad-Trans-Control.html#t:MonadBaseControl">MonadBaseControl</a> <a href="file:///usr/share/doc/ghc-doc/html/libraries/base-4.8.2.0/System-IO.html#t:IO">IO</a> m) =&gt; <a href="file:///usr/share/doc/libghc-text-doc/html/Data-Text.html#t:Text">Text</a> -&gt; [<a href="Facebook.html#t:Argument">Argument</a>] -&gt; <a href="file:///usr/share/doc/ghc-doc/html/libraries/base-4.8.2.0/Data-Maybe.html#t:Maybe">Maybe</a> <a href="Facebook.html#t:UserAccessToken">UserAccessToken</a> -&gt; <a href="Facebook.html#t:FacebookT">FacebookT</a> anyAuth m (<a href="Facebook.html#t:Pager">Pager</a> <a href="Facebook.html#t:Page">Page</a>)</li><li class="src short"><span class="keyword">data</span> <a href="#t:Action">Action</a></li><li class="src short"><a href="#v:createAction">createAction</a> :: (<a href="file:///usr/share/doc/libghc-resourcet-doc/html/Control-Monad-Trans-Resource.html#t:MonadResource">MonadResource</a> m, <a href="file:///usr/share/doc/libghc-monad-control-doc/html/Control-Monad-Trans-Control.html#t:MonadBaseControl">MonadBaseControl</a> <a href="file:///usr/share/doc/ghc-doc/html/libraries/base-4.8.2.0/System-IO.html#t:IO">IO</a> m) =&gt; <a href="Facebook.html#t:Action">Action</a> -&gt; [<a href="Facebook.html#t:Argument">Argument</a>] -&gt; <a href="file:///usr/share/doc/ghc-doc/html/libraries/base-4.8.2.0/Data-Maybe.html#t:Maybe">Maybe</a> <a href="Facebook.html#t:AppAccessToken">AppAccessToken</a> -&gt; <a href="Facebook.html#t:UserAccessToken">UserAccessToken</a> -&gt; <a href="Facebook.html#t:FacebookT">FacebookT</a> <a href="Facebook.html#t:Auth">Auth</a> m <a href="Facebook.html#t:Id">Id</a></li><li class="src short"><span class="keyword">data</span> <a href="#t:Checkin">Checkin</a> = <a href="#v:Checkin">Checkin</a> {<ul class="subs"><li><a href="#v:checkinId">checkinId</a> :: <a href="Facebook.html#t:Id">Id</a></li><li><a href="#v:checkinFrom">checkinFrom</a> :: <a href="file:///usr/share/doc/ghc-doc/html/libraries/base-4.8.2.0/Data-Maybe.html#t:Maybe">Maybe</a> <a href="Facebook.html#t:CheckinFrom">CheckinFrom</a></li><li><a href="#v:checkinPlace">checkinPlace</a> :: <a href="file:///usr/share/doc/ghc-doc/html/libraries/base-4.8.2.0/Data-Maybe.html#t:Maybe">Maybe</a> <a href="Facebook.html#t:Place">Place</a></li><li><a href="#v:checkinCreatedTime">checkinCreatedTime</a> :: <a href="file:///usr/share/doc/ghc-doc/html/libraries/base-4.8.2.0/Data-Maybe.html#t:Maybe">Maybe</a> <a href="file:///usr/share/doc/ghc-doc/html/libraries/time-1.5.0.1/Data-Time-Clock.html#t:UTCTime">UTCTime</a></li><li><a href="#v:checkinTags">checkinTags</a> :: <a href="file:///usr/share/doc/ghc-doc/html/libraries/base-4.8.2.0/Data-Maybe.html#t:Maybe">Maybe</a> (<a href="Facebook.html#t:Pager">Pager</a> <a href="Facebook.html#t:Tag">Tag</a>)</li><li><a href="#v:checkinMessage">checkinMessage</a> :: <a href="file:///usr/share/doc/ghc-doc/html/libraries/base-4.8.2.0/Data-Maybe.html#t:Maybe">Maybe</a> <a href="file:///usr/share/doc/libghc-text-doc/html/Data-Text.html#t:Text">Text</a></li></ul>}</li><li class="src short"><span class="keyword">data</span> <a href="#t:CheckinFrom">CheckinFrom</a> = <a href="#v:CheckinFrom">CheckinFrom</a> {<ul class="subs"><li><a href="#v:checkinFromId">checkinFromId</a> :: <a href="Facebook.html#t:UserId">UserId</a></li><li><a href="#v:checkinFromName">checkinFromName</a> :: <a href="file:///usr/share/doc/libghc-text-doc/html/Data-Text.html#t:Text">Text</a></li></ul>}</li><li class="src short"><a href="#v:getCheckin">getCheckin</a> :: (<a href="file:///usr/share/doc/libghc-resourcet-doc/html/Control-Monad-Trans-Resource.html#t:MonadResource">MonadResource</a> m, <a href="file:///usr/share/doc/libghc-monad-control-doc/html/Control-Monad-Trans-Control.html#t:MonadBaseControl">MonadBaseControl</a> <a href="file:///usr/share/doc/ghc-doc/html/libraries/base-4.8.2.0/System-IO.html#t:IO">IO</a> m) =&gt; <a href="Facebook.html#t:Id">Id</a> -&gt; [<a href="Facebook.html#t:Argument">Argument</a>] -&gt; <a href="file:///usr/share/doc/ghc-doc/html/libraries/base-4.8.2.0/Data-Maybe.html#t:Maybe">Maybe</a> <a href="Facebook.html#t:UserAccessToken">UserAccessToken</a> -&gt; <a href="Facebook.html#t:FacebookT">FacebookT</a> anyAuth m <a href="Facebook.html#t:Checkin">Checkin</a></li><li class="src short"><a href="#v:createCheckin">createCheckin</a> :: (<a href="file:///usr/share/doc/libghc-resourcet-doc/html/Control-Monad-Trans-Resource.html#t:MonadResource">MonadResource</a> m, <a href="file:///usr/share/doc/libghc-monad-control-doc/html/Control-Monad-Trans-Control.html#t:MonadBaseControl">MonadBaseControl</a> <a href="file:///usr/share/doc/ghc-doc/html/libraries/base-4.8.2.0/System-IO.html#t:IO">IO</a> m) =&gt; <a href="Facebook.html#t:Id">Id</a> -&gt; <a href="Facebook.html#t:GeoCoordinates">GeoCoordinates</a> -&gt; [<a href="Facebook.html#t:Argument">Argument</a>] -&gt; <a href="Facebook.html#t:UserAccessToken">UserAccessToken</a> -&gt; <a href="Facebook.html#t:FacebookT">FacebookT</a> <a href="Facebook.html#t:Auth">Auth</a> m <a href="Facebook.html#t:Id">Id</a></li><li class="src short"><span class="keyword">data</span> <a href="#t:Order">Order</a> = <a href="#v:Order">Order</a> {<ul class="subs"><li><a href="#v:orderId">orderId</a> :: <a href="Facebook.html#t:OrderId">OrderId</a></li><li><a href="#v:orderFrom">orderFrom</a> :: <a href="Facebook.html#t:UserId">UserId</a></li><li><a href="#v:orderTo">orderTo</a> :: <a href="Facebook.html#t:UserId">UserId</a></li><li><a href="#v:orderAmount">orderAmount</a> :: <a href="file:///usr/share/doc/ghc-doc/html/libraries/base-4.8.2.0/Prelude.html#t:Integer">Integer</a></li><li><a href="#v:orderStatus">orderStatus</a> :: <a href="Facebook.html#t:OrderStatus">OrderStatus</a></li><li><a href="#v:orderApplication">orderApplication</a> :: <a href="Facebook.html#t:OrderApplication">OrderApplication</a></li><li><a href="#v:orderCountry">orderCountry</a> :: <a href="file:///usr/share/doc/libghc-text-doc/html/Data-Text.html#t:Text">Text</a></li><li><a href="#v:orderRefundCode">orderRefundCode</a> :: <a href="file:///usr/share/doc/ghc-doc/html/libraries/base-4.8.2.0/Data-Maybe.html#t:Maybe">Maybe</a> <a href="file:///usr/share/doc/libghc-text-doc/html/Data-Text.html#t:Text">Text</a></li><li><a href="#v:orderCreatedTime">orderCreatedTime</a> :: <a href="file:///usr/share/doc/ghc-doc/html/libraries/time-1.5.0.1/Data-Time-LocalTime.html#t:ZonedTime">ZonedTime</a></li><li><a href="#v:orderUpdatedTime">orderUpdatedTime</a> :: <a href="file:///usr/share/doc/ghc-doc/html/libraries/time-1.5.0.1/Data-Time-LocalTime.html#t:ZonedTime">ZonedTime</a></li></ul>}</li><li class="src short"><span class="keyword">type</span> <a href="#t:OrderId">OrderId</a> = <a href="Facebook.html#t:Id">Id</a></li><li class="src short"><span class="keyword">data</span> <a href="#t:OrderApplication">OrderApplication</a></li><li class="src short"><span class="keyword">data</span> <a href="#t:OrderStatus">OrderStatus</a></li><li class="src short"><a href="#v:getOrder">getOrder</a> :: (<a href="file:///usr/share/doc/libghc-resourcet-doc/html/Control-Monad-Trans-Resource.html#t:MonadResource">MonadResource</a> m, <a href="file:///usr/share/doc/libghc-monad-control-doc/html/Control-Monad-Trans-Control.html#t:MonadBaseControl">MonadBaseControl</a> <a href="file:///usr/share/doc/ghc-doc/html/libraries/base-4.8.2.0/System-IO.html#t:IO">IO</a> m) =&gt; <a href="Facebook.html#t:OrderId">OrderId</a> -&gt; <a href="Facebook.html#t:UserAccessToken">UserAccessToken</a> -&gt; <a href="Facebook.html#t:FacebookT">FacebookT</a> anyAuth m <a href="Facebook.html#t:Order">Order</a></li><li class="src short"><span class="keyword">data</span> <a href="#t:FriendList">FriendList</a> = <a href="#v:FriendList">FriendList</a> {<ul class="subs"><li><a href="#v:friendListId">friendListId</a> :: <a href="Facebook.html#t:Id">Id</a></li><li><a href="#v:friendListName">friendListName</a> :: <a href="file:///usr/share/doc/libghc-text-doc/html/Data-Text.html#t:Text">Text</a></li><li><a href="#v:friendListType">friendListType</a> :: <a href="Facebook.html#t:FriendListType">FriendListType</a></li></ul>}</li><li class="src short"><span class="keyword">data</span> <a href="#t:FriendListType">FriendListType</a><ul class="subs"><li>= <a href="#v:CloseFriendsList">CloseFriendsList</a></li><li>| <a href="#v:AcquaintancesList">AcquaintancesList</a></li><li>| <a href="#v:RestrictedList">RestrictedList</a></li><li>| <a href="#v:UserCreatedList">UserCreatedList</a></li><li>| <a href="#v:EducationList">EducationList</a></li><li>| <a href="#v:WorkList">WorkList</a></li><li>| <a href="#v:CurrentCityList">CurrentCityList</a></li><li>| <a href="#v:FamilyList">FamilyList</a></li></ul></li><li class="src short"><a href="#v:getFriendListMembers">getFriendListMembers</a> :: (<a href="file:///usr/share/doc/libghc-resourcet-doc/html/Control-Monad-Trans-Resource.html#t:MonadResource">MonadResource</a> m, <a href="file:///usr/share/doc/libghc-monad-control-doc/html/Control-Monad-Trans-Control.html#t:MonadBaseControl">MonadBaseControl</a> <a href="file:///usr/share/doc/ghc-doc/html/libraries/base-4.8.2.0/System-IO.html#t:IO">IO</a> m) =&gt; <a href="Facebook.html#t:Id">Id</a> -&gt; [<a href="Facebook.html#t:Argument">Argument</a>] -&gt; <a href="Facebook.html#t:UserAccessToken">UserAccessToken</a> -&gt; <a href="Facebook.html#t:FacebookT">FacebookT</a> anyAuth m (<a href="Facebook.html#t:Pager">Pager</a> <a href="Facebook.html#t:Friend">Friend</a>)</li><li class="src short"><a href="#v:-35--61-">(#=)</a> :: <a href="Facebook.html#t:SimpleType">SimpleType</a> a =&gt; <a href="file:///usr/share/doc/ghc-doc/html/libraries/bytestring-0.10.6.0/Data-ByteString.html#t:ByteString">ByteString</a> -&gt; a -&gt; <a href="Facebook.html#t:Argument">Argument</a></li><li class="src short"><span class="keyword">class</span> <a href="#t:SimpleType">SimpleType</a> a <span class="keyword">where</span><ul class="subs"><li><a href="#v:encodeFbParam">encodeFbParam</a> :: a -&gt; <a href="file:///usr/share/doc/ghc-doc/html/libraries/bytestring-0.10.6.0/Data-ByteString.html#t:ByteString">ByteString</a></li></ul></li><li class="src short"><span class="keyword">newtype</span> <a href="#t:FbUTCTime">FbUTCTime</a> = <a href="#v:FbUTCTime">FbUTCTime</a> {<ul class="subs"><li><a href="#v:unFbUTCTime">unFbUTCTime</a> :: <a href="file:///usr/share/doc/ghc-doc/html/libraries/time-1.5.0.1/Data-Time-Clock.html#t:UTCTime">UTCTime</a></li></ul>}</li><li class="src short"><span class="keyword">data</span> <a href="#t:Place">Place</a> = <a href="#v:Place">Place</a> {<ul class="subs"><li><a href="#v:placeId">placeId</a> :: <a href="Facebook.html#t:Id">Id</a></li><li><a href="#v:placeName">placeName</a> :: <a href="file:///usr/share/doc/ghc-doc/html/libraries/base-4.8.2.0/Data-Maybe.html#t:Maybe">Maybe</a> <a href="file:///usr/share/doc/libghc-text-doc/html/Data-Text.html#t:Text">Text</a></li><li><a href="#v:placeLocation">placeLocation</a> :: <a href="file:///usr/share/doc/ghc-doc/html/libraries/base-4.8.2.0/Data-Maybe.html#t:Maybe">Maybe</a> <a href="Facebook.html#t:Location">Location</a></li></ul>}</li><li class="src short"><span class="keyword">data</span> <a href="#t:Location">Location</a> = <a href="#v:Location">Location</a> {<ul class="subs"><li><a href="#v:locationStreet">locationStreet</a> :: <a href="file:///usr/share/doc/ghc-doc/html/libraries/base-4.8.2.0/Data-Maybe.html#t:Maybe">Maybe</a> <a href="file:///usr/share/doc/libghc-text-doc/html/Data-Text.html#t:Text">Text</a></li><li><a href="#v:locationCity">locationCity</a> :: <a href="file:///usr/share/doc/ghc-doc/html/libraries/base-4.8.2.0/Data-Maybe.html#t:Maybe">Maybe</a> <a href="file:///usr/share/doc/libghc-text-doc/html/Data-Text.html#t:Text">Text</a></li><li><a href="#v:locationState">locationState</a> :: <a href="file:///usr/share/doc/ghc-doc/html/libraries/base-4.8.2.0/Data-Maybe.html#t:Maybe">Maybe</a> <a href="file:///usr/share/doc/libghc-text-doc/html/Data-Text.html#t:Text">Text</a></li><li><a href="#v:locationCountry">locationCountry</a> :: <a href="file:///usr/share/doc/ghc-doc/html/libraries/base-4.8.2.0/Data-Maybe.html#t:Maybe">Maybe</a> <a href="file:///usr/share/doc/libghc-text-doc/html/Data-Text.html#t:Text">Text</a></li><li><a href="#v:locationZip">locationZip</a> :: <a href="file:///usr/share/doc/ghc-doc/html/libraries/base-4.8.2.0/Data-Maybe.html#t:Maybe">Maybe</a> <a href="file:///usr/share/doc/libghc-text-doc/html/Data-Text.html#t:Text">Text</a></li><li><a href="#v:locationCoords">locationCoords</a> :: <a href="file:///usr/share/doc/ghc-doc/html/libraries/base-4.8.2.0/Data-Maybe.html#t:Maybe">Maybe</a> <a href="Facebook.html#t:GeoCoordinates">GeoCoordinates</a></li></ul>}</li><li class="src short"><span class="keyword">data</span> <a href="#t:GeoCoordinates">GeoCoordinates</a> = <a href="#v:GeoCoordinates">GeoCoordinates</a> {<ul class="subs"><li><a href="#v:latitude">latitude</a> :: !<a href="file:///usr/share/doc/ghc-doc/html/libraries/base-4.8.2.0/Prelude.html#t:Double">Double</a></li><li><a href="#v:longitude">longitude</a> :: !<a href="file:///usr/share/doc/ghc-doc/html/libraries/base-4.8.2.0/Prelude.html#t:Double">Double</a></li></ul>}</li><li class="src short"><span class="keyword">data</span> <a href="#t:Tag">Tag</a> = <a href="#v:Tag">Tag</a> {<ul class="subs"><li><a href="#v:tagId">tagId</a> :: <a href="Facebook.html#t:Id">Id</a></li><li><a href="#v:tagName">tagName</a> :: <a href="file:///usr/share/doc/libghc-text-doc/html/Data-Text.html#t:Text">Text</a></li></ul>}</li><li class="src short"><span class="keyword">data</span> <a href="#t:Pager">Pager</a> a = <a href="#v:Pager">Pager</a> {<ul class="subs"><li><a href="#v:pagerData">pagerData</a> :: [a]</li><li><a href="#v:pagerPrevious">pagerPrevious</a> :: <a href="file:///usr/share/doc/ghc-doc/html/libraries/base-4.8.2.0/Data-Maybe.html#t:Maybe">Maybe</a> <a href="file:///usr/share/doc/ghc-doc/html/libraries/base-4.8.2.0/Data-String.html#t:String">String</a></li><li><a href="#v:pagerNext">pagerNext</a> :: <a href="file:///usr/share/doc/ghc-doc/html/libraries/base-4.8.2.0/Data-Maybe.html#t:Maybe">Maybe</a> <a href="file:///usr/share/doc/ghc-doc/html/libraries/base-4.8.2.0/Data-String.html#t:String">String</a></li></ul>}</li><li class="src short"><a href="#v:fetchNextPage">fetchNextPage</a> :: (<a href="file:///usr/share/doc/libghc-resourcet-doc/html/Control-Monad-Trans-Resource.html#t:MonadResource">MonadResource</a> m, <a href="file:///usr/share/doc/libghc-monad-control-doc/html/Control-Monad-Trans-Control.html#t:MonadBaseControl">MonadBaseControl</a> <a href="file:///usr/share/doc/ghc-doc/html/libraries/base-4.8.2.0/System-IO.html#t:IO">IO</a> m, <a href="file:///usr/share/doc/libghc-aeson-doc/html/Data-Aeson-Types.html#t:FromJSON">FromJSON</a> a) =&gt; <a href="Facebook.html#t:Pager">Pager</a> a -&gt; <a href="Facebook.html#t:FacebookT">FacebookT</a> anyAuth m (<a href="file:///usr/share/doc/ghc-doc/html/libraries/base-4.8.2.0/Data-Maybe.html#t:Maybe">Maybe</a> (<a href="Facebook.html#t:Pager">Pager</a> a))</li><li class="src short"><a href="#v:fetchPreviousPage">fetchPreviousPage</a> :: (<a href="file:///usr/share/doc/libghc-resourcet-doc/html/Control-Monad-Trans-Resource.html#t:MonadResource">MonadResource</a> m, <a href="file:///usr/share/doc/libghc-monad-control-doc/html/Control-Monad-Trans-Control.html#t:MonadBaseControl">MonadBaseControl</a> <a href="file:///usr/share/doc/ghc-doc/html/libraries/base-4.8.2.0/System-IO.html#t:IO">IO</a> m, <a href="file:///usr/share/doc/libghc-aeson-doc/html/Data-Aeson-Types.html#t:FromJSON">FromJSON</a> a) =&gt; <a href="Facebook.html#t:Pager">Pager</a> a -&gt; <a href="Facebook.html#t:FacebookT">FacebookT</a> anyAuth m (<a href="file:///usr/share/doc/ghc-doc/html/libraries/base-4.8.2.0/Data-Maybe.html#t:Maybe">Maybe</a> (<a href="Facebook.html#t:Pager">Pager</a> a))</li><li class="src short"><a href="#v:fetchAllNextPages">fetchAllNextPages</a> :: (<a href="file:///usr/share/doc/ghc-doc/html/libraries/base-4.8.2.0/Control-Monad.html#t:Monad">Monad</a> m, <a href="file:///usr/share/doc/libghc-resourcet-doc/html/Control-Monad-Trans-Resource.html#t:MonadResourceBase">MonadResourceBase</a> n, <a href="file:///usr/share/doc/libghc-aeson-doc/html/Data-Aeson-Types.html#t:FromJSON">FromJSON</a> a) =&gt; <a href="Facebook.html#t:Pager">Pager</a> a -&gt; <a href="Facebook.html#t:FacebookT">FacebookT</a> anyAuth m (<a href="file:///usr/share/doc/libghc-conduit-doc/html/Data-Conduit.html#t:Source">Source</a> n a)</li><li class="src short"><a href="#v:fetchAllPreviousPages">fetchAllPreviousPages</a> :: (<a href="file:///usr/share/doc/ghc-doc/html/libraries/base-4.8.2.0/Control-Monad.html#t:Monad">Monad</a> m, <a href="file:///usr/share/doc/libghc-resourcet-doc/html/Control-Monad-Trans-Resource.html#t:MonadResourceBase">MonadResourceBase</a> n, <a href="file:///usr/share/doc/libghc-aeson-doc/html/Data-Aeson-Types.html#t:FromJSON">FromJSON</a> a) =&gt; <a href="Facebook.html#t:Pager">Pager</a> a -&gt; <a href="Facebook.html#t:FacebookT">FacebookT</a> anyAuth m (<a href="file:///usr/share/doc/libghc-conduit-doc/html/Data-Conduit.html#t:Source">Source</a> n a)</li><li class="src short"><a href="#v:modifySubscription">modifySubscription</a> :: (<a href="file:///usr/share/doc/libghc-resourcet-doc/html/Control-Monad-Trans-Resource.html#t:MonadResource">MonadResource</a> m, <a href="file:///usr/share/doc/libghc-monad-control-doc/html/Control-Monad-Trans-Control.html#t:MonadBaseControl">MonadBaseControl</a> <a href="file:///usr/share/doc/ghc-doc/html/libraries/base-4.8.2.0/System-IO.html#t:IO">IO</a> m) =&gt; <a href="Facebook.html#t:RealTimeUpdateObject">RealTimeUpdateObject</a> -&gt; [<a href="Facebook.html#t:RealTimeUpdateField">RealTimeUpdateField</a>] -&gt; <a href="Facebook.html#t:RealTimeUpdateUrl">RealTimeUpdateUrl</a> -&gt; <a href="Facebook.html#t:RealTimeUpdateToken">RealTimeUpdateToken</a> -&gt; <a href="Facebook.html#t:AppAccessToken">AppAccessToken</a> -&gt; <a href="Facebook.html#t:FacebookT">FacebookT</a> <a href="Facebook.html#t:Auth">Auth</a> m ()</li><li class="src short"><a href="#v:listSubscriptions">listSubscriptions</a> :: (<a href="file:///usr/share/doc/libghc-resourcet-doc/html/Control-Monad-Trans-Resource.html#t:MonadResource">MonadResource</a> m, <a href="file:///usr/share/doc/libghc-monad-control-doc/html/Control-Monad-Trans-Control.html#t:MonadBaseControl">MonadBaseControl</a> <a href="file:///usr/share/doc/ghc-doc/html/libraries/base-4.8.2.0/System-IO.html#t:IO">IO</a> m) =&gt; <a href="Facebook.html#t:AppAccessToken">AppAccessToken</a> -&gt; <a href="Facebook.html#t:FacebookT">FacebookT</a> <a href="Facebook.html#t:Auth">Auth</a> m [<a href="Facebook.html#t:RealTimeUpdateSubscription">RealTimeUpdateSubscription</a>]</li><li class="src short"><span class="keyword">data</span> <a href="#t:RealTimeUpdateObject">RealTimeUpdateObject</a><ul class="subs"><li>= <a href="#v:UserRTUO">UserRTUO</a></li><li>| <a href="#v:PermissionsRTUO">PermissionsRTUO</a></li><li>| <a href="#v:PageRTUO">PageRTUO</a></li><li>| <a href="#v:ErrorsRTUO">ErrorsRTUO</a></li><li>| <a href="#v:OtherRTUO">OtherRTUO</a> <a href="file:///usr/share/doc/libghc-text-doc/html/Data-Text.html#t:Text">Text</a></li></ul></li><li class="src short"><span class="keyword">type</span> <a href="#t:RealTimeUpdateField">RealTimeUpdateField</a> = <a href="file:///usr/share/doc/ghc-doc/html/libraries/bytestring-0.10.6.0/Data-ByteString.html#t:ByteString">ByteString</a></li><li class="src short"><span class="keyword">type</span> <a href="#t:RealTimeUpdateUrl">RealTimeUpdateUrl</a> = <a href="file:///usr/share/doc/libghc-text-doc/html/Data-Text.html#t:Text">Text</a></li><li class="src short"><span class="keyword">type</span> <a href="#t:RealTimeUpdateToken">RealTimeUpdateToken</a> = <a href="file:///usr/share/doc/ghc-doc/html/libraries/bytestring-0.10.6.0/Data-ByteString.html#t:ByteString">ByteString</a></li><li class="src short"><span class="keyword">data</span> <a href="#t:RealTimeUpdateSubscription">RealTimeUpdateSubscription</a> = <a href="#v:RealTimeUpdateSubscription">RealTimeUpdateSubscription</a> {<ul class="subs"><li><a href="#v:rtusObject">rtusObject</a> :: <a href="Facebook.html#t:RealTimeUpdateObject">RealTimeUpdateObject</a></li><li><a href="#v:rtusCallbackUrl">rtusCallbackUrl</a> :: <a href="Facebook.html#t:RealTimeUpdateUrl">RealTimeUpdateUrl</a></li><li><a href="#v:rtusFields">rtusFields</a> :: [<a href="Facebook.html#t:RealTimeUpdateField">RealTimeUpdateField</a>]</li><li><a href="#v:rtusActive">rtusActive</a> :: <a href="file:///usr/share/doc/ghc-doc/html/libraries/base-4.8.2.0/Data-Bool.html#t:Bool">Bool</a></li></ul>}</li><li class="src short"><a href="#v:verifyRealTimeUpdateNotifications">verifyRealTimeUpdateNotifications</a> :: <a href="file:///usr/share/doc/ghc-doc/html/libraries/base-4.8.2.0/Control-Monad.html#t:Monad">Monad</a> m =&gt; <a href="file:///usr/share/doc/ghc-doc/html/libraries/bytestring-0.10.6.0/Data-ByteString.html#t:ByteString">ByteString</a> -&gt; <a href="file:///usr/share/doc/ghc-doc/html/libraries/bytestring-0.10.6.0/Data-ByteString-Lazy.html#t:ByteString">ByteString</a> -&gt; <a href="Facebook.html#t:FacebookT">FacebookT</a> <a href="Facebook.html#t:Auth">Auth</a> m (<a href="file:///usr/share/doc/ghc-doc/html/libraries/base-4.8.2.0/Data-Maybe.html#t:Maybe">Maybe</a> <a href="file:///usr/share/doc/ghc-doc/html/libraries/bytestring-0.10.6.0/Data-ByteString-Lazy.html#t:ByteString">ByteString</a>)</li><li class="src short"><a href="#v:getRealTimeUpdateNotifications">getRealTimeUpdateNotifications</a> :: (<a href="file:///usr/share/doc/ghc-doc/html/libraries/base-4.8.2.0/Control-Monad.html#t:Monad">Monad</a> m, <a href="file:///usr/share/doc/libghc-aeson-doc/html/Data-Aeson-Types.html#t:FromJSON">FromJSON</a> a) =&gt; <a href="file:///usr/share/doc/ghc-doc/html/libraries/bytestring-0.10.6.0/Data-ByteString.html#t:ByteString">ByteString</a> -&gt; <a href="file:///usr/share/doc/ghc-doc/html/libraries/bytestring-0.10.6.0/Data-ByteString-Lazy.html#t:ByteString">ByteString</a> -&gt; <a href="Facebook.html#t:FacebookT">FacebookT</a> <a href="Facebook.html#t:Auth">Auth</a> m (<a href="file:///usr/share/doc/ghc-doc/html/libraries/base-4.8.2.0/Data-Maybe.html#t:Maybe">Maybe</a> (<a href="Facebook.html#t:RealTimeUpdateNotification">RealTimeUpdateNotification</a> a))</li><li class="src short"><span class="keyword">data</span> <a href="#t:RealTimeUpdateNotification">RealTimeUpdateNotification</a> a = <a href="#v:RealTimeUpdateNotification">RealTimeUpdateNotification</a> {<ul class="subs"><li><a href="#v:rtunObject">rtunObject</a> :: <a href="Facebook.html#t:RealTimeUpdateObject">RealTimeUpdateObject</a></li><li><a href="#v:rtunEntries">rtunEntries</a> :: [a]</li></ul>}</li><li class="src short"><span class="keyword">data</span> <a href="#t:RealTimeUpdateNotificationUserEntry">RealTimeUpdateNotificationUserEntry</a> = <a href="#v:RealTimeUpdateNotificationUserEntry">RealTimeUpdateNotificationUserEntry</a> {<ul class="subs"><li><a href="#v:rtuneUserId">rtuneUserId</a> :: <a href="Facebook.html#t:Id">Id</a></li><li><a href="#v:rtuneChangedFields">rtuneChangedFields</a> :: [<a href="Facebook.html#t:RealTimeUpdateField">RealTimeUpdateField</a>]</li><li><a href="#v:rtuneTime">rtuneTime</a> :: <a href="file:///usr/share/doc/ghc-doc/html/libraries/base-4.8.2.0/Prelude.html#t:Integer">Integer</a></li></ul>}</li><li class="src short"><a href="#v:fqlQuery">fqlQuery</a> :: (<a href="file:///usr/share/doc/libghc-resourcet-doc/html/Control-Monad-Trans-Resource.html#t:MonadResource">MonadResource</a> m, <a href="file:///usr/share/doc/libghc-monad-control-doc/html/Control-Monad-Trans-Control.html#t:MonadBaseControl">MonadBaseControl</a> <a href="file:///usr/share/doc/ghc-doc/html/libraries/base-4.8.2.0/System-IO.html#t:IO">IO</a> m, <a href="file:///usr/share/doc/libghc-aeson-doc/html/Data-Aeson-Types.html#t:FromJSON">FromJSON</a> a) =&gt; <a href="file:///usr/share/doc/libghc-text-doc/html/Data-Text.html#t:Text">Text</a> -&gt; <a href="file:///usr/share/doc/ghc-doc/html/libraries/base-4.8.2.0/Data-Maybe.html#t:Maybe">Maybe</a> (<a href="Facebook.html#t:AccessToken">AccessToken</a> anyKind) -&gt; <a href="Facebook.html#t:FacebookT">FacebookT</a> anyAuth m (<a href="Facebook.html#t:Pager">Pager</a> a)</li><li class="src short"><span class="keyword">newtype</span> <a href="#t:FQLTime">FQLTime</a> = <a href="#v:FQLTime">FQLTime</a> {<ul class="subs"><li><a href="#v:unFQLTime">unFQLTime</a> :: <a href="file:///usr/share/doc/ghc-doc/html/libraries/time-1.5.0.1/Data-Time-Clock.html#t:UTCTime">UTCTime</a></li></ul>}</li><li class="src short"><span class="keyword">newtype</span> <a href="#t:FQLList">FQLList</a> a = <a href="#v:FQLList">FQLList</a> {<ul class="subs"><li><a href="#v:unFQLList">unFQLList</a> :: [a]</li></ul>}</li><li class="src short"><span class="keyword">newtype</span> <a href="#t:FQLObject">FQLObject</a> a = <a href="#v:FQLObject">FQLObject</a> {<ul class="subs"><li><a href="#v:unFQLObject">unFQLObject</a> :: a</li></ul>}</li><li class="src short"><a href="#v:getTestUsers">getTestUsers</a> :: (<a href="file:///usr/share/doc/libghc-resourcet-doc/html/Control-Monad-Trans-Resource.html#t:MonadResource">MonadResource</a> m, <a href="file:///usr/share/doc/libghc-monad-control-doc/html/Control-Monad-Trans-Control.html#t:MonadBaseControl">MonadBaseControl</a> <a href="file:///usr/share/doc/ghc-doc/html/libraries/base-4.8.2.0/System-IO.html#t:IO">IO</a> m) =&gt; <a href="Facebook.html#t:AppAccessToken">AppAccessToken</a> -&gt; <a href="Facebook.html#t:FacebookT">FacebookT</a> <a href="Facebook.html#t:Auth">Auth</a> m (<a href="Facebook.html#t:Pager">Pager</a> <a href="Facebook.html#t:TestUser">TestUser</a>)</li><li class="src short"><a href="#v:removeTestUser">removeTestUser</a> :: (<a href="file:///usr/share/doc/libghc-resourcet-doc/html/Control-Monad-Trans-Resource.html#t:MonadResource">MonadResource</a> m, <a href="file:///usr/share/doc/libghc-monad-control-doc/html/Control-Monad-Trans-Control.html#t:MonadBaseControl">MonadBaseControl</a> <a href="file:///usr/share/doc/ghc-doc/html/libraries/base-4.8.2.0/System-IO.html#t:IO">IO</a> m) =&gt; <a href="Facebook.html#t:TestUser">TestUser</a> -&gt; <a href="Facebook.html#t:AppAccessToken">AppAccessToken</a> -&gt; <a href="Facebook.html#t:FacebookT">FacebookT</a> <a href="Facebook.html#t:Auth">Auth</a> m <a href="file:///usr/share/doc/ghc-doc/html/libraries/base-4.8.2.0/Data-Bool.html#t:Bool">Bool</a></li><li class="src short"><a href="#v:createTestUser">createTestUser</a> :: (<a href="file:///usr/share/doc/libghc-resourcet-doc/html/Control-Monad-Trans-Resource.html#t:MonadResource">MonadResource</a> m, <a href="file:///usr/share/doc/libghc-monad-control-doc/html/Control-Monad-Trans-Control.html#t:MonadBaseControl">MonadBaseControl</a> <a href="file:///usr/share/doc/ghc-doc/html/libraries/base-4.8.2.0/System-IO.html#t:IO">IO</a> m) =&gt; <a href="Facebook.html#t:CreateTestUser">CreateTestUser</a> -&gt; <a href="Facebook.html#t:AppAccessToken">AppAccessToken</a> -&gt; <a href="Facebook.html#t:FacebookT">FacebookT</a> <a href="Facebook.html#t:Auth">Auth</a> m <a href="Facebook.html#t:TestUser">TestUser</a></li><li class="src short"><a href="#v:makeFriendConn">makeFriendConn</a> :: (<a href="file:///usr/share/doc/libghc-resourcet-doc/html/Control-Monad-Trans-Resource.html#t:MonadResource">MonadResource</a> m, <a href="file:///usr/share/doc/libghc-monad-control-doc/html/Control-Monad-Trans-Control.html#t:MonadBaseControl">MonadBaseControl</a> <a href="file:///usr/share/doc/ghc-doc/html/libraries/base-4.8.2.0/System-IO.html#t:IO">IO</a> m) =&gt; <a href="Facebook.html#t:TestUser">TestUser</a> -&gt; <a href="Facebook.html#t:TestUser">TestUser</a> -&gt; <a href="Facebook.html#t:FacebookT">FacebookT</a> <a href="Facebook.html#t:Auth">Auth</a> m ()</li><li class="src short"><a href="#v:incompleteTestUserAccessToken">incompleteTestUserAccessToken</a> :: <a href="Facebook.html#t:TestUser">TestUser</a> -&gt; <a href="file:///usr/share/doc/ghc-doc/html/libraries/base-4.8.2.0/Data-Maybe.html#t:Maybe">Maybe</a> <a href="Facebook.html#t:UserAccessToken">UserAccessToken</a></li><li class="src short"><span class="keyword">data</span> <a href="#t:TestUser">TestUser</a> = <a href="#v:TestUser">TestUser</a> {<ul class="subs"><li><a href="#v:tuId">tuId</a> :: <a href="Facebook.html#t:UserId">UserId</a></li><li><a href="#v:tuAccessToken">tuAccessToken</a> :: <a href="file:///usr/share/doc/ghc-doc/html/libraries/base-4.8.2.0/Data-Maybe.html#t:Maybe">Maybe</a> <a href="Facebook.html#t:AccessTokenData">AccessTokenData</a></li><li><a href="#v:tuLoginUrl">tuLoginUrl</a> :: <a href="file:///usr/share/doc/ghc-doc/html/libraries/base-4.8.2.0/Data-Maybe.html#t:Maybe">Maybe</a> <a href="file:///usr/share/doc/libghc-text-doc/html/Data-Text.html#t:Text">Text</a></li><li><a href="#v:tuEmail">tuEmail</a> :: <a href="file:///usr/share/doc/ghc-doc/html/libraries/base-4.8.2.0/Data-Maybe.html#t:Maybe">Maybe</a> <a href="file:///usr/share/doc/libghc-text-doc/html/Data-Text.html#t:Text">Text</a></li><li><a href="#v:tuPassword">tuPassword</a> :: <a href="file:///usr/share/doc/ghc-doc/html/libraries/base-4.8.2.0/Data-Maybe.html#t:Maybe">Maybe</a> <a href="file:///usr/share/doc/libghc-text-doc/html/Data-Text.html#t:Text">Text</a></li></ul>}</li><li class="src short"><span class="keyword">data</span> <a href="#t:CreateTestUser">CreateTestUser</a> = <a href="#v:CreateTestUser">CreateTestUser</a> {<ul class="subs"><li><a href="#v:ctuInstalled">ctuInstalled</a> :: <a href="Facebook.html#t:CreateTestUserInstalled">CreateTestUserInstalled</a></li><li><a href="#v:ctuName">ctuName</a> :: <a href="file:///usr/share/doc/ghc-doc/html/libraries/base-4.8.2.0/Data-Maybe.html#t:Maybe">Maybe</a> <a href="file:///usr/share/doc/libghc-text-doc/html/Data-Text.html#t:Text">Text</a></li><li><a href="#v:ctuLocale">ctuLocale</a> :: <a href="file:///usr/share/doc/ghc-doc/html/libraries/base-4.8.2.0/Data-Maybe.html#t:Maybe">Maybe</a> <a href="file:///usr/share/doc/libghc-text-doc/html/Data-Text.html#t:Text">Text</a></li></ul>}</li><li class="src short"><span class="keyword">data</span> <a href="#t:CreateTestUserInstalled">CreateTestUserInstalled</a><ul class="subs"><li>= <a href="#v:CreateTestUserNotInstalled">CreateTestUserNotInstalled</a></li><li>| <a href="#v:CreateTestUserInstalled">CreateTestUserInstalled</a> { <ul class="subs"><li><a href="#v:ctuiPermissions">ctuiPermissions</a> :: [<a href="Facebook.html#t:Permission">Permission</a>]</li></ul> }</li><li>| <a href="#v:CreateTestUserFbDefault">CreateTestUserFbDefault</a></li></ul></li><li class="src short"><a href="#v:getObject">getObject</a> :: (<a href="file:///usr/share/doc/libghc-resourcet-doc/html/Control-Monad-Trans-Resource.html#t:MonadResource">MonadResource</a> m, <a href="file:///usr/share/doc/libghc-monad-control-doc/html/Control-Monad-Trans-Control.html#t:MonadBaseControl">MonadBaseControl</a> <a href="file:///usr/share/doc/ghc-doc/html/libraries/base-4.8.2.0/System-IO.html#t:IO">IO</a> m, <a href="file:///usr/share/doc/libghc-aeson-doc/html/Data-Aeson-Types.html#t:FromJSON">FromJSON</a> a) =&gt; <a href="file:///usr/share/doc/libghc-text-doc/html/Data-Text.html#t:Text">Text</a> -&gt; [<a href="Facebook.html#t:Argument">Argument</a>] -&gt; <a href="file:///usr/share/doc/ghc-doc/html/libraries/base-4.8.2.0/Data-Maybe.html#t:Maybe">Maybe</a> (<a href="Facebook.html#t:AccessToken">AccessToken</a> anyKind) -&gt; <a href="Facebook.html#t:FacebookT">FacebookT</a> anyAuth m a</li><li class="src short"><a href="#v:postObject">postObject</a> :: (<a href="file:///usr/share/doc/libghc-resourcet-doc/html/Control-Monad-Trans-Resource.html#t:MonadResource">MonadResource</a> m, <a href="file:///usr/share/doc/libghc-monad-control-doc/html/Control-Monad-Trans-Control.html#t:MonadBaseControl">MonadBaseControl</a> <a href="file:///usr/share/doc/ghc-doc/html/libraries/base-4.8.2.0/System-IO.html#t:IO">IO</a> m, <a href="file:///usr/share/doc/libghc-aeson-doc/html/Data-Aeson-Types.html#t:FromJSON">FromJSON</a> a) =&gt; <a href="file:///usr/share/doc/libghc-text-doc/html/Data-Text.html#t:Text">Text</a> -&gt; [<a href="Facebook.html#t:Argument">Argument</a>] -&gt; <a href="Facebook.html#t:AccessToken">AccessToken</a> anyKind -&gt; <a href="Facebook.html#t:FacebookT">FacebookT</a> <a href="Facebook.html#t:Auth">Auth</a> m a</li><li class="src short"><a href="#v:deleteObject">deleteObject</a> :: (<a href="file:///usr/share/doc/libghc-resourcet-doc/html/Control-Monad-Trans-Resource.html#t:MonadResource">MonadResource</a> m, <a href="file:///usr/share/doc/libghc-monad-control-doc/html/Control-Monad-Trans-Control.html#t:MonadBaseControl">MonadBaseControl</a> <a href="file:///usr/share/doc/ghc-doc/html/libraries/base-4.8.2.0/System-IO.html#t:IO">IO</a> m, <a href="file:///usr/share/doc/libghc-aeson-doc/html/Data-Aeson-Types.html#t:FromJSON">FromJSON</a> a) =&gt; <a href="file:///usr/share/doc/libghc-text-doc/html/Data-Text.html#t:Text">Text</a> -&gt; [<a href="Facebook.html#t:Argument">Argument</a>] -&gt; <a href="Facebook.html#t:AccessToken">AccessToken</a> anyKind -&gt; <a href="Facebook.html#t:FacebookT">FacebookT</a> <a href="Facebook.html#t:Auth">Auth</a> m a</li><li class="src short"><a href="#v:searchObjects">searchObjects</a> :: (<a href="file:///usr/share/doc/libghc-resourcet-doc/html/Control-Monad-Trans-Resource.html#t:MonadResource">MonadResource</a> m, <a href="file:///usr/share/doc/libghc-monad-control-doc/html/Control-Monad-Trans-Control.html#t:MonadBaseControl">MonadBaseControl</a> <a href="file:///usr/share/doc/ghc-doc/html/libraries/base-4.8.2.0/System-IO.html#t:IO">IO</a> m, <a href="file:///usr/share/doc/libghc-aeson-doc/html/Data-Aeson-Types.html#t:FromJSON">FromJSON</a> a) =&gt; <a href="file:///usr/share/doc/libghc-text-doc/html/Data-Text.html#t:Text">Text</a> -&gt; <a href="file:///usr/share/doc/libghc-text-doc/html/Data-Text.html#t:Text">Text</a> -&gt; [<a href="Facebook.html#t:Argument">Argument</a>] -&gt; <a href="file:///usr/share/doc/ghc-doc/html/libraries/base-4.8.2.0/Data-Maybe.html#t:Maybe">Maybe</a> <a href="Facebook.html#t:UserAccessToken">UserAccessToken</a> -&gt; <a href="Facebook.html#t:FacebookT">FacebookT</a> anyAuth m (<a href="Facebook.html#t:Pager">Pager</a> a)</li><li class="src short"><span class="keyword">newtype</span> <a href="#t:Id">Id</a> = <a href="#v:Id">Id</a> {<ul class="subs"><li><a href="#v:idCode">idCode</a> :: <a href="file:///usr/share/doc/libghc-text-doc/html/Data-Text.html#t:Text">Text</a></li></ul>}</li><li class="src short"><span class="keyword">type</span> <a href="#t:Argument">Argument</a> = (<a href="file:///usr/share/doc/ghc-doc/html/libraries/bytestring-0.10.6.0/Data-ByteString.html#t:ByteString">ByteString</a>, <a href="file:///usr/share/doc/ghc-doc/html/libraries/bytestring-0.10.6.0/Data-ByteString.html#t:ByteString">ByteString</a>)</li><li class="src short"><span class="keyword">data</span> <a href="#t:FacebookException">FacebookException</a><ul class="subs"><li>= <a href="#v:FacebookException">FacebookException</a> { <ul class="subs"><li><a href="#v:fbeType">fbeType</a> :: <a href="file:///usr/share/doc/libghc-text-doc/html/Data-Text.html#t:Text">Text</a></li><li><a href="#v:fbeMessage">fbeMessage</a> :: <a href="file:///usr/share/doc/libghc-text-doc/html/Data-Text.html#t:Text">Text</a></li></ul> }</li><li>| <a href="#v:FbLibraryException">FbLibraryException</a> { <ul class="subs"><li><a href="#v:fbeMessage">fbeMessage</a> :: <a href="file:///usr/share/doc/libghc-text-doc/html/Data-Text.html#t:Text">Text</a></li></ul> }</li></ul></li><li class="src short"><a href="#v:unPermission">unPermission</a> :: <a href="Facebook.html#t:Permission">Permission</a> -&gt; <a href="file:///usr/share/doc/libghc-text-doc/html/Data-Text.html#t:Text">Text</a></li></ul></div><div id="interface"><h1 id="g:1"><code>FacebookT</code> monad transformer</h1><div class="top"><p class="src"><span class="keyword">data</span> <a name="t:FacebookT" class="def">FacebookT</a> auth m a <a href="src/Facebook-Monad.html#FacebookT" class="link">Source</a></p><div class="doc"><p><code>FacebookT auth m a</code> is this library's monad transformer.
 Contains information needed to issue commands and queries to
 Facebook.  The phantom type <code>auth</code> may be either <code><a href="Facebook.html#t:Auth">Auth</a></code> (you
 have supplied your <code><a href="Facebook.html#t:Credentials">Credentials</a></code>) or <code><a href="Facebook.html#t:NoAuth">NoAuth</a></code> (you have not
 supplied any <code><a href="Facebook.html#t:Credentials">Credentials</a></code>).</p></div><div class="subs instances"><p id="control.i:FacebookT" class="caption collapser" onclick="toggleSection('i:FacebookT')">Instances</p><div id="section.i:FacebookT" class="show"><table><tr><td class="src clearfix"><span class="inst-left"><a href="file:///usr/share/doc/libghc-monad-control-doc/html/Control-Monad-Trans-Control.html#t:MonadBaseControl">MonadBaseControl</a> b m =&gt; <a href="file:///usr/share/doc/libghc-monad-control-doc/html/Control-Monad-Trans-Control.html#t:MonadBaseControl">MonadBaseControl</a> b (<a href="Facebook.html#t:FacebookT">FacebookT</a> auth m)</span> <a href="src/Facebook-Monad.html#line-77" class="link">Source</a></td><td class="doc empty">&nbsp;</td></tr><tr><td class="src clearfix"><span class="inst-left"><a href="file:///usr/share/doc/libghc-transformers-base-doc/html/Control-Monad-Base.html#t:MonadBase">MonadBase</a> b m =&gt; <a href="file:///usr/share/doc/libghc-transformers-base-doc/html/Control-Monad-Base.html#t:MonadBase">MonadBase</a> b (<a href="Facebook.html#t:FacebookT">FacebookT</a> auth m)</span> <a href="src/Facebook-Monad.html#line-63" class="link">Source</a></td><td class="doc empty">&nbsp;</td></tr><tr><td class="src clearfix"><span class="inst-left"><a href="file:///usr/share/doc/ghc-doc/html/libraries/transformers-0.4.2.0/Control-Monad-Trans-Class.html#t:MonadTrans">MonadTrans</a> (<a href="Facebook.html#t:FacebookT">FacebookT</a> auth)</span> <a href="src/Facebook-Monad.html#line-59" class="link">Source</a></td><td class="doc empty">&nbsp;</td></tr><tr><td class="src clearfix"><span class="inst-left"><a href="file:///usr/share/doc/libghc-monad-control-doc/html/Control-Monad-Trans-Control.html#t:MonadTransControl">MonadTransControl</a> (<a href="Facebook.html#t:FacebookT">FacebookT</a> auth)</span> <a href="src/Facebook-Monad.html#line-66" class="link">Source</a></td><td class="doc empty">&nbsp;</td></tr><tr><td class="src clearfix"><span class="inst-left"><a href="file:///usr/share/doc/ghc-doc/html/libraries/base-4.8.2.0/Control-Monad.html#t:Monad">Monad</a> m =&gt; <a href="file:///usr/share/doc/ghc-doc/html/libraries/base-4.8.2.0/Control-Monad.html#t:Monad">Monad</a> (<a href="Facebook.html#t:FacebookT">FacebookT</a> auth m)</span> <a href="src/Facebook-Monad.html#line-58" class="link">Source</a></td><td class="doc empty">&nbsp;</td></tr><tr><td class="src clearfix"><span class="inst-left"><a href="file:///usr/share/doc/ghc-doc/html/libraries/base-4.8.2.0/Data-Functor.html#t:Functor">Functor</a> m =&gt; <a href="file:///usr/share/doc/ghc-doc/html/libraries/base-4.8.2.0/Data-Functor.html#t:Functor">Functor</a> (<a href="Facebook.html#t:FacebookT">FacebookT</a> auth m)</span> <a href="src/Facebook-Monad.html#line-58" class="link">Source</a></td><td class="doc empty">&nbsp;</td></tr><tr><td class="src clearfix"><span class="inst-left"><a href="file:///usr/share/doc/ghc-doc/html/libraries/base-4.8.2.0/Control-Monad-Fix.html#t:MonadFix">MonadFix</a> m =&gt; <a href="file:///usr/share/doc/ghc-doc/html/libraries/base-4.8.2.0/Control-Monad-Fix.html#t:MonadFix">MonadFix</a> (<a href="Facebook.html#t:FacebookT">FacebookT</a> auth m)</span> <a href="src/Facebook-Monad.html#line-58" class="link">Source</a></td><td class="doc empty">&nbsp;</td></tr><tr><td class="src clearfix"><span class="inst-left"><a href="file:///usr/share/doc/ghc-doc/html/libraries/base-4.8.2.0/Control-Applicative.html#t:Applicative">Applicative</a> m =&gt; <a href="file:///usr/share/doc/ghc-doc/html/libraries/base-4.8.2.0/Control-Applicative.html#t:Applicative">Applicative</a> (<a href="Facebook.html#t:FacebookT">FacebookT</a> auth m)</span> <a href="src/Facebook-Monad.html#line-58" class="link">Source</a></td><td class="doc empty">&nbsp;</td></tr><tr><td class="src clearfix"><span class="inst-left"><a href="file:///usr/share/doc/ghc-doc/html/libraries/base-4.8.2.0/Control-Applicative.html#t:Alternative">Alternative</a> m =&gt; <a href="file:///usr/share/doc/ghc-doc/html/libraries/base-4.8.2.0/Control-Applicative.html#t:Alternative">Alternative</a> (<a href="Facebook.html#t:FacebookT">FacebookT</a> auth m)</span> <a href="src/Facebook-Monad.html#line-58" class="link">Source</a></td><td class="doc empty">&nbsp;</td></tr><tr><td class="src clearfix"><span class="inst-left"><a href="file:///usr/share/doc/ghc-doc/html/libraries/base-4.8.2.0/Control-Monad.html#t:MonadPlus">MonadPlus</a> m =&gt; <a href="file:///usr/share/doc/ghc-doc/html/libraries/base-4.8.2.0/Control-Monad.html#t:MonadPlus">MonadPlus</a> (<a href="Facebook.html#t:FacebookT">FacebookT</a> auth m)</span> <a href="src/Facebook-Monad.html#line-59" class="link">Source</a></td><td class="doc empty">&nbsp;</td></tr><tr><td class="src clearfix"><span class="inst-left"><a href="file:///usr/share/doc/libghc-monad-logger-doc/html/Control-Monad-Logger.html#t:MonadLogger">MonadLogger</a> m =&gt; <a href="file:///usr/share/doc/libghc-monad-logger-doc/html/Control-Monad-Logger.html#t:MonadLogger">MonadLogger</a> (<a href="Facebook.html#t:FacebookT">FacebookT</a> auth m)</span> <a href="src/Facebook-Monad.html#line-89" class="link">Source</a></td><td class="doc"><p>Since <code>fb-0.14.8</code>.</p></td></tr><tr><td class="src clearfix"><span class="inst-left">(<a href="file:///usr/share/doc/libghc-resourcet-doc/html/Control-Monad-Trans-Resource.html#t:MonadResource">MonadResource</a> m, <a href="file:///usr/share/doc/libghc-transformers-base-doc/html/Control-Monad-Base.html#t:MonadBase">MonadBase</a> <a href="file:///usr/share/doc/ghc-doc/html/libraries/base-4.8.2.0/System-IO.html#t:IO">IO</a> m) =&gt; <a href="file:///usr/share/doc/libghc-resourcet-doc/html/Control-Monad-Trans-Resource.html#t:MonadResource">MonadResource</a> (<a href="Facebook.html#t:FacebookT">FacebookT</a> auth m)</span> <a href="src/Facebook-Monad.html#line-61" class="link">Source</a></td><td class="doc empty">&nbsp;</td></tr><tr><td class="src clearfix"><span class="inst-left"><a href="file:///usr/share/doc/libghc-resourcet-doc/html/Control-Monad-Trans-Resource.html#t:MonadThrow">MonadThrow</a> m =&gt; <a href="file:///usr/share/doc/libghc-resourcet-doc/html/Control-Monad-Trans-Resource.html#t:MonadThrow">MonadThrow</a> (<a href="Facebook.html#t:FacebookT">FacebookT</a> auth m)</span> <a href="src/Facebook-Monad.html#line-59" class="link">Source</a></td><td class="doc empty">&nbsp;</td></tr><tr><td class="src clearfix"><span class="inst-left"><a href="file:///usr/share/doc/ghc-doc/html/libraries/transformers-0.4.2.0/Control-Monad-IO-Class.html#t:MonadIO">MonadIO</a> m =&gt; <a href="file:///usr/share/doc/ghc-doc/html/libraries/transformers-0.4.2.0/Control-Monad-IO-Class.html#t:MonadIO">MonadIO</a> (<a href="Facebook.html#t:FacebookT">FacebookT</a> auth m)</span> <a href="src/Facebook-Monad.html#line-59" class="link">Source</a></td><td class="doc empty">&nbsp;</td></tr><tr><td class="src clearfix"><span class="inst-left"><span class="keyword">type</span> <a href="file:///usr/share/doc/libghc-monad-control-doc/html/Control-Monad-Trans-Control.html#t:StT">StT</a> (<a href="Facebook.html#t:FacebookT">FacebookT</a> auth) a</span> <a href="src/Facebook-Monad.html#line-68" class="link">Source</a></td><td class="doc empty">&nbsp;</td></tr><tr><td class="src clearfix"><span class="inst-left"><span class="keyword">type</span> <a href="file:///usr/share/doc/libghc-monad-control-doc/html/Control-Monad-Trans-Control.html#t:StM">StM</a> (<a href="Facebook.html#t:FacebookT">FacebookT</a> auth m) a = <a href="file:///usr/share/doc/libghc-monad-control-doc/html/Control-Monad-Trans-Control.html#t:ComposeSt">ComposeSt</a> (<a href="Facebook.html#t:FacebookT">FacebookT</a> auth) m a</span> <a href="src/Facebook-Monad.html#line-79" class="link">Source</a></td><td class="doc empty">&nbsp;</td></tr></table></div></div></div><div class="top"><p class="src"><a name="v:runFacebookT" class="def">runFacebookT</a> <a href="src/Facebook-Monad.html#runFacebookT" class="link">Source</a></p><div class="subs arguments"><p class="caption">Arguments</p><table><tr><td class="src">:: <a href="Facebook.html#t:Credentials">Credentials</a></td><td class="doc"><p>Your app's credentials.</p></td></tr><tr><td class="src">-&gt; <a href="file:///usr/share/doc/libghc-http-conduit-doc/html/Network-HTTP-Conduit.html#t:Manager">Manager</a></td><td class="doc"><p>Connection manager (see <code><a href="file:///usr/share/doc/libghc-http-conduit-doc/html/Network-HTTP-Conduit.html#v:withManager">withManager</a></code>).</p></td></tr><tr><td class="src">-&gt; <a href="Facebook.html#t:FacebookT">FacebookT</a> <a href="Facebook.html#t:Auth">Auth</a> m a</td><td class="doc empty">&nbsp;</td></tr><tr><td class="src">-&gt; m a</td><td class="doc empty">&nbsp;</td></tr></table></div><div class="doc"><p>Run a computation in the <code><a href="Facebook.html#t:FacebookT">FacebookT</a></code> monad transformer with
 your credentials.</p></div></div><div class="top"><p class="src"><a name="v:runNoAuthFacebookT" class="def">runNoAuthFacebookT</a> :: <a href="file:///usr/share/doc/libghc-http-conduit-doc/html/Network-HTTP-Conduit.html#t:Manager">Manager</a> -&gt; <a href="Facebook.html#t:FacebookT">FacebookT</a> <a href="Facebook.html#t:NoAuth">NoAuth</a> m a -&gt; m a <a href="src/Facebook-Monad.html#runNoAuthFacebookT" class="link">Source</a></p><div class="doc"><p>Run a computation in the <code><a href="Facebook.html#t:FacebookT">FacebookT</a></code> monad without
 credentials.</p></div></div><div class="top"><p class="src"><a name="v:mapFacebookT" class="def">mapFacebookT</a> :: (m a -&gt; n b) -&gt; <a href="Facebook.html#t:FacebookT">FacebookT</a> anyAuth m a -&gt; <a href="Facebook.html#t:FacebookT">FacebookT</a> anyAuth n b <a href="src/Facebook-Monad.html#mapFacebookT" class="link">Source</a></p><div class="doc"><p>Transform the computation inside a <code><a href="Facebook.html#t:FacebookT">FacebookT</a></code>.</p></div></div><div class="top"><p class="src"><a name="v:beta_runFacebookT" class="def">beta_runFacebookT</a> :: <a href="Facebook.html#t:Credentials">Credentials</a> -&gt; <a href="file:///usr/share/doc/libghc-http-conduit-doc/html/Network-HTTP-Conduit.html#t:Manager">Manager</a> -&gt; <a href="Facebook.html#t:FacebookT">FacebookT</a> <a href="Facebook.html#t:Auth">Auth</a> m a -&gt; m a <a href="src/Facebook-Monad.html#beta_runFacebookT" class="link">Source</a></p><div class="doc"><p>Same as <code><a href="Facebook.html#v:runFacebookT">runFacebookT</a></code>, but uses Facebook's beta tier (see
 <a href="https://developers.facebook.com/support/beta-tier/">https://developers.facebook.com/support/beta-tier/</a>).</p></div></div><div class="top"><p class="src"><a name="v:beta_runNoAuthFacebookT" class="def">beta_runNoAuthFacebookT</a> :: <a href="file:///usr/share/doc/libghc-http-conduit-doc/html/Network-HTTP-Conduit.html#t:Manager">Manager</a> -&gt; <a href="Facebook.html#t:FacebookT">FacebookT</a> <a href="Facebook.html#t:NoAuth">NoAuth</a> m a -&gt; m a <a href="src/Facebook-Monad.html#beta_runNoAuthFacebookT" class="link">Source</a></p><div class="doc"><p>Same as <code><a href="Facebook.html#v:runNoAuthFacebookT">runNoAuthFacebookT</a></code>, but uses Facebook's beta tier
 (see <a href="https://developers.facebook.com/support/beta-tier/">https://developers.facebook.com/support/beta-tier/</a>).</p></div></div><div class="top"><p class="src"><span class="keyword">data</span> <a name="t:Auth" class="def">Auth</a> <a href="src/Facebook-Monad.html#Auth" class="link">Source</a></p><div class="doc"><p>Phantom type stating that you have provided your
 <code><a href="Facebook.html#t:Credentials">Credentials</a></code> and thus have access to the whole API.</p></div></div><div class="top"><p class="src"><span class="keyword">data</span> <a name="t:NoAuth" class="def">NoAuth</a> <a href="src/Facebook-Monad.html#NoAuth" class="link">Source</a></p><div class="doc"><p>Phantom type stating that you have <em>not</em> provided your
 <code><a href="Facebook.html#t:Credentials">Credentials</a></code>.  This means that you'll be limited about which
 APIs you'll be able use.</p></div></div><h1 id="g:2">Authorization and Authentication</h1><h2 id="g:3">Credentials</h2><div class="top"><p class="src"><span class="keyword">data</span> <a name="t:Credentials" class="def">Credentials</a> <a href="src/Facebook-Types.html#Credentials" class="link">Source</a></p><div class="doc"><p>Credentials that you get for your app when you register on
 Facebook.</p></div><div class="subs constructors"><p class="caption">Constructors</p><table><tr><td class="src"><a name="v:Credentials" class="def">Credentials</a></td><td class="doc empty">&nbsp;</td></tr><tr><td colspan="2"><div class="subs fields"><p class="caption">Fields</p><dl><dt class="src"><a name="v:appName" class="def">appName</a> :: <a href="file:///usr/share/doc/libghc-text-doc/html/Data-Text.html#t:Text">Text</a></dt><dd class="doc"><p>Your application name (e.g. for Open Graph calls).</p></dd><dt class="src"><a name="v:appId" class="def">appId</a> :: <a href="file:///usr/share/doc/libghc-text-doc/html/Data-Text.html#t:Text">Text</a></dt><dd class="doc"><p>Your application ID.</p></dd><dt class="src"><a name="v:appSecret" class="def">appSecret</a> :: <a href="file:///usr/share/doc/libghc-text-doc/html/Data-Text.html#t:Text">Text</a></dt><dd class="doc"><p>Your application secret key.</p></dd></dl><div class="clear"></div></div></td></tr></table></div><div class="subs instances"><p id="control.i:Credentials" class="caption collapser" onclick="toggleSection('i:Credentials')">Instances</p><div id="section.i:Credentials" class="show"><table><tr><td class="src clearfix"><span class="inst-left"><a href="file:///usr/share/doc/ghc-doc/html/libraries/base-4.8.2.0/Data-Eq.html#t:Eq">Eq</a> <a href="Facebook.html#t:Credentials">Credentials</a></span> <a href="src/Facebook-Types.html#line-54" class="link">Source</a></td><td class="doc empty">&nbsp;</td></tr><tr><td class="src clearfix"><span class="inst-left"><a href="file:///usr/share/doc/ghc-doc/html/libraries/base-4.8.2.0/Data-Ord.html#t:Ord">Ord</a> <a href="Facebook.html#t:Credentials">Credentials</a></span> <a href="src/Facebook-Types.html#line-54" class="link">Source</a></td><td class="doc empty">&nbsp;</td></tr><tr><td class="src clearfix"><span class="inst-left"><a href="file:///usr/share/doc/ghc-doc/html/libraries/base-4.8.2.0/Text-Read.html#t:Read">Read</a> <a href="Facebook.html#t:Credentials">Credentials</a></span> <a href="src/Facebook-Types.html#line-54" class="link">Source</a></td><td class="doc empty">&nbsp;</td></tr><tr><td class="src clearfix"><span class="inst-left"><a href="file:///usr/share/doc/ghc-doc/html/libraries/base-4.8.2.0/Text-Show.html#t:Show">Show</a> <a href="Facebook.html#t:Credentials">Credentials</a></span> <a href="src/Facebook-Types.html#line-54" class="link">Source</a></td><td class="doc empty">&nbsp;</td></tr></table></div></div></div><h2 id="g:4">Access token</h2><div class="top"><p class="src"><span class="keyword">data</span> <a name="t:AccessToken" class="def">AccessToken</a> kind <span class="keyword">where</span> <a href="src/Facebook-Types.html#AccessToken" class="link">Source</a></p><div class="doc"><p>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.</p><p>There are two kinds of access tokens:</p><dl><dt>User access token</dt><dd>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).</dd><dt>App access token</dt><dd>An access token that allows you to take
 administrative actions for your application.</dd></dl><p>These two kinds of access tokens are distinguished by the
 phantom type on <code><a href="Facebook.html#t:AccessToken">AccessToken</a></code>, which can be <code><a href="Facebook.html#t:UserKind">UserKind</a></code> or
 <code><a href="Facebook.html#t:AppKind">AppKind</a></code>.</p></div><div class="subs constructors"><p class="caption">Constructors</p><table><tr><td class="src"><a name="v:UserAccessToken" class="def">UserAccessToken</a> ::  <a href="Facebook.html#t:UserId">UserId</a> -&gt; <a href="Facebook.html#t:AccessTokenData">AccessTokenData</a> -&gt; <a href="file:///usr/share/doc/ghc-doc/html/libraries/time-1.5.0.1/Data-Time-Clock.html#t:UTCTime">UTCTime</a> -&gt; <a href="Facebook.html#t:AccessToken">AccessToken</a> <a href="Facebook.html#t:UserKind">UserKind</a></td><td class="doc empty">&nbsp;</td></tr><tr><td class="src"><a name="v:AppAccessToken" class="def">AppAccessToken</a> ::  <a href="Facebook.html#t:AccessTokenData">AccessTokenData</a> -&gt; <a href="Facebook.html#t:AccessToken">AccessToken</a> <a href="Facebook.html#t:AppKind">AppKind</a></td><td class="doc empty">&nbsp;</td></tr></table></div><div class="subs instances"><p id="control.i:AccessToken" class="caption collapser" onclick="toggleSection('i:AccessToken')">Instances</p><div id="section.i:AccessToken" class="show"><table><tr><td class="src clearfix"><span class="inst-left"><a href="file:///usr/share/doc/ghc-doc/html/libraries/base-4.8.2.0/Data-Eq.html#t:Eq">Eq</a> (<a href="Facebook.html#t:AccessToken">AccessToken</a> kind)</span> <a href="src/Facebook-Types.html#line-93" class="link">Source</a></td><td class="doc empty">&nbsp;</td></tr><tr><td class="src clearfix"><span class="inst-left"><a href="file:///usr/share/doc/ghc-doc/html/libraries/base-4.8.2.0/Data-Ord.html#t:Ord">Ord</a> (<a href="Facebook.html#t:AccessToken">AccessToken</a> kind)</span> <a href="src/Facebook-Types.html#line-94" class="link">Source</a></td><td class="doc empty">&nbsp;</td></tr><tr><td class="src clearfix"><span class="inst-left"><a href="file:///usr/share/doc/ghc-doc/html/libraries/base-4.8.2.0/Text-Show.html#t:Show">Show</a> (<a href="Facebook.html#t:AccessToken">AccessToken</a> kind)</span> <a href="src/Facebook-Types.html#line-95" class="link">Source</a></td><td class="doc empty">&nbsp;</td></tr><tr><td class="src clearfix"><span class="inst-left"><a href="file:///usr/share/doc/libghc-aeson-doc/html/Data-Aeson-Types.html#t:ToJSON">ToJSON</a> (<a href="Facebook.html#t:AccessToken">AccessToken</a> kind)</span> <a href="src/Facebook-Types.html#line-160" class="link">Source</a></td><td class="doc"><p><em>Since 0.14.9.</em> Not a Facebook JSON format, but a custom <code>fb</code>
 format for convenience if you need to serialize access tokens.</p></td></tr><tr><td class="src clearfix"><span class="inst-left">ParseAccessToken kind =&gt; <a href="file:///usr/share/doc/libghc-aeson-doc/html/Data-Aeson-Types.html#t:FromJSON">FromJSON</a> (<a href="Facebook.html#t:AccessToken">AccessToken</a> kind)</span> <a href="src/Facebook-Types.html#line-204" class="link">Source</a></td><td class="doc"><p><em>Since 0.14.9.</em> Parses the format that <code>ToJSON</code> produces.
 Note that you need to statically decide whether you want to
 parse a user access token or an app access token.</p></td></tr></table></div></div></div><div class="top"><p class="src"><span class="keyword">type</span> <a name="t:UserAccessToken" class="def">UserAccessToken</a> = <a href="Facebook.html#t:AccessToken">AccessToken</a> <a href="Facebook.html#t:UserKind">UserKind</a> <a href="src/Facebook-Types.html#UserAccessToken" class="link">Source</a></p><div class="doc"><p>Type synonym for <code><code><a href="Facebook.html#t:AccessToken">AccessToken</a></code> <code><a href="Facebook.html#t:UserKind">UserKind</a></code></code>.</p></div></div><div class="top"><p class="src"><span class="keyword">type</span> <a name="t:AppAccessToken" class="def">AppAccessToken</a> = <a href="Facebook.html#t:AccessToken">AccessToken</a> <a href="Facebook.html#t:AppKind">AppKind</a> <a href="src/Facebook-Types.html#AppAccessToken" class="link">Source</a></p><div class="doc"><p>Type synonym for <code><code><a href="Facebook.html#t:AccessToken">AccessToken</a></code> <code><a href="Facebook.html#t:AppKind">AppKind</a></code></code>.</p></div></div><div class="top"><p class="src"><span class="keyword">type</span> <a name="t:AccessTokenData" class="def">AccessTokenData</a> = <a href="file:///usr/share/doc/libghc-text-doc/html/Data-Text.html#t:Text">Text</a> <a href="src/Facebook-Types.html#AccessTokenData" class="link">Source</a></p><div class="doc"><p>The access token data that is passed to Facebook's API
 calls.</p></div></div><div class="top"><p class="src"><a name="v:hasExpired" class="def">hasExpired</a> :: (<a href="file:///usr/share/doc/ghc-doc/html/libraries/base-4.8.2.0/Data-Functor.html#t:Functor">Functor</a> m, <a href="file:///usr/share/doc/ghc-doc/html/libraries/transformers-0.4.2.0/Control-Monad-IO-Class.html#t:MonadIO">MonadIO</a> m) =&gt; <a href="Facebook.html#t:AccessToken">AccessToken</a> anyKind -&gt; m <a href="file:///usr/share/doc/ghc-doc/html/libraries/base-4.8.2.0/Data-Bool.html#t:Bool">Bool</a> <a href="src/Facebook-Auth.html#hasExpired" class="link">Source</a></p><div class="doc"><p><code>True</code> if the access token has expired, otherwise <code>False</code>.</p></div></div><div class="top"><p class="src"><a name="v:isValid" class="def">isValid</a> :: (<a href="file:///usr/share/doc/libghc-monad-control-doc/html/Control-Monad-Trans-Control.html#t:MonadBaseControl">MonadBaseControl</a> <a href="file:///usr/share/doc/ghc-doc/html/libraries/base-4.8.2.0/System-IO.html#t:IO">IO</a> m, <a href="file:///usr/share/doc/libghc-resourcet-doc/html/Control-Monad-Trans-Resource.html#t:MonadResource">MonadResource</a> m) =&gt; <a href="Facebook.html#t:AccessToken">AccessToken</a> anyKind -&gt; <a href="Facebook.html#t:FacebookT">FacebookT</a> anyAuth m <a href="file:///usr/share/doc/ghc-doc/html/libraries/base-4.8.2.0/Data-Bool.html#t:Bool">Bool</a> <a href="src/Facebook-Auth.html#isValid" class="link">Source</a></p><div class="doc"><p><code>True</code> if the access token is valid.  An expired access
 token is not valid (see <code><a href="Facebook.html#v:hasExpired">hasExpired</a></code>).  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
 password, logged out from Facebook or blocked your app.</p></div></div><h2 id="g:5">App access token</h2><div class="top"><p class="src"><span class="keyword">data</span> <a name="t:AppKind" class="def">AppKind</a> <a href="src/Facebook-Types.html#AppKind" class="link">Source</a></p><div class="doc"><p>Phantom type used mark an <code><a href="Facebook.html#t:AccessToken">AccessToken</a></code> as an app access
 token.</p></div></div><div class="top"><p class="src"><a name="v:getAppAccessToken" class="def">getAppAccessToken</a> :: (<a href="file:///usr/share/doc/libghc-resourcet-doc/html/Control-Monad-Trans-Resource.html#t:MonadResource">MonadResource</a> m, <a href="file:///usr/share/doc/libghc-monad-control-doc/html/Control-Monad-Trans-Control.html#t:MonadBaseControl">MonadBaseControl</a> <a href="file:///usr/share/doc/ghc-doc/html/libraries/base-4.8.2.0/System-IO.html#t:IO">IO</a> m) =&gt; <a href="Facebook.html#t:FacebookT">FacebookT</a> <a href="Facebook.html#t:Auth">Auth</a> m <a href="Facebook.html#t:AppAccessToken">AppAccessToken</a> <a href="src/Facebook-Auth.html#getAppAccessToken" class="link">Source</a></p><div class="doc"><p>Get an app access token from Facebook using your
 credentials.</p></div></div><h2 id="g:6">User access token</h2><div class="top"><p class="src"><span class="keyword">data</span> <a name="t:UserKind" class="def">UserKind</a> <a href="src/Facebook-Types.html#UserKind" class="link">Source</a></p><div class="doc"><p>Phantom type used mark an <code><a href="Facebook.html#t:AccessToken">AccessToken</a></code> as an user access
 token.</p></div></div><div class="top"><p class="src"><span class="keyword">type</span> <a name="t:RedirectUrl" class="def">RedirectUrl</a> = <a href="file:///usr/share/doc/libghc-text-doc/html/Data-Text.html#t:Text">Text</a> <a href="src/Facebook-Auth.html#RedirectUrl" class="link">Source</a></p><div class="doc"><p>URL 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.</p></div></div><div class="top"><p class="src"><span class="keyword">data</span> <a name="t:Permission" class="def">Permission</a> <a href="src/Facebook-Auth.html#Permission" class="link">Source</a></p><div class="doc"><p>A permission that is asked for the user when he authorizes
 your app.  Please refer to Facebook's documentation at
 <a href="https://developers.facebook.com/docs/reference/api/permissions/">https://developers.facebook.com/docs/reference/api/permissions/</a>
 to see which permissions are available.</p><p>This is a <code>newtype</code> of <code><a href="file:///usr/share/doc/libghc-text-doc/html/Data-Text.html#t:Text">Text</a></code> that supports only <code><a href="file:///usr/share/doc/ghc-doc/html/libraries/base-4.8.2.0/Data-String.html#t:IsString">IsString</a></code>.
 This means that to create a <code><a href="Facebook.html#t:Permission">Permission</a></code> you should use the
 <code>OverloadedStrings</code> language extension.  For example,</p><pre>{-# LANGUAGE OverloadedStrings #-}

perms :: [Permission]
perms = [&quot;user_about_me&quot;, &quot;email&quot;, &quot;offline_access&quot;]</pre></div><div class="subs instances"><p id="control.i:Permission" class="caption collapser" onclick="toggleSection('i:Permission')">Instances</p><div id="section.i:Permission" class="show"><table><tr><td class="src clearfix"><span class="inst-left"><a href="file:///usr/share/doc/ghc-doc/html/libraries/base-4.8.2.0/Data-Eq.html#t:Eq">Eq</a> <a href="Facebook.html#t:Permission">Permission</a></span> <a href="src/Facebook-Auth.html#line-218" class="link">Source</a></td><td class="doc empty">&nbsp;</td></tr><tr><td class="src clearfix"><span class="inst-left"><a href="file:///usr/share/doc/ghc-doc/html/libraries/base-4.8.2.0/Data-Ord.html#t:Ord">Ord</a> <a href="Facebook.html#t:Permission">Permission</a></span> <a href="src/Facebook-Auth.html#line-218" class="link">Source</a></td><td class="doc empty">&nbsp;</td></tr><tr><td class="src clearfix"><span class="inst-left"><a href="file:///usr/share/doc/ghc-doc/html/libraries/base-4.8.2.0/Text-Show.html#t:Show">Show</a> <a href="Facebook.html#t:Permission">Permission</a></span> <a href="src/Facebook-Auth.html#line-220" class="link">Source</a></td><td class="doc empty">&nbsp;</td></tr><tr><td class="src clearfix"><span class="inst-left"><a href="file:///usr/share/doc/ghc-doc/html/libraries/base-4.8.2.0/Data-String.html#t:IsString">IsString</a> <a href="Facebook.html#t:Permission">Permission</a></span> <a href="src/Facebook-Auth.html#line-223" class="link">Source</a></td><td class="doc empty">&nbsp;</td></tr><tr><td class="src clearfix"><span class="inst-left"><a href="Facebook.html#t:SimpleType">SimpleType</a> <a href="Facebook.html#t:Permission">Permission</a></span> <a href="src/Facebook-Graph.html#line-185" class="link">Source</a></td><td class="doc"><p><code><a href="Facebook.html#t:Permission">Permission</a></code> is a <code>newtype</code> of <code><a href="file:///usr/share/doc/libghc-text-doc/html/Data-Text.html#t:Text">Text</a></code></p></td></tr></table></div></div></div><div class="top"><p class="src"><a name="v:getUserAccessTokenStep1" class="def">getUserAccessTokenStep1</a> :: <a href="file:///usr/share/doc/ghc-doc/html/libraries/base-4.8.2.0/Control-Monad.html#t:Monad">Monad</a> m =&gt; <a href="Facebook.html#t:RedirectUrl">RedirectUrl</a> -&gt; [<a href="Facebook.html#t:Permission">Permission</a>] -&gt; <a href="Facebook.html#t:FacebookT">FacebookT</a> <a href="Facebook.html#t:Auth">Auth</a> m <a href="file:///usr/share/doc/libghc-text-doc/html/Data-Text.html#t:Text">Text</a> <a href="src/Facebook-Auth.html#getUserAccessTokenStep1" class="link">Source</a></p><div class="doc"><p>The 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 <code><a href="Facebook.html#t:RedirectUrl">RedirectUrl</a></code>.</p></div></div><div class="top"><p class="src"><a name="v:getUserAccessTokenStep2" class="def">getUserAccessTokenStep2</a> <a href="src/Facebook-Auth.html#getUserAccessTokenStep2" class="link">Source</a></p><div class="subs arguments"><p class="caption">Arguments</p><table><tr><td class="src">:: (<a href="file:///usr/share/doc/libghc-monad-control-doc/html/Control-Monad-Trans-Control.html#t:MonadBaseControl">MonadBaseControl</a> <a href="file:///usr/share/doc/ghc-doc/html/libraries/base-4.8.2.0/System-IO.html#t:IO">IO</a> m, <a href="file:///usr/share/doc/libghc-resourcet-doc/html/Control-Monad-Trans-Resource.html#t:MonadResource">MonadResource</a> m)</td><td class="doc empty">&nbsp;</td></tr><tr><td class="src">=&gt; <a href="Facebook.html#t:RedirectUrl">RedirectUrl</a></td><td class="doc"><p>Should be exactly the same
 as in <code><a href="Facebook.html#v:getUserAccessTokenStep1">getUserAccessTokenStep1</a></code>.</p></td></tr><tr><td class="src">-&gt; [<a href="Facebook.html#t:Argument">Argument</a>]</td><td class="doc"><p>Query parameters.</p></td></tr><tr><td class="src">-&gt; <a href="Facebook.html#t:FacebookT">FacebookT</a> <a href="Facebook.html#t:Auth">Auth</a> m <a href="Facebook.html#t:UserAccessToken">UserAccessToken</a></td><td class="doc empty">&nbsp;</td></tr></table></div><div class="doc"><p>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 <code><a href="Facebook.html#t:RedirectUrl">RedirectUrl</a></code> you've
 passed to <code><a href="Facebook.html#v:getUserAccessTokenStep1">getUserAccessTokenStep1</a></code>.  You should take the
 request query parameters passed to your <code><a href="Facebook.html#t:RedirectUrl">RedirectUrl</a></code> and give
 to this function that will complete the user authentication
 flow and give you an <code><code><a href="Facebook.html#t:UserAccessToken">UserAccessToken</a></code></code>.</p></div></div><div class="top"><p class="src"><a name="v:getUserLogoutUrl" class="def">getUserLogoutUrl</a> <a href="src/Facebook-Auth.html#getUserLogoutUrl" class="link">Source</a></p><div class="subs arguments"><p class="caption">Arguments</p><table><tr><td class="src">:: <a href="file:///usr/share/doc/ghc-doc/html/libraries/base-4.8.2.0/Control-Monad.html#t:Monad">Monad</a> m</td><td class="doc empty">&nbsp;</td></tr><tr><td class="src">=&gt; <a href="Facebook.html#t:UserAccessToken">UserAccessToken</a></td><td class="doc"><p>The user's access token.</p></td></tr><tr><td class="src">-&gt; <a href="Facebook.html#t:RedirectUrl">RedirectUrl</a></td><td class="doc"><p>URL the user should be directed to in
 your site domain.</p></td></tr><tr><td class="src">-&gt; <a href="Facebook.html#t:FacebookT">FacebookT</a> <a href="Facebook.html#t:Auth">Auth</a> m <a href="file:///usr/share/doc/libghc-text-doc/html/Data-Text.html#t:Text">Text</a></td><td class="doc"><p>Logout URL in
 <code>https://www.facebook.com/</code> (or on
 <code>https://www.beta.facebook.com/</code> when
 using the beta tier).</p></td></tr></table></div><div class="doc"><p>The URL an user should be redirected to in order to log them
 out of their Facebook session.  Facebook will then redirect
 the user to the provided URL after logging them out.  Note
 that, at the time of this writing, Facebook's policies require
 you to log the user out of Facebook when they ask to log out
 of your site.</p><p>Note also that Facebook may refuse to redirect the user to the
 provided URL if their user access token is invalid.  In order
 to prevent this bug, we suggest that you use <code><a href="Facebook.html#v:isValid">isValid</a></code> before
 redirecting the user to the URL provided by <code><a href="Facebook.html#v:getUserLogoutUrl">getUserLogoutUrl</a></code>
 since this function doesn't do any validity checks.</p></div></div><div class="top"><p class="src"><a name="v:extendUserAccessToken" class="def">extendUserAccessToken</a> :: (<a href="file:///usr/share/doc/libghc-monad-control-doc/html/Control-Monad-Trans-Control.html#t:MonadBaseControl">MonadBaseControl</a> <a href="file:///usr/share/doc/ghc-doc/html/libraries/base-4.8.2.0/System-IO.html#t:IO">IO</a> m, <a href="file:///usr/share/doc/libghc-resourcet-doc/html/Control-Monad-Trans-Resource.html#t:MonadResource">MonadResource</a> m) =&gt; <a href="Facebook.html#t:UserAccessToken">UserAccessToken</a> -&gt; <a href="Facebook.html#t:FacebookT">FacebookT</a> <a href="Facebook.html#t:Auth">Auth</a> m (<a href="file:///usr/share/doc/ghc-doc/html/libraries/base-4.8.2.0/Data-Either.html#t:Either">Either</a> <a href="Facebook.html#t:FacebookException">FacebookException</a> <a href="Facebook.html#t:UserAccessToken">UserAccessToken</a>) <a href="src/Facebook-Auth.html#extendUserAccessToken" class="link">Source</a></p><div class="doc"><p>Extend the expiration time of an user access token (see
 <a href="https://developers.facebook.com/docs/offline-access-deprecation/">https://developers.facebook.com/docs/offline-access-deprecation/</a>,
 <a href="https://developers.facebook.com/roadmap/offline-access-removal/">https://developers.facebook.com/roadmap/offline-access-removal/</a>).
 Only short-lived user access tokens may extended into
 long-lived user access tokens, you must get a new short-lived
 user access token if you need to extend a long-lived
 one.  Returns <code>Left exc</code> if there is an error while extending,
 or <code>Right token</code> with the new user access token (which could
 have the same data and expiration time as before, but you
 can't assume this).  Note that expired access tokens can't be
 extended, only valid tokens.</p></div></div><div class="top"><p class="src"><a name="v:debugToken" class="def">debugToken</a> <a href="src/Facebook-Auth.html#debugToken" class="link">Source</a></p><div class="subs arguments"><p class="caption">Arguments</p><table><tr><td class="src">:: (<a href="file:///usr/share/doc/libghc-monad-control-doc/html/Control-Monad-Trans-Control.html#t:MonadBaseControl">MonadBaseControl</a> <a href="file:///usr/share/doc/ghc-doc/html/libraries/base-4.8.2.0/System-IO.html#t:IO">IO</a> m, <a href="file:///usr/share/doc/libghc-resourcet-doc/html/Control-Monad-Trans-Resource.html#t:MonadResource">MonadResource</a> m)</td><td class="doc empty">&nbsp;</td></tr><tr><td class="src">=&gt; <a href="Facebook.html#t:AppAccessToken">AppAccessToken</a></td><td class="doc"><p>Your app access token.</p></td></tr><tr><td class="src">-&gt; <a href="Facebook.html#t:AccessTokenData">AccessTokenData</a></td><td class="doc"><p>The access token you want to debug.</p></td></tr><tr><td class="src">-&gt; <a href="Facebook.html#t:FacebookT">FacebookT</a> <a href="Facebook.html#t:Auth">Auth</a> m <a href="Facebook.html#t:DebugToken">DebugToken</a></td><td class="doc empty">&nbsp;</td></tr></table></div><div class="doc"><p>Get detailed information about an access token.</p></div></div><div class="top"><p class="src"><span class="keyword">data</span> <a name="t:DebugToken" class="def">DebugToken</a> <a href="src/Facebook-Auth.html#DebugToken" class="link">Source</a></p><div class="doc"><p>Detailed information about an access token (cf. <code><a href="Facebook.html#v:debugToken">debugToken</a></code>).</p></div><div class="subs constructors"><p class="caption">Constructors</p><table><tr><td class="src"><a name="v:DebugToken" class="def">DebugToken</a></td><td class="doc empty">&nbsp;</td></tr><tr><td colspan="2"><div class="subs fields"><p class="caption">Fields</p><dl><dt class="src"><a name="v:dtAppId" class="def">dtAppId</a> :: <a href="file:///usr/share/doc/ghc-doc/html/libraries/base-4.8.2.0/Data-Maybe.html#t:Maybe">Maybe</a> <a href="file:///usr/share/doc/libghc-text-doc/html/Data-Text.html#t:Text">Text</a></dt><dd class="doc empty">&nbsp;</dd><dt class="src"><a name="v:dtAppName" class="def">dtAppName</a> :: <a href="file:///usr/share/doc/ghc-doc/html/libraries/base-4.8.2.0/Data-Maybe.html#t:Maybe">Maybe</a> <a href="file:///usr/share/doc/libghc-text-doc/html/Data-Text.html#t:Text">Text</a></dt><dd class="doc empty">&nbsp;</dd><dt class="src"><a name="v:dtExpiresAt" class="def">dtExpiresAt</a> :: <a href="file:///usr/share/doc/ghc-doc/html/libraries/base-4.8.2.0/Data-Maybe.html#t:Maybe">Maybe</a> <a href="file:///usr/share/doc/ghc-doc/html/libraries/time-1.5.0.1/Data-Time-Clock.html#t:UTCTime">UTCTime</a></dt><dd class="doc empty">&nbsp;</dd><dt class="src"><a name="v:dtIsValid" class="def">dtIsValid</a> :: <a href="file:///usr/share/doc/ghc-doc/html/libraries/base-4.8.2.0/Data-Maybe.html#t:Maybe">Maybe</a> <a href="file:///usr/share/doc/ghc-doc/html/libraries/base-4.8.2.0/Data-Bool.html#t:Bool">Bool</a></dt><dd class="doc empty">&nbsp;</dd><dt class="src"><a name="v:dtIssuedAt" class="def">dtIssuedAt</a> :: <a href="file:///usr/share/doc/ghc-doc/html/libraries/base-4.8.2.0/Data-Maybe.html#t:Maybe">Maybe</a> <a href="file:///usr/share/doc/ghc-doc/html/libraries/time-1.5.0.1/Data-Time-Clock.html#t:UTCTime">UTCTime</a></dt><dd class="doc empty">&nbsp;</dd><dt class="src"><a name="v:dtScopes" class="def">dtScopes</a> :: <a href="file:///usr/share/doc/ghc-doc/html/libraries/base-4.8.2.0/Data-Maybe.html#t:Maybe">Maybe</a> [<a href="Facebook.html#t:Permission">Permission</a>]</dt><dd class="doc empty">&nbsp;</dd><dt class="src"><a name="v:dtUserId" class="def">dtUserId</a> :: <a href="file:///usr/share/doc/ghc-doc/html/libraries/base-4.8.2.0/Data-Maybe.html#t:Maybe">Maybe</a> <a href="Facebook.html#t:Id">Id</a></dt><dd class="doc empty">&nbsp;</dd><dt class="src"><a name="v:dtAccessToken" class="def">dtAccessToken</a> :: <a href="file:///usr/share/doc/ghc-doc/html/libraries/base-4.8.2.0/Data-Maybe.html#t:Maybe">Maybe</a> <a href="Facebook.html#t:UserAccessToken">UserAccessToken</a></dt><dd class="doc empty">&nbsp;</dd></dl><div class="clear"></div></div></td></tr></table></div><div class="subs instances"><p id="control.i:DebugToken" class="caption collapser" onclick="toggleSection('i:DebugToken')">Instances</p><div id="section.i:DebugToken" class="show"><table><tr><td class="src clearfix"><span class="inst-left"><a href="file:///usr/share/doc/ghc-doc/html/libraries/base-4.8.2.0/Data-Eq.html#t:Eq">Eq</a> <a href="Facebook.html#t:DebugToken">DebugToken</a></span> <a href="src/Facebook-Auth.html#line-395" class="link">Source</a></td><td class="doc empty">&nbsp;</td></tr><tr><td class="src clearfix"><span class="inst-left"><a href="file:///usr/share/doc/ghc-doc/html/libraries/base-4.8.2.0/Data-Ord.html#t:Ord">Ord</a> <a href="Facebook.html#t:DebugToken">DebugToken</a></span> <a href="src/Facebook-Auth.html#line-395" class="link">Source</a></td><td class="doc empty">&nbsp;</td></tr><tr><td class="src clearfix"><span class="inst-left"><a href="file:///usr/share/doc/ghc-doc/html/libraries/base-4.8.2.0/Text-Show.html#t:Show">Show</a> <a href="Facebook.html#t:DebugToken">DebugToken</a></span> <a href="src/Facebook-Auth.html#line-395" class="link">Source</a></td><td class="doc empty">&nbsp;</td></tr><tr><td class="src clearfix"><span class="inst-left"><a href="file:///usr/share/doc/libghc-aeson-doc/html/Data-Aeson-Types.html#t:FromJSON">FromJSON</a> <a href="Facebook.html#t:DebugToken">DebugToken</a></span> <a href="src/Facebook-Auth.html#line-403" class="link">Source</a></td><td class="doc"><p>Note: this instance always sets <code><a href="Facebook.html#v:dtAccessToken">dtAccessToken</a></code> to
 <code><a href="file:///usr/share/doc/ghc-doc/html/libraries/base-4.8.2.0/Data-Maybe.html#v:Nothing">Nothing</a></code>, but <code><a href="Facebook.html#v:debugToken">debugToken</a></code> will update this field before
 returning the final <code><a href="Facebook.html#t:DebugToken">DebugToken</a></code>.  This is done because we
 need the <code><a href="Facebook.html#t:AccessTokenData">AccessTokenData</a></code>, which is not part of FB's
 response.</p></td></tr></table></div></div></div><h2 id="g:7">Signed requests</h2><div class="top"><p class="src"><a name="v:parseSignedRequest" class="def">parseSignedRequest</a> <a href="src/Facebook-Auth.html#parseSignedRequest" class="link">Source</a></p><div class="subs arguments"><p class="caption">Arguments</p><table><tr><td class="src">:: (<a href="file:///usr/share/doc/libghc-aeson-doc/html/Data-Aeson-Types.html#t:FromJSON">FromJSON</a> a, <a href="file:///usr/share/doc/ghc-doc/html/libraries/base-4.8.2.0/Control-Monad.html#t:Monad">Monad</a> m)</td><td class="doc empty">&nbsp;</td></tr><tr><td class="src">=&gt; <a href="file:///usr/share/doc/ghc-doc/html/libraries/bytestring-0.10.6.0/Data-ByteString.html#t:ByteString">ByteString</a></td><td class="doc"><p>Encoded Facebook signed request</p></td></tr><tr><td class="src">-&gt; <a href="Facebook.html#t:FacebookT">FacebookT</a> <a href="Facebook.html#t:Auth">Auth</a> m (<a href="file:///usr/share/doc/ghc-doc/html/libraries/base-4.8.2.0/Data-Maybe.html#t:Maybe">Maybe</a> a)</td><td class="doc empty">&nbsp;</td></tr></table></div><div class="doc"><p>Parses a Facebook signed request
 (<a href="https://developers.facebook.com/docs/authentication/signed_request/">https://developers.facebook.com/docs/authentication/signed_request/</a>),
 verifies its authencity and integrity using the HMAC and
 decodes its JSON object.</p></div></div><h1 id="g:8">Facebook's Graph API</h1><h2 id="g:9">User</h2><div class="top"><p class="src"><span class="keyword">data</span> <a name="t:User" class="def">User</a> <a href="src/Facebook-Object-User.html#User" class="link">Source</a></p><div class="doc"><p>A Facebook user profile (see
 <a href="https://developers.facebook.com/docs/reference/api/user/">https://developers.facebook.com/docs/reference/api/user/</a>).</p><p><em>NOTE:</em> We still don't support all fields supported by
 Facebook. Please fill an issue if you need access to any other
 fields.</p></div><div class="subs constructors"><p class="caption">Constructors</p><table><tr><td class="src"><a name="v:User" class="def">User</a></td><td class="doc empty">&nbsp;</td></tr><tr><td colspan="2"><div class="subs fields"><p class="caption">Fields</p><dl><dt class="src"><a name="v:userId" class="def">userId</a> :: <a href="Facebook.html#t:UserId">UserId</a></dt><dd class="doc empty">&nbsp;</dd><dt class="src"><a name="v:userName" class="def">userName</a> :: <a href="file:///usr/share/doc/ghc-doc/html/libraries/base-4.8.2.0/Data-Maybe.html#t:Maybe">Maybe</a> <a href="file:///usr/share/doc/libghc-text-doc/html/Data-Text.html#t:Text">Text</a></dt><dd class="doc empty">&nbsp;</dd><dt class="src"><a name="v:userFirstName" class="def">userFirstName</a> :: <a href="file:///usr/share/doc/ghc-doc/html/libraries/base-4.8.2.0/Data-Maybe.html#t:Maybe">Maybe</a> <a href="file:///usr/share/doc/libghc-text-doc/html/Data-Text.html#t:Text">Text</a></dt><dd class="doc empty">&nbsp;</dd><dt class="src"><a name="v:userMiddleName" class="def">userMiddleName</a> :: <a href="file:///usr/share/doc/ghc-doc/html/libraries/base-4.8.2.0/Data-Maybe.html#t:Maybe">Maybe</a> <a href="file:///usr/share/doc/libghc-text-doc/html/Data-Text.html#t:Text">Text</a></dt><dd class="doc empty">&nbsp;</dd><dt class="src"><a name="v:userLastName" class="def">userLastName</a> :: <a href="file:///usr/share/doc/ghc-doc/html/libraries/base-4.8.2.0/Data-Maybe.html#t:Maybe">Maybe</a> <a href="file:///usr/share/doc/libghc-text-doc/html/Data-Text.html#t:Text">Text</a></dt><dd class="doc empty">&nbsp;</dd><dt class="src"><a name="v:userGender" class="def">userGender</a> :: <a href="file:///usr/share/doc/ghc-doc/html/libraries/base-4.8.2.0/Data-Maybe.html#t:Maybe">Maybe</a> <a href="Facebook.html#t:Gender">Gender</a></dt><dd class="doc empty">&nbsp;</dd><dt class="src"><a name="v:userLocale" class="def">userLocale</a> :: <a href="file:///usr/share/doc/ghc-doc/html/libraries/base-4.8.2.0/Data-Maybe.html#t:Maybe">Maybe</a> <a href="file:///usr/share/doc/libghc-text-doc/html/Data-Text.html#t:Text">Text</a></dt><dd class="doc empty">&nbsp;</dd><dt class="src"><a name="v:userUsername" class="def">userUsername</a> :: <a href="file:///usr/share/doc/ghc-doc/html/libraries/base-4.8.2.0/Data-Maybe.html#t:Maybe">Maybe</a> <a href="file:///usr/share/doc/libghc-text-doc/html/Data-Text.html#t:Text">Text</a></dt><dd class="doc empty">&nbsp;</dd><dt class="src"><a name="v:userVerified" class="def">userVerified</a> :: <a href="file:///usr/share/doc/ghc-doc/html/libraries/base-4.8.2.0/Data-Maybe.html#t:Maybe">Maybe</a> <a href="file:///usr/share/doc/ghc-doc/html/libraries/base-4.8.2.0/Data-Bool.html#t:Bool">Bool</a></dt><dd class="doc empty">&nbsp;</dd><dt class="src"><a name="v:userEmail" class="def">userEmail</a> :: <a href="file:///usr/share/doc/ghc-doc/html/libraries/base-4.8.2.0/Data-Maybe.html#t:Maybe">Maybe</a> <a href="file:///usr/share/doc/libghc-text-doc/html/Data-Text.html#t:Text">Text</a></dt><dd class="doc empty">&nbsp;</dd><dt class="src"><a name="v:userLocation" class="def">userLocation</a> :: <a href="file:///usr/share/doc/ghc-doc/html/libraries/base-4.8.2.0/Data-Maybe.html#t:Maybe">Maybe</a> <a href="Facebook.html#t:Place">Place</a></dt><dd class="doc empty">&nbsp;</dd></dl><div class="clear"></div></div></td></tr></table></div><div class="subs instances"><p id="control.i:User" class="caption collapser" onclick="toggleSection('i:User')">Instances</p><div id="section.i:User" class="show"><table><tr><td class="src clearfix"><span class="inst-left"><a href="file:///usr/share/doc/ghc-doc/html/libraries/base-4.8.2.0/Data-Eq.html#t:Eq">Eq</a> <a href="Facebook.html#t:User">User</a></span> <a href="src/Facebook-Object-User.html#line-49" class="link">Source</a></td><td class="doc empty">&nbsp;</td></tr><tr><td class="src clearfix"><span class="inst-left"><a href="file:///usr/share/doc/ghc-doc/html/libraries/base-4.8.2.0/Data-Ord.html#t:Ord">Ord</a> <a href="Facebook.html#t:User">User</a></span> <a href="src/Facebook-Object-User.html#line-49" class="link">Source</a></td><td class="doc empty">&nbsp;</td></tr><tr><td class="src clearfix"><span class="inst-left"><a href="file:///usr/share/doc/ghc-doc/html/libraries/base-4.8.2.0/Text-Read.html#t:Read">Read</a> <a href="Facebook.html#t:User">User</a></span> <a href="src/Facebook-Object-User.html#line-49" class="link">Source</a></td><td class="doc empty">&nbsp;</td></tr><tr><td class="src clearfix"><span class="inst-left"><a href="file:///usr/share/doc/ghc-doc/html/libraries/base-4.8.2.0/Text-Show.html#t:Show">Show</a> <a href="Facebook.html#t:User">User</a></span> <a href="src/Facebook-Object-User.html#line-49" class="link">Source</a></td><td class="doc empty">&nbsp;</td></tr><tr><td class="src clearfix"><span class="inst-left"><a href="file:///usr/share/doc/libghc-aeson-doc/html/Data-Aeson-Types.html#t:FromJSON">FromJSON</a> <a href="Facebook.html#t:User">User</a></span> <a href="src/Facebook-Object-User.html#line-51" class="link">Source</a></td><td class="doc empty">&nbsp;</td></tr></table></div></div></div><div class="top"><p class="src"><span class="keyword">type</span> <a name="t:UserId" class="def">UserId</a> = <a href="Facebook.html#t:Id">Id</a> <a href="src/Facebook-Types.html#UserId" class="link">Source</a></p><div class="doc"><p>A Facebook user ID such as <code>1008905713901</code>.</p></div></div><div class="top"><p class="src"><span class="keyword">data</span> <a name="t:Gender" class="def">Gender</a> <a href="src/Facebook-Object-User.html#Gender" class="link">Source</a></p><div class="doc"><p>An user's gender.</p></div><div class="subs constructors"><p class="caption">Constructors</p><table><tr><td class="src"><a name="v:Male" class="def">Male</a></td><td class="doc empty">&nbsp;</td></tr><tr><td class="src"><a name="v:Female" class="def">Female</a></td><td class="doc empty">&nbsp;</td></tr></table></div><div class="subs instances"><p id="control.i:Gender" class="caption collapser" onclick="toggleSection('i:Gender')">Instances</p><div id="section.i:Gender" class="show"><table><tr><td class="src clearfix"><span class="inst-left"><a href="file:///usr/share/doc/ghc-doc/html/libraries/base-4.8.2.0/Prelude.html#t:Enum">Enum</a> <a href="Facebook.html#t:Gender">Gender</a></span> <a href="src/Facebook-Object-User.html#line-68" class="link">Source</a></td><td class="doc empty">&nbsp;</td></tr><tr><td class="src clearfix"><span class="inst-left"><a href="file:///usr/share/doc/ghc-doc/html/libraries/base-4.8.2.0/Data-Eq.html#t:Eq">Eq</a> <a href="Facebook.html#t:Gender">Gender</a></span> <a href="src/Facebook-Object-User.html#line-68" class="link">Source</a></td><td class="doc empty">&nbsp;</td></tr><tr><td class="src clearfix"><span class="inst-left"><a href="file:///usr/share/doc/ghc-doc/html/libraries/base-4.8.2.0/Data-Ord.html#t:Ord">Ord</a> <a href="Facebook.html#t:Gender">Gender</a></span> <a href="src/Facebook-Object-User.html#line-68" class="link">Source</a></td><td class="doc empty">&nbsp;</td></tr><tr><td class="src clearfix"><span class="inst-left"><a href="file:///usr/share/doc/ghc-doc/html/libraries/base-4.8.2.0/Text-Read.html#t:Read">Read</a> <a href="Facebook.html#t:Gender">Gender</a></span> <a href="src/Facebook-Object-User.html#line-68" class="link">Source</a></td><td class="doc empty">&nbsp;</td></tr><tr><td class="src clearfix"><span class="inst-left"><a href="file:///usr/share/doc/ghc-doc/html/libraries/base-4.8.2.0/Text-Show.html#t:Show">Show</a> <a href="Facebook.html#t:Gender">Gender</a></span> <a href="src/Facebook-Object-User.html#line-68" class="link">Source</a></td><td class="doc empty">&nbsp;</td></tr><tr><td class="src clearfix"><span class="inst-left"><a href="file:///usr/share/doc/libghc-aeson-doc/html/Data-Aeson-Types.html#t:ToJSON">ToJSON</a> <a href="Facebook.html#t:Gender">Gender</a></span> <a href="src/Facebook-Object-User.html#line-75" class="link">Source</a></td><td class="doc empty">&nbsp;</td></tr><tr><td class="src clearfix"><span class="inst-left"><a href="file:///usr/share/doc/libghc-aeson-doc/html/Data-Aeson-Types.html#t:FromJSON">FromJSON</a> <a href="Facebook.html#t:Gender">Gender</a></span> <a href="src/Facebook-Object-User.html#line-70" class="link">Source</a></td><td class="doc empty">&nbsp;</td></tr></table></div></div></div><div class="top"><p class="src"><a name="v:getUser" class="def">getUser</a> <a href="src/Facebook-Object-User.html#getUser" class="link">Source</a></p><div class="subs arguments"><p class="caption">Arguments</p><table><tr><td class="src">:: (<a href="file:///usr/share/doc/libghc-resourcet-doc/html/Control-Monad-Trans-Resource.html#t:MonadResource">MonadResource</a> m, <a href="file:///usr/share/doc/libghc-monad-control-doc/html/Control-Monad-Trans-Control.html#t:MonadBaseControl">MonadBaseControl</a> <a href="file:///usr/share/doc/ghc-doc/html/libraries/base-4.8.2.0/System-IO.html#t:IO">IO</a> m)</td><td class="doc empty">&nbsp;</td></tr><tr><td class="src">=&gt; <a href="Facebook.html#t:UserId">UserId</a></td><td class="doc"><p>User ID or <code>&quot;me&quot;</code>.</p></td></tr><tr><td class="src">-&gt; [<a href="Facebook.html#t:Argument">Argument</a>]</td><td class="doc"><p>Arguments to be passed to Facebook.</p></td></tr><tr><td class="src">-&gt; <a href="file:///usr/share/doc/ghc-doc/html/libraries/base-4.8.2.0/Data-Maybe.html#t:Maybe">Maybe</a> <a href="Facebook.html#t:UserAccessToken">UserAccessToken</a></td><td class="doc"><p>Optional user access token.</p></td></tr><tr><td class="src">-&gt; <a href="Facebook.html#t:FacebookT">FacebookT</a> anyAuth m <a href="Facebook.html#t:User">User</a></td><td class="doc empty">&nbsp;</td></tr></table></div><div class="doc"><p>Get an user using his user ID.  The user access token is
 optional, but when provided more information can be returned
 back by Facebook.  The user ID may be <code>&quot;me&quot;</code>, in which
 case you must provide an user access token and information
 about the token's owner is given.</p></div></div><div class="top"><p class="src"><a name="v:searchUsers" class="def">searchUsers</a> :: (<a href="file:///usr/share/doc/libghc-resourcet-doc/html/Control-Monad-Trans-Resource.html#t:MonadResource">MonadResource</a> m, <a href="file:///usr/share/doc/libghc-monad-control-doc/html/Control-Monad-Trans-Control.html#t:MonadBaseControl">MonadBaseControl</a> <a href="file:///usr/share/doc/ghc-doc/html/libraries/base-4.8.2.0/System-IO.html#t:IO">IO</a> m) =&gt; <a href="file:///usr/share/doc/libghc-text-doc/html/Data-Text.html#t:Text">Text</a> -&gt; [<a href="Facebook.html#t:Argument">Argument</a>] -&gt; <a href="file:///usr/share/doc/ghc-doc/html/libraries/base-4.8.2.0/Data-Maybe.html#t:Maybe">Maybe</a> <a href="Facebook.html#t:UserAccessToken">UserAccessToken</a> -&gt; <a href="Facebook.html#t:FacebookT">FacebookT</a> anyAuth m (<a href="Facebook.html#t:Pager">Pager</a> <a href="Facebook.html#t:User">User</a>) <a href="src/Facebook-Object-User.html#searchUsers" class="link">Source</a></p><div class="doc"><p>Search users by keyword.</p></div></div><div class="top"><p class="src"><a name="v:getUserCheckins" class="def">getUserCheckins</a> <a href="src/Facebook-Object-User.html#getUserCheckins" class="link">Source</a></p><div class="subs arguments"><p class="caption">Arguments</p><table><tr><td class="src">:: (<a href="file:///usr/share/doc/libghc-resourcet-doc/html/Control-Monad-Trans-Resource.html#t:MonadResource">MonadResource</a> m, <a href="file:///usr/share/doc/libghc-monad-control-doc/html/Control-Monad-Trans-Control.html#t:MonadBaseControl">MonadBaseControl</a> <a href="file:///usr/share/doc/ghc-doc/html/libraries/base-4.8.2.0/System-IO.html#t:IO">IO</a> m)</td><td class="doc empty">&nbsp;</td></tr><tr><td class="src">=&gt; <a href="Facebook.html#t:UserId">UserId</a></td><td class="doc"><p>User ID or <code>&quot;me&quot;</code>.</p></td></tr><tr><td class="src">-&gt; [<a href="Facebook.html#t:Argument">Argument</a>]</td><td class="doc"><p>Arguments to be passed to Facebook.</p></td></tr><tr><td class="src">-&gt; <a href="Facebook.html#t:UserAccessToken">UserAccessToken</a></td><td class="doc"><p>User access token.</p></td></tr><tr><td class="src">-&gt; <a href="Facebook.html#t:FacebookT">FacebookT</a> anyAuth m (<a href="Facebook.html#t:Pager">Pager</a> <a href="Facebook.html#t:Checkin">Checkin</a>)</td><td class="doc empty">&nbsp;</td></tr></table></div><div class="doc"><p>Get a list of check-ins made by a given user.</p></div></div><div class="top"><p class="src"><span class="keyword">data</span> <a name="t:Friend" class="def">Friend</a> <a href="src/Facebook-Object-User.html#Friend" class="link">Source</a></p><div class="doc"><p>A friend connection of a <code><a href="Facebook.html#t:User">User</a></code>.</p></div><div class="subs constructors"><p class="caption">Constructors</p><table><tr><td class="src"><a name="v:Friend" class="def">Friend</a></td><td class="doc empty">&nbsp;</td></tr><tr><td colspan="2"><div class="subs fields"><p class="caption">Fields</p><dl><dt class="src"><a name="v:friendId" class="def">friendId</a> :: <a href="Facebook.html#t:UserId">UserId</a></dt><dd class="doc empty">&nbsp;</dd><dt class="src"><a name="v:friendName" class="def">friendName</a> :: <a href="file:///usr/share/doc/libghc-text-doc/html/Data-Text.html#t:Text">Text</a></dt><dd class="doc empty">&nbsp;</dd></dl><div class="clear"></div></div></td></tr></table></div><div class="subs instances"><p id="control.i:Friend" class="caption collapser" onclick="toggleSection('i:Friend')">Instances</p><div id="section.i:Friend" class="show"><table><tr><td class="src clearfix"><span class="inst-left"><a href="file:///usr/share/doc/ghc-doc/html/libraries/base-4.8.2.0/Data-Eq.html#t:Eq">Eq</a> <a href="Facebook.html#t:Friend">Friend</a></span> <a href="src/Facebook-Object-User.html#line-121" class="link">Source</a></td><td class="doc empty">&nbsp;</td></tr><tr><td class="src clearfix"><span class="inst-left"><a href="file:///usr/share/doc/ghc-doc/html/libraries/base-4.8.2.0/Data-Ord.html#t:Ord">Ord</a> <a href="Facebook.html#t:Friend">Friend</a></span> <a href="src/Facebook-Object-User.html#line-121" class="link">Source</a></td><td class="doc empty">&nbsp;</td></tr><tr><td class="src clearfix"><span class="inst-left"><a href="file:///usr/share/doc/ghc-doc/html/libraries/base-4.8.2.0/Text-Read.html#t:Read">Read</a> <a href="Facebook.html#t:Friend">Friend</a></span> <a href="src/Facebook-Object-User.html#line-121" class="link">Source</a></td><td class="doc empty">&nbsp;</td></tr><tr><td class="src clearfix"><span class="inst-left"><a href="file:///usr/share/doc/ghc-doc/html/libraries/base-4.8.2.0/Text-Show.html#t:Show">Show</a> <a href="Facebook.html#t:Friend">Friend</a></span> <a href="src/Facebook-Object-User.html#line-121" class="link">Source</a></td><td class="doc empty">&nbsp;</td></tr><tr><td class="src clearfix"><span class="inst-left"><a href="file:///usr/share/doc/libghc-aeson-doc/html/Data-Aeson-Types.html#t:FromJSON">FromJSON</a> <a href="Facebook.html#t:Friend">Friend</a></span> <a href="src/Facebook-Object-User.html#line-123" class="link">Source</a></td><td class="doc empty">&nbsp;</td></tr></table></div></div></div><div class="top"><p class="src"><a name="v:getUserFriends" class="def">getUserFriends</a> <a href="src/Facebook-Object-User.html#getUserFriends" class="link">Source</a></p><div class="subs arguments"><p class="caption">Arguments</p><table><tr><td class="src">:: (<a href="file:///usr/share/doc/libghc-resourcet-doc/html/Control-Monad-Trans-Resource.html#t:MonadResource">MonadResource</a> m, <a href="file:///usr/share/doc/libghc-monad-control-doc/html/Control-Monad-Trans-Control.html#t:MonadBaseControl">MonadBaseControl</a> <a href="file:///usr/share/doc/ghc-doc/html/libraries/base-4.8.2.0/System-IO.html#t:IO">IO</a> m)</td><td class="doc empty">&nbsp;</td></tr><tr><td class="src">=&gt; <a href="Facebook.html#t:UserId">UserId</a></td><td class="doc"><p>User ID or <code>&quot;me&quot;</code>.</p></td></tr><tr><td class="src">-&gt; [<a href="Facebook.html#t:Argument">Argument</a>]</td><td class="doc"><p>Arguments to be passed to Facebook.</p></td></tr><tr><td class="src">-&gt; <a href="Facebook.html#t:UserAccessToken">UserAccessToken</a></td><td class="doc"><p>User access token.</p></td></tr><tr><td class="src">-&gt; <a href="Facebook.html#t:FacebookT">FacebookT</a> anyAuth m (<a href="Facebook.html#t:Pager">Pager</a> <a href="Facebook.html#t:Friend">Friend</a>)</td><td class="doc empty">&nbsp;</td></tr></table></div><div class="doc"><p>Get the list of friends of the given user.</p></div></div><div class="top"><p class="src"><a name="v:getUserFriendLists" class="def">getUserFriendLists</a> <a href="src/Facebook-Object-FriendList.html#getUserFriendLists" class="link">Source</a></p><div class="subs arguments"><p class="caption">Arguments</p><table><tr><td class="src">:: (<a href="file:///usr/share/doc/libghc-resourcet-doc/html/Control-Monad-Trans-Resource.html#t:MonadResource">MonadResource</a> m, <a href="file:///usr/share/doc/libghc-monad-control-doc/html/Control-Monad-Trans-Control.html#t:MonadBaseControl">MonadBaseControl</a> <a href="file:///usr/share/doc/ghc-doc/html/libraries/base-4.8.2.0/System-IO.html#t:IO">IO</a> m)</td><td class="doc empty">&nbsp;</td></tr><tr><td class="src">=&gt; <a href="Facebook.html#t:UserId">UserId</a></td><td class="doc"><p>User ID or <code>&quot;me&quot;</code>.</p></td></tr><tr><td class="src">-&gt; [<a href="Facebook.html#t:Argument">Argument</a>]</td><td class="doc"><p>Arguments to be passed to Facebook.</p></td></tr><tr><td class="src">-&gt; <a href="Facebook.html#t:UserAccessToken">UserAccessToken</a></td><td class="doc"><p>User access token.</p></td></tr><tr><td class="src">-&gt; <a href="Facebook.html#t:FacebookT">FacebookT</a> anyAuth m (<a href="Facebook.html#t:Pager">Pager</a> <a href="Facebook.html#t:FriendList">FriendList</a>)</td><td class="doc empty">&nbsp;</td></tr></table></div><div class="doc"><p>Get the friend lists of the given user.</p></div></div><h2 id="g:10">Page</h2><div class="top"><p class="src"><span class="keyword">data</span> <a name="t:Page" class="def">Page</a> <a href="src/Facebook-Object-Page.html#Page" class="link">Source</a></p><div class="doc"><p>A Facebook page (see
 <a href="https://developers.facebook.com/docs/reference/api/page/">https://developers.facebook.com/docs/reference/api/page/</a>).</p><p><em>NOTE:</em> Does not yet support all fields. Please file an issue if
 you need any other fields.</p></div><div class="subs constructors"><p class="caption">Constructors</p><table><tr><td class="src"><a name="v:Page" class="def">Page</a></td><td class="doc empty">&nbsp;</td></tr><tr><td colspan="2"><div class="subs fields"><p class="caption">Fields</p><dl><dt class="src"><a name="v:pageId" class="def">pageId</a> :: <a href="Facebook.html#t:Id">Id</a></dt><dd class="doc empty">&nbsp;</dd><dt class="src"><a name="v:pageName" class="def">pageName</a> :: <a href="file:///usr/share/doc/ghc-doc/html/libraries/base-4.8.2.0/Data-Maybe.html#t:Maybe">Maybe</a> <a href="file:///usr/share/doc/libghc-text-doc/html/Data-Text.html#t:Text">Text</a></dt><dd class="doc empty">&nbsp;</dd><dt class="src"><a name="v:pageLink" class="def">pageLink</a> :: <a href="file:///usr/share/doc/ghc-doc/html/libraries/base-4.8.2.0/Data-Maybe.html#t:Maybe">Maybe</a> <a href="file:///usr/share/doc/libghc-text-doc/html/Data-Text.html#t:Text">Text</a></dt><dd class="doc empty">&nbsp;</dd><dt class="src"><a name="v:pageCategory" class="def">pageCategory</a> :: <a href="file:///usr/share/doc/ghc-doc/html/libraries/base-4.8.2.0/Data-Maybe.html#t:Maybe">Maybe</a> <a href="file:///usr/share/doc/libghc-text-doc/html/Data-Text.html#t:Text">Text</a></dt><dd class="doc empty">&nbsp;</dd><dt class="src"><a name="v:pageIsPublished" class="def">pageIsPublished</a> :: <a href="file:///usr/share/doc/ghc-doc/html/libraries/base-4.8.2.0/Data-Maybe.html#t:Maybe">Maybe</a> <a href="file:///usr/share/doc/ghc-doc/html/libraries/base-4.8.2.0/Data-Bool.html#t:Bool">Bool</a></dt><dd class="doc empty">&nbsp;</dd><dt class="src"><a name="v:pageCanPost" class="def">pageCanPost</a> :: <a href="file:///usr/share/doc/ghc-doc/html/libraries/base-4.8.2.0/Data-Maybe.html#t:Maybe">Maybe</a> <a href="file:///usr/share/doc/ghc-doc/html/libraries/base-4.8.2.0/Data-Bool.html#t:Bool">Bool</a></dt><dd class="doc empty">&nbsp;</dd><dt class="src"><a name="v:pageLikes" class="def">pageLikes</a> :: <a href="file:///usr/share/doc/ghc-doc/html/libraries/base-4.8.2.0/Data-Maybe.html#t:Maybe">Maybe</a> <a href="file:///usr/share/doc/ghc-doc/html/libraries/base-4.8.2.0/Prelude.html#t:Integer">Integer</a></dt><dd class="doc empty">&nbsp;</dd><dt class="src"><a name="v:pageLocation" class="def">pageLocation</a> :: <a href="file:///usr/share/doc/ghc-doc/html/libraries/base-4.8.2.0/Data-Maybe.html#t:Maybe">Maybe</a> <a href="Facebook.html#t:Location">Location</a></dt><dd class="doc empty">&nbsp;</dd><dt class="src"><a name="v:pagePhone" class="def">pagePhone</a> :: <a href="file:///usr/share/doc/ghc-doc/html/libraries/base-4.8.2.0/Data-Maybe.html#t:Maybe">Maybe</a> <a href="file:///usr/share/doc/libghc-text-doc/html/Data-Text.html#t:Text">Text</a></dt><dd class="doc empty">&nbsp;</dd><dt class="src"><a name="v:pageCheckins" class="def">pageCheckins</a> :: <a href="file:///usr/share/doc/ghc-doc/html/libraries/base-4.8.2.0/Data-Maybe.html#t:Maybe">Maybe</a> <a href="file:///usr/share/doc/ghc-doc/html/libraries/base-4.8.2.0/Prelude.html#t:Integer">Integer</a></dt><dd class="doc empty">&nbsp;</dd><dt class="src"><a name="v:pagePicture" class="def">pagePicture</a> :: <a href="file:///usr/share/doc/ghc-doc/html/libraries/base-4.8.2.0/Data-Maybe.html#t:Maybe">Maybe</a> <a href="file:///usr/share/doc/libghc-text-doc/html/Data-Text.html#t:Text">Text</a></dt><dd class="doc empty">&nbsp;</dd><dt class="src"><a name="v:pageWebsite" class="def">pageWebsite</a> :: <a href="file:///usr/share/doc/ghc-doc/html/libraries/base-4.8.2.0/Data-Maybe.html#t:Maybe">Maybe</a> <a href="file:///usr/share/doc/libghc-text-doc/html/Data-Text.html#t:Text">Text</a></dt><dd class="doc empty">&nbsp;</dd><dt class="src"><a name="v:pageTalkingAboutCount" class="def">pageTalkingAboutCount</a> :: <a href="file:///usr/share/doc/ghc-doc/html/libraries/base-4.8.2.0/Data-Maybe.html#t:Maybe">Maybe</a> <a href="file:///usr/share/doc/ghc-doc/html/libraries/base-4.8.2.0/Prelude.html#t:Integer">Integer</a></dt><dd class="doc empty">&nbsp;</dd></dl><div class="clear"></div></div></td></tr></table></div><div class="subs instances"><p id="control.i:Page" class="caption collapser" onclick="toggleSection('i:Page')">Instances</p><div id="section.i:Page" class="show"><table><tr><td class="src clearfix"><span class="inst-left"><a href="file:///usr/share/doc/ghc-doc/html/libraries/base-4.8.2.0/Data-Eq.html#t:Eq">Eq</a> <a href="Facebook.html#t:Page">Page</a></span> <a href="src/Facebook-Object-Page.html#line-43" class="link">Source</a></td><td class="doc empty">&nbsp;</td></tr><tr><td class="src clearfix"><span class="inst-left"><a href="file:///usr/share/doc/ghc-doc/html/libraries/base-4.8.2.0/Data-Ord.html#t:Ord">Ord</a> <a href="Facebook.html#t:Page">Page</a></span> <a href="src/Facebook-Object-Page.html#line-43" class="link">Source</a></td><td class="doc empty">&nbsp;</td></tr><tr><td class="src clearfix"><span class="inst-left"><a href="file:///usr/share/doc/ghc-doc/html/libraries/base-4.8.2.0/Text-Read.html#t:Read">Read</a> <a href="Facebook.html#t:Page">Page</a></span> <a href="src/Facebook-Object-Page.html#line-43" class="link">Source</a></td><td class="doc empty">&nbsp;</td></tr><tr><td class="src clearfix"><span class="inst-left"><a href="file:///usr/share/doc/ghc-doc/html/libraries/base-4.8.2.0/Text-Show.html#t:Show">Show</a> <a href="Facebook.html#t:Page">Page</a></span> <a href="src/Facebook-Object-Page.html#line-43" class="link">Source</a></td><td class="doc empty">&nbsp;</td></tr><tr><td class="src clearfix"><span class="inst-left"><a href="file:///usr/share/doc/libghc-aeson-doc/html/Data-Aeson-Types.html#t:FromJSON">FromJSON</a> <a href="Facebook.html#t:Page">Page</a></span> <a href="src/Facebook-Object-Page.html#line-45" class="link">Source</a></td><td class="doc empty">&nbsp;</td></tr></table></div></div></div><div class="top"><p class="src"><a name="v:getPage" class="def">getPage</a> <a href="src/Facebook-Object-Page.html#getPage" class="link">Source</a></p><div class="subs arguments"><p class="caption">Arguments</p><table><tr><td class="src">:: (<a href="file:///usr/share/doc/libghc-resourcet-doc/html/Control-Monad-Trans-Resource.html#t:MonadResource">MonadResource</a> m, <a href="file:///usr/share/doc/libghc-monad-control-doc/html/Control-Monad-Trans-Control.html#t:MonadBaseControl">MonadBaseControl</a> <a href="file:///usr/share/doc/ghc-doc/html/libraries/base-4.8.2.0/System-IO.html#t:IO">IO</a> m)</td><td class="doc empty">&nbsp;</td></tr><tr><td class="src">=&gt; <a href="Facebook.html#t:Id">Id</a></td><td class="doc"><p>Page ID</p></td></tr><tr><td class="src">-&gt; [<a href="Facebook.html#t:Argument">Argument</a>]</td><td class="doc"><p>Arguments to be passed to Facebook</p></td></tr><tr><td class="src">-&gt; <a href="file:///usr/share/doc/ghc-doc/html/libraries/base-4.8.2.0/Data-Maybe.html#t:Maybe">Maybe</a> <a href="Facebook.html#t:UserAccessToken">UserAccessToken</a></td><td class="doc"><p>Optional user access token</p></td></tr><tr><td class="src">-&gt; <a href="Facebook.html#t:FacebookT">FacebookT</a> anyAuth m <a href="Facebook.html#t:Page">Page</a></td><td class="doc empty">&nbsp;</td></tr></table></div><div class="doc"><p>Get a page using its ID. The user access token is optional.</p></div></div><div class="top"><p class="src"><a name="v:searchPages" class="def">searchPages</a> <a href="src/Facebook-Object-Page.html#searchPages" class="link">Source</a></p><div class="subs arguments"><p class="caption">Arguments</p><table><tr><td class="src">:: (<a href="file:///usr/share/doc/libghc-resourcet-doc/html/Control-Monad-Trans-Resource.html#t:MonadResource">MonadResource</a> m, <a href="file:///usr/share/doc/libghc-monad-control-doc/html/Control-Monad-Trans-Control.html#t:MonadBaseControl">MonadBaseControl</a> <a href="file:///usr/share/doc/ghc-doc/html/libraries/base-4.8.2.0/System-IO.html#t:IO">IO</a> m)</td><td class="doc empty">&nbsp;</td></tr><tr><td class="src">=&gt; <a href="file:///usr/share/doc/libghc-text-doc/html/Data-Text.html#t:Text">Text</a></td><td class="doc"><p>Keyword to search for</p></td></tr><tr><td class="src">-&gt; [<a href="Facebook.html#t:Argument">Argument</a>]</td><td class="doc"><p>Arguments to pass to Facebook</p></td></tr><tr><td class="src">-&gt; <a href="file:///usr/share/doc/ghc-doc/html/libraries/base-4.8.2.0/Data-Maybe.html#t:Maybe">Maybe</a> <a href="Facebook.html#t:UserAccessToken">UserAccessToken</a></td><td class="doc"><p>Optional user access token</p></td></tr><tr><td class="src">-&gt; <a href="Facebook.html#t:FacebookT">FacebookT</a> anyAuth m (<a href="Facebook.html#t:Pager">Pager</a> <a href="Facebook.html#t:Page">Page</a>)</td><td class="doc empty">&nbsp;</td></tr></table></div><div class="doc"><p>Search pages by keyword. The user access token is optional.</p></div></div><h2 id="g:11">Actions</h2><div class="top"><p class="src"><span class="keyword">data</span> <a name="t:Action" class="def">Action</a> <a href="src/Facebook-Object-Action.html#Action" class="link">Source</a></p><div class="doc"><p>An action of your app.  Please refer to Facebook's
 documentation at
 <a href="https://developers.facebook.com/docs/opengraph/keyconcepts/#actions-objects">https://developers.facebook.com/docs/opengraph/keyconcepts/#actions-objects</a>
 to see how you can create actions.</p><p>This is a <code>newtype</code> of <code><a href="file:///usr/share/doc/libghc-text-doc/html/Data-Text.html#t:Text">Text</a></code> that supports only <code><a href="file:///usr/share/doc/ghc-doc/html/libraries/base-4.8.2.0/Data-String.html#t:IsString">IsString</a></code>.
 This means that to create an <code><a href="Facebook.html#t:Action">Action</a></code> you should use the
 <code>OverloadedStrings</code> language extension.  For example,</p><pre>{-# LANGUAGE OverloadedStrings #-}

foo token = do
  ...
  createAction &quot;cook&quot; [...] token</pre></div><div class="subs instances"><p id="control.i:Action" class="caption collapser" onclick="toggleSection('i:Action')">Instances</p><div id="section.i:Action" class="show"><table><tr><td class="src clearfix"><span class="inst-left"><a href="file:///usr/share/doc/ghc-doc/html/libraries/base-4.8.2.0/Data-Eq.html#t:Eq">Eq</a> <a href="Facebook.html#t:Action">Action</a></span> <a href="src/Facebook-Object-Action.html#line-67" class="link">Source</a></td><td class="doc"><p>Since 0.7.1</p></td></tr><tr><td class="src clearfix"><span class="inst-left"><a href="file:///usr/share/doc/ghc-doc/html/libraries/base-4.8.2.0/Data-Ord.html#t:Ord">Ord</a> <a href="Facebook.html#t:Action">Action</a></span> <a href="src/Facebook-Object-Action.html#line-72" class="link">Source</a></td><td class="doc"><p>Since 0.7.1</p></td></tr><tr><td class="src clearfix"><span class="inst-left"><a href="file:///usr/share/doc/ghc-doc/html/libraries/base-4.8.2.0/Text-Read.html#t:Read">Read</a> <a href="Facebook.html#t:Action">Action</a></span> <a href="src/Facebook-Object-Action.html#line-80" class="link">Source</a></td><td class="doc"><p>Since 0.7.1</p></td></tr><tr><td class="src clearfix"><span class="inst-left"><a href="file:///usr/share/doc/ghc-doc/html/libraries/base-4.8.2.0/Text-Show.html#t:Show">Show</a> <a href="Facebook.html#t:Action">Action</a></span> <a href="src/Facebook-Object-Action.html#line-63" class="link">Source</a></td><td class="doc empty">&nbsp;</td></tr><tr><td class="src clearfix"><span class="inst-left"><a href="file:///usr/share/doc/ghc-doc/html/libraries/base-4.8.2.0/Data-String.html#t:IsString">IsString</a> <a href="Facebook.html#t:Action">Action</a></span> <a href="src/Facebook-Object-Action.html#line-83" class="link">Source</a></td><td class="doc empty">&nbsp;</td></tr></table></div></div></div><div class="top"><p class="src"><a name="v:createAction" class="def">createAction</a> <a href="src/Facebook-Object-Action.html#createAction" class="link">Source</a></p><div class="subs arguments"><p class="caption">Arguments</p><table><tr><td class="src">:: (<a href="file:///usr/share/doc/libghc-resourcet-doc/html/Control-Monad-Trans-Resource.html#t:MonadResource">MonadResource</a> m, <a href="file:///usr/share/doc/libghc-monad-control-doc/html/Control-Monad-Trans-Control.html#t:MonadBaseControl">MonadBaseControl</a> <a href="file:///usr/share/doc/ghc-doc/html/libraries/base-4.8.2.0/System-IO.html#t:IO">IO</a> m)</td><td class="doc empty">&nbsp;</td></tr><tr><td class="src">=&gt; <a href="Facebook.html#t:Action">Action</a></td><td class="doc"><p>Action kind to be created.</p></td></tr><tr><td class="src">-&gt; [<a href="Facebook.html#t:Argument">Argument</a>]</td><td class="doc"><p>Arguments of the action.</p></td></tr><tr><td class="src">-&gt; <a href="file:///usr/share/doc/ghc-doc/html/libraries/base-4.8.2.0/Data-Maybe.html#t:Maybe">Maybe</a> <a href="Facebook.html#t:AppAccessToken">AppAccessToken</a></td><td class="doc"><p>Optional app access token (optional with
 respect to this library, since you can't make
 this mandatory by changing the settings of
 your action on Facebook).</p></td></tr><tr><td class="src">-&gt; <a href="Facebook.html#t:UserAccessToken">UserAccessToken</a></td><td class="doc"><p>Required user access token.</p></td></tr><tr><td class="src">-&gt; <a href="Facebook.html#t:FacebookT">FacebookT</a> <a href="Facebook.html#t:Auth">Auth</a> m <a href="Facebook.html#t:Id">Id</a></td><td class="doc empty">&nbsp;</td></tr></table></div><div class="doc"><p>Creates an Open Graph action on the user's timeline. Returns
 the <code><a href="Facebook.html#t:Id">Id</a></code> of the newly created action.  For example:</p><pre>now &lt;- liftIO getCurrentTime
createAction &quot;cook&quot;
             [ &quot;recipe&quot; #= &quot;http://example.com/cookie.html&quot;
             , &quot;when&quot;   #= now ]
             token</pre></div></div><h2 id="g:12">Checkins</h2><div class="top"><p class="src"><span class="keyword">data</span> <a name="t:Checkin" class="def">Checkin</a> <a href="src/Facebook-Object-Checkin.html#Checkin" class="link">Source</a></p><div class="doc"><p>A Facebook check-in (see
 <a href="https://developers.facebook.com/docs/reference/api/checkin/">https://developers.facebook.com/docs/reference/api/checkin/</a>).</p><p><em>NOTE:</em> We still don't support all fields supported by
 Facebook. Please fill an issue if you need access to any other
 fields.</p></div><div class="subs constructors"><p class="caption">Constructors</p><table><tr><td class="src"><a name="v:Checkin" class="def">Checkin</a></td><td class="doc empty">&nbsp;</td></tr><tr><td colspan="2"><div class="subs fields"><p class="caption">Fields</p><dl><dt class="src"><a name="v:checkinId" class="def">checkinId</a> :: <a href="Facebook.html#t:Id">Id</a></dt><dd class="doc empty">&nbsp;</dd><dt class="src"><a name="v:checkinFrom" class="def">checkinFrom</a> :: <a href="file:///usr/share/doc/ghc-doc/html/libraries/base-4.8.2.0/Data-Maybe.html#t:Maybe">Maybe</a> <a href="Facebook.html#t:CheckinFrom">CheckinFrom</a></dt><dd class="doc empty">&nbsp;</dd><dt class="src"><a name="v:checkinPlace" class="def">checkinPlace</a> :: <a href="file:///usr/share/doc/ghc-doc/html/libraries/base-4.8.2.0/Data-Maybe.html#t:Maybe">Maybe</a> <a href="Facebook.html#t:Place">Place</a></dt><dd class="doc empty">&nbsp;</dd><dt class="src"><a name="v:checkinCreatedTime" class="def">checkinCreatedTime</a> :: <a href="file:///usr/share/doc/ghc-doc/html/libraries/base-4.8.2.0/Data-Maybe.html#t:Maybe">Maybe</a> <a href="file:///usr/share/doc/ghc-doc/html/libraries/time-1.5.0.1/Data-Time-Clock.html#t:UTCTime">UTCTime</a></dt><dd class="doc empty">&nbsp;</dd><dt class="src"><a name="v:checkinTags" class="def">checkinTags</a> :: <a href="file:///usr/share/doc/ghc-doc/html/libraries/base-4.8.2.0/Data-Maybe.html#t:Maybe">Maybe</a> (<a href="Facebook.html#t:Pager">Pager</a> <a href="Facebook.html#t:Tag">Tag</a>)</dt><dd class="doc empty">&nbsp;</dd><dt class="src"><a name="v:checkinMessage" class="def">checkinMessage</a> :: <a href="file:///usr/share/doc/ghc-doc/html/libraries/base-4.8.2.0/Data-Maybe.html#t:Maybe">Maybe</a> <a href="file:///usr/share/doc/libghc-text-doc/html/Data-Text.html#t:Text">Text</a></dt><dd class="doc empty">&nbsp;</dd></dl><div class="clear"></div></div></td></tr></table></div><div class="subs instances"><p id="control.i:Checkin" class="caption collapser" onclick="toggleSection('i:Checkin')">Instances</p><div id="section.i:Checkin" class="show"><table><tr><td class="src clearfix"><span class="inst-left"><a href="file:///usr/share/doc/ghc-doc/html/libraries/base-4.8.2.0/Data-Eq.html#t:Eq">Eq</a> <a href="Facebook.html#t:Checkin">Checkin</a></span> <a href="src/Facebook-Object-Checkin.html#line-41" class="link">Source</a></td><td class="doc empty">&nbsp;</td></tr><tr><td class="src clearfix"><span class="inst-left"><a href="file:///usr/share/doc/ghc-doc/html/libraries/base-4.8.2.0/Data-Ord.html#t:Ord">Ord</a> <a href="Facebook.html#t:Checkin">Checkin</a></span> <a href="src/Facebook-Object-Checkin.html#line-41" class="link">Source</a></td><td class="doc empty">&nbsp;</td></tr><tr><td class="src clearfix"><span class="inst-left"><a href="file:///usr/share/doc/ghc-doc/html/libraries/base-4.8.2.0/Text-Read.html#t:Read">Read</a> <a href="Facebook.html#t:Checkin">Checkin</a></span> <a href="src/Facebook-Object-Checkin.html#line-41" class="link">Source</a></td><td class="doc empty">&nbsp;</td></tr><tr><td class="src clearfix"><span class="inst-left"><a href="file:///usr/share/doc/ghc-doc/html/libraries/base-4.8.2.0/Text-Show.html#t:Show">Show</a> <a href="Facebook.html#t:Checkin">Checkin</a></span> <a href="src/Facebook-Object-Checkin.html#line-41" class="link">Source</a></td><td class="doc empty">&nbsp;</td></tr><tr><td class="src clearfix"><span class="inst-left"><a href="file:///usr/share/doc/libghc-aeson-doc/html/Data-Aeson-Types.html#t:FromJSON">FromJSON</a> <a href="Facebook.html#t:Checkin">Checkin</a></span> <a href="src/Facebook-Object-Checkin.html#line-43" class="link">Source</a></td><td class="doc empty">&nbsp;</td></tr></table></div></div></div><div class="top"><p class="src"><span class="keyword">data</span> <a name="t:CheckinFrom" class="def">CheckinFrom</a> <a href="src/Facebook-Object-Checkin.html#CheckinFrom" class="link">Source</a></p><div class="doc"><p>Information about the user who made the check-in.</p></div><div class="subs constructors"><p class="caption">Constructors</p><table><tr><td class="src"><a name="v:CheckinFrom" class="def">CheckinFrom</a></td><td class="doc empty">&nbsp;</td></tr><tr><td colspan="2"><div class="subs fields"><p class="caption">Fields</p><dl><dt class="src"><a name="v:checkinFromId" class="def">checkinFromId</a> :: <a href="Facebook.html#t:UserId">UserId</a></dt><dd class="doc empty">&nbsp;</dd><dt class="src"><a name="v:checkinFromName" class="def">checkinFromName</a> :: <a href="file:///usr/share/doc/libghc-text-doc/html/Data-Text.html#t:Text">Text</a></dt><dd class="doc empty">&nbsp;</dd></dl><div class="clear"></div></div></td></tr></table></div><div class="subs instances"><p id="control.i:CheckinFrom" class="caption collapser" onclick="toggleSection('i:CheckinFrom')">Instances</p><div id="section.i:CheckinFrom" class="show"><table><tr><td class="src clearfix"><span class="inst-left"><a href="file:///usr/share/doc/ghc-doc/html/libraries/base-4.8.2.0/Data-Eq.html#t:Eq">Eq</a> <a href="Facebook.html#t:CheckinFrom">CheckinFrom</a></span> <a href="src/Facebook-Object-Checkin.html#line-59" class="link">Source</a></td><td class="doc empty">&nbsp;</td></tr><tr><td class="src clearfix"><span class="inst-left"><a href="file:///usr/share/doc/ghc-doc/html/libraries/base-4.8.2.0/Data-Ord.html#t:Ord">Ord</a> <a href="Facebook.html#t:CheckinFrom">CheckinFrom</a></span> <a href="src/Facebook-Object-Checkin.html#line-59" class="link">Source</a></td><td class="doc empty">&nbsp;</td></tr><tr><td class="src clearfix"><span class="inst-left"><a href="file:///usr/share/doc/ghc-doc/html/libraries/base-4.8.2.0/Text-Read.html#t:Read">Read</a> <a href="Facebook.html#t:CheckinFrom">CheckinFrom</a></span> <a href="src/Facebook-Object-Checkin.html#line-59" class="link">Source</a></td><td class="doc empty">&nbsp;</td></tr><tr><td class="src clearfix"><span class="inst-left"><a href="file:///usr/share/doc/ghc-doc/html/libraries/base-4.8.2.0/Text-Show.html#t:Show">Show</a> <a href="Facebook.html#t:CheckinFrom">CheckinFrom</a></span> <a href="src/Facebook-Object-Checkin.html#line-59" class="link">Source</a></td><td class="doc empty">&nbsp;</td></tr><tr><td class="src clearfix"><span class="inst-left"><a href="file:///usr/share/doc/libghc-aeson-doc/html/Data-Aeson-Types.html#t:FromJSON">FromJSON</a> <a href="Facebook.html#t:CheckinFrom">CheckinFrom</a></span> <a href="src/Facebook-Object-Checkin.html#line-61" class="link">Source</a></td><td class="doc empty">&nbsp;</td></tr></table></div></div></div><div class="top"><p class="src"><a name="v:getCheckin" class="def">getCheckin</a> <a href="src/Facebook-Object-Checkin.html#getCheckin" class="link">Source</a></p><div class="subs arguments"><p class="caption">Arguments</p><table><tr><td class="src">:: (<a href="file:///usr/share/doc/libghc-resourcet-doc/html/Control-Monad-Trans-Resource.html#t:MonadResource">MonadResource</a> m, <a href="file:///usr/share/doc/libghc-monad-control-doc/html/Control-Monad-Trans-Control.html#t:MonadBaseControl">MonadBaseControl</a> <a href="file:///usr/share/doc/ghc-doc/html/libraries/base-4.8.2.0/System-IO.html#t:IO">IO</a> m)</td><td class="doc empty">&nbsp;</td></tr><tr><td class="src">=&gt; <a href="Facebook.html#t:Id">Id</a></td><td class="doc"><p>Checkin ID.</p></td></tr><tr><td class="src">-&gt; [<a href="Facebook.html#t:Argument">Argument</a>]</td><td class="doc"><p>Arguments to be passed to Facebook.</p></td></tr><tr><td class="src">-&gt; <a href="file:///usr/share/doc/ghc-doc/html/libraries/base-4.8.2.0/Data-Maybe.html#t:Maybe">Maybe</a> <a href="Facebook.html#t:UserAccessToken">UserAccessToken</a></td><td class="doc"><p>Optional user access token.</p></td></tr><tr><td class="src">-&gt; <a href="Facebook.html#t:FacebookT">FacebookT</a> anyAuth m <a href="Facebook.html#t:Checkin">Checkin</a></td><td class="doc empty">&nbsp;</td></tr></table></div><div class="doc"><p>Get a checkin from its ID.  The user access token is
 optional, but when provided more information can be returned
 back by Facebook.</p></div></div><div class="top"><p class="src"><a name="v:createCheckin" class="def">createCheckin</a> <a href="src/Facebook-Object-Checkin.html#createCheckin" class="link">Source</a></p><div class="subs arguments"><p class="caption">Arguments</p><table><tr><td class="src">:: (<a href="file:///usr/share/doc/libghc-resourcet-doc/html/Control-Monad-Trans-Resource.html#t:MonadResource">MonadResource</a> m, <a href="file:///usr/share/doc/libghc-monad-control-doc/html/Control-Monad-Trans-Control.html#t:MonadBaseControl">MonadBaseControl</a> <a href="file:///usr/share/doc/ghc-doc/html/libraries/base-4.8.2.0/System-IO.html#t:IO">IO</a> m)</td><td class="doc empty">&nbsp;</td></tr><tr><td class="src">=&gt; <a href="Facebook.html#t:Id">Id</a></td><td class="doc"><p>Place ID.</p></td></tr><tr><td class="src">-&gt; <a href="Facebook.html#t:GeoCoordinates">GeoCoordinates</a></td><td class="doc"><p>Coordinates.</p></td></tr><tr><td class="src">-&gt; [<a href="Facebook.html#t:Argument">Argument</a>]</td><td class="doc"><p>Other arguments of the action.</p></td></tr><tr><td class="src">-&gt; <a href="Facebook.html#t:UserAccessToken">UserAccessToken</a></td><td class="doc"><p>Required user access token.</p></td></tr><tr><td class="src">-&gt; <a href="Facebook.html#t:FacebookT">FacebookT</a> <a href="Facebook.html#t:Auth">Auth</a> m <a href="Facebook.html#t:Id">Id</a></td><td class="doc empty">&nbsp;</td></tr></table></div><div class="doc"><p>Creates a 'check-in' and returns its ID. Place and
 coordinates are both required by Facebook.</p></div></div><h2 id="g:13">Order</h2><div class="top"><p class="src"><span class="keyword">data</span> <a name="t:Order" class="def">Order</a> <a href="src/Facebook-Object-Order.html#Order" class="link">Source</a></p><div class="doc"><p>A Facebook <code>Order</code> oject.</p></div><div class="subs constructors"><p class="caption">Constructors</p><table><tr><td class="src"><a name="v:Order" class="def">Order</a></td><td class="doc empty">&nbsp;</td></tr><tr><td colspan="2"><div class="subs fields"><p class="caption">Fields</p><dl><dt class="src"><a name="v:orderId" class="def">orderId</a> :: <a href="Facebook.html#t:OrderId">OrderId</a></dt><dd class="doc empty">&nbsp;</dd><dt class="src"><a name="v:orderFrom" class="def">orderFrom</a> :: <a href="Facebook.html#t:UserId">UserId</a></dt><dd class="doc empty">&nbsp;</dd><dt class="src"><a name="v:orderTo" class="def">orderTo</a> :: <a href="Facebook.html#t:UserId">UserId</a></dt><dd class="doc empty">&nbsp;</dd><dt class="src"><a name="v:orderAmount" class="def">orderAmount</a> :: <a href="file:///usr/share/doc/ghc-doc/html/libraries/base-4.8.2.0/Prelude.html#t:Integer">Integer</a></dt><dd class="doc empty">&nbsp;</dd><dt class="src"><a name="v:orderStatus" class="def">orderStatus</a> :: <a href="Facebook.html#t:OrderStatus">OrderStatus</a></dt><dd class="doc empty">&nbsp;</dd><dt class="src"><a name="v:orderApplication" class="def">orderApplication</a> :: <a href="Facebook.html#t:OrderApplication">OrderApplication</a></dt><dd class="doc empty">&nbsp;</dd><dt class="src"><a name="v:orderCountry" class="def">orderCountry</a> :: <a href="file:///usr/share/doc/libghc-text-doc/html/Data-Text.html#t:Text">Text</a></dt><dd class="doc empty">&nbsp;</dd><dt class="src"><a name="v:orderRefundCode" class="def">orderRefundCode</a> :: <a href="file:///usr/share/doc/ghc-doc/html/libraries/base-4.8.2.0/Data-Maybe.html#t:Maybe">Maybe</a> <a href="file:///usr/share/doc/libghc-text-doc/html/Data-Text.html#t:Text">Text</a></dt><dd class="doc empty">&nbsp;</dd><dt class="src"><a name="v:orderCreatedTime" class="def">orderCreatedTime</a> :: <a href="file:///usr/share/doc/ghc-doc/html/libraries/time-1.5.0.1/Data-Time-LocalTime.html#t:ZonedTime">ZonedTime</a></dt><dd class="doc empty">&nbsp;</dd><dt class="src"><a name="v:orderUpdatedTime" class="def">orderUpdatedTime</a> :: <a href="file:///usr/share/doc/ghc-doc/html/libraries/time-1.5.0.1/Data-Time-LocalTime.html#t:ZonedTime">ZonedTime</a></dt><dd class="doc empty">&nbsp;</dd></dl><div class="clear"></div></div></td></tr></table></div><div class="subs instances"><p id="control.i:Order" class="caption collapser" onclick="toggleSection('i:Order')">Instances</p><div id="section.i:Order" class="show"><table><tr><td class="src clearfix"><span class="inst-left"><a href="file:///usr/share/doc/ghc-doc/html/libraries/base-4.8.2.0/Text-Show.html#t:Show">Show</a> <a href="Facebook.html#t:Order">Order</a></span> <a href="src/Facebook-Object-Order.html#line-40" class="link">Source</a></td><td class="doc empty">&nbsp;</td></tr><tr><td class="src clearfix"><span class="inst-left"><a href="file:///usr/share/doc/libghc-aeson-doc/html/Data-Aeson-Types.html#t:FromJSON">FromJSON</a> <a href="Facebook.html#t:Order">Order</a></span> <a href="src/Facebook-Object-Order.html#line-63" class="link">Source</a></td><td class="doc empty">&nbsp;</td></tr></table></div></div></div><div class="top"><p class="src"><span class="keyword">type</span> <a name="t:OrderId" class="def">OrderId</a> = <a href="Facebook.html#t:Id">Id</a> <a href="src/Facebook-Object-Order.html#OrderId" class="link">Source</a></p><div class="doc"><p><code><a href="Facebook.html#t:Order">Order</a></code> Id type.</p></div></div><div class="top"><p class="src"><span class="keyword">data</span> <a name="t:OrderApplication" class="def">OrderApplication</a> <a href="src/Facebook-Object-Order.html#OrderApplication" class="link">Source</a></p><div class="doc"><p>A trimmed down version of Facebook Application as it is used in <code><a href="Facebook.html#t:Order">Order</a></code>.</p></div><div class="subs instances"><p id="control.i:OrderApplication" class="caption collapser" onclick="toggleSection('i:OrderApplication')">Instances</p><div id="section.i:OrderApplication" class="show"><table><tr><td class="src clearfix"><span class="inst-left"><a href="file:///usr/share/doc/ghc-doc/html/libraries/base-4.8.2.0/Text-Show.html#t:Show">Show</a> <a href="Facebook.html#t:OrderApplication">OrderApplication</a></span> <a href="src/Facebook-Object-Order.html#line-55" class="link">Source</a></td><td class="doc empty">&nbsp;</td></tr><tr><td class="src clearfix"><span class="inst-left"><a href="file:///usr/share/doc/libghc-aeson-doc/html/Data-Aeson-Types.html#t:FromJSON">FromJSON</a> <a href="Facebook.html#t:OrderApplication">OrderApplication</a></span> <a href="src/Facebook-Object-Order.html#line-57" class="link">Source</a></td><td class="doc empty">&nbsp;</td></tr></table></div></div></div><div class="top"><p class="src"><span class="keyword">data</span> <a name="t:OrderStatus" class="def">OrderStatus</a> <a href="src/Facebook-Object-Order.html#OrderStatus" class="link">Source</a></p><div class="doc"><p>A Facebook <code><a href="Facebook.html#t:Order">Order</a></code> status type.</p></div><div class="subs instances"><p id="control.i:OrderStatus" class="caption collapser" onclick="toggleSection('i:OrderStatus')">Instances</p><div id="section.i:OrderStatus" class="show"><table><tr><td class="src clearfix"><span class="inst-left"><a href="file:///usr/share/doc/ghc-doc/html/libraries/base-4.8.2.0/Prelude.html#t:Enum">Enum</a> <a href="Facebook.html#t:OrderStatus">OrderStatus</a></span> <a href="src/Facebook-Object-Order.html#line-49" class="link">Source</a></td><td class="doc empty">&nbsp;</td></tr><tr><td class="src clearfix"><span class="inst-left"><a href="file:///usr/share/doc/ghc-doc/html/libraries/base-4.8.2.0/Data-Eq.html#t:Eq">Eq</a> <a href="Facebook.html#t:OrderStatus">OrderStatus</a></span> <a href="src/Facebook-Object-Order.html#line-49" class="link">Source</a></td><td class="doc empty">&nbsp;</td></tr><tr><td class="src clearfix"><span class="inst-left"><a href="file:///usr/share/doc/ghc-doc/html/libraries/base-4.8.2.0/Text-Show.html#t:Show">Show</a> <a href="Facebook.html#t:OrderStatus">OrderStatus</a></span> <a href="src/Facebook-Object-Order.html#line-49" class="link">Source</a></td><td class="doc empty">&nbsp;</td></tr><tr><td class="src clearfix"><span class="inst-left"><a href="file:///usr/share/doc/libghc-aeson-doc/html/Data-Aeson-Types.html#t:FromJSON">FromJSON</a> <a href="Facebook.html#t:OrderStatus">OrderStatus</a></span> <a href="src/Facebook-Object-Order.html#line-77" class="link">Source</a></td><td class="doc empty">&nbsp;</td></tr></table></div></div></div><div class="top"><p class="src"><a name="v:getOrder" class="def">getOrder</a> <a href="src/Facebook-Object-Order.html#getOrder" class="link">Source</a></p><div class="subs arguments"><p class="caption">Arguments</p><table><tr><td class="src">:: (<a href="file:///usr/share/doc/libghc-resourcet-doc/html/Control-Monad-Trans-Resource.html#t:MonadResource">MonadResource</a> m, <a href="file:///usr/share/doc/libghc-monad-control-doc/html/Control-Monad-Trans-Control.html#t:MonadBaseControl">MonadBaseControl</a> <a href="file:///usr/share/doc/ghc-doc/html/libraries/base-4.8.2.0/System-IO.html#t:IO">IO</a> m)</td><td class="doc empty">&nbsp;</td></tr><tr><td class="src">=&gt; <a href="Facebook.html#t:OrderId">OrderId</a></td><td class="doc"><p>Order ID.</p></td></tr><tr><td class="src">-&gt; <a href="Facebook.html#t:UserAccessToken">UserAccessToken</a></td><td class="doc"><p>User access token.</p></td></tr><tr><td class="src">-&gt; <a href="Facebook.html#t:FacebookT">FacebookT</a> anyAuth m <a href="Facebook.html#t:Order">Order</a></td><td class="doc empty">&nbsp;</td></tr></table></div><div class="doc"><p>Get an <code><a href="Facebook.html#t:Order">Order</a></code> using its <code><a href="Facebook.html#t:OrderId">OrderId</a></code>.  The user access token
 is mandatory.</p></div></div><h2 id="g:14">Friend list</h2><div class="top"><p class="src"><span class="keyword">data</span> <a name="t:FriendList" class="def">FriendList</a> <a href="src/Facebook-Object-FriendList.html#FriendList" class="link">Source</a></p><div class="doc"><p>A friend list for a <code><a href="Facebook.html#t:User">User</a></code>.</p></div><div class="subs constructors"><p class="caption">Constructors</p><table><tr><td class="src"><a name="v:FriendList" class="def">FriendList</a></td><td class="doc empty">&nbsp;</td></tr><tr><td colspan="2"><div class="subs fields"><p class="caption">Fields</p><dl><dt class="src"><a name="v:friendListId" class="def">friendListId</a> :: <a href="Facebook.html#t:Id">Id</a></dt><dd class="doc empty">&nbsp;</dd><dt class="src"><a name="v:friendListName" class="def">friendListName</a> :: <a href="file:///usr/share/doc/libghc-text-doc/html/Data-Text.html#t:Text">Text</a></dt><dd class="doc empty">&nbsp;</dd><dt class="src"><a name="v:friendListType" class="def">friendListType</a> :: <a href="Facebook.html#t:FriendListType">FriendListType</a></dt><dd class="doc empty">&nbsp;</dd></dl><div class="clear"></div></div></td></tr></table></div><div class="subs instances"><p id="control.i:FriendList" class="caption collapser" onclick="toggleSection('i:FriendList')">Instances</p><div id="section.i:FriendList" class="show"><table><tr><td class="src clearfix"><span class="inst-left"><a href="file:///usr/share/doc/ghc-doc/html/libraries/base-4.8.2.0/Data-Eq.html#t:Eq">Eq</a> <a href="Facebook.html#t:FriendList">FriendList</a></span> <a href="src/Facebook-Object-FriendList.html#line-32" class="link">Source</a></td><td class="doc empty">&nbsp;</td></tr><tr><td class="src clearfix"><span class="inst-left"><a href="file:///usr/share/doc/ghc-doc/html/libraries/base-4.8.2.0/Data-Ord.html#t:Ord">Ord</a> <a href="Facebook.html#t:FriendList">FriendList</a></span> <a href="src/Facebook-Object-FriendList.html#line-32" class="link">Source</a></td><td class="doc empty">&nbsp;</td></tr><tr><td class="src clearfix"><span class="inst-left"><a href="file:///usr/share/doc/ghc-doc/html/libraries/base-4.8.2.0/Text-Read.html#t:Read">Read</a> <a href="Facebook.html#t:FriendList">FriendList</a></span> <a href="src/Facebook-Object-FriendList.html#line-32" class="link">Source</a></td><td class="doc empty">&nbsp;</td></tr><tr><td class="src clearfix"><span class="inst-left"><a href="file:///usr/share/doc/ghc-doc/html/libraries/base-4.8.2.0/Text-Show.html#t:Show">Show</a> <a href="Facebook.html#t:FriendList">FriendList</a></span> <a href="src/Facebook-Object-FriendList.html#line-32" class="link">Source</a></td><td class="doc empty">&nbsp;</td></tr><tr><td class="src clearfix"><span class="inst-left"><a href="file:///usr/share/doc/libghc-aeson-doc/html/Data-Aeson-Types.html#t:FromJSON">FromJSON</a> <a href="Facebook.html#t:FriendList">FriendList</a></span> <a href="src/Facebook-Object-FriendList.html#line-34" class="link">Source</a></td><td class="doc empty">&nbsp;</td></tr></table></div></div></div><div class="top"><p class="src"><span class="keyword">data</span> <a name="t:FriendListType" class="def">FriendListType</a> <a href="src/Facebook-Object-FriendList.html#FriendListType" class="link">Source</a></p><div class="subs constructors"><p class="caption">Constructors</p><table><tr><td class="src"><a name="v:CloseFriendsList" class="def">CloseFriendsList</a></td><td class="doc empty">&nbsp;</td></tr><tr><td class="src"><a name="v:AcquaintancesList" class="def">AcquaintancesList</a></td><td class="doc empty">&nbsp;</td></tr><tr><td class="src"><a name="v:RestrictedList" class="def">RestrictedList</a></td><td class="doc empty">&nbsp;</td></tr><tr><td class="src"><a name="v:UserCreatedList" class="def">UserCreatedList</a></td><td class="doc empty">&nbsp;</td></tr><tr><td class="src"><a name="v:EducationList" class="def">EducationList</a></td><td class="doc empty">&nbsp;</td></tr><tr><td class="src"><a name="v:WorkList" class="def">WorkList</a></td><td class="doc empty">&nbsp;</td></tr><tr><td class="src"><a name="v:CurrentCityList" class="def">CurrentCityList</a></td><td class="doc empty">&nbsp;</td></tr><tr><td class="src"><a name="v:FamilyList" class="def">FamilyList</a></td><td class="doc empty">&nbsp;</td></tr></table></div><div class="subs instances"><p id="control.i:FriendListType" class="caption collapser" onclick="toggleSection('i:FriendListType')">Instances</p><div id="section.i:FriendListType" class="show"><table><tr><td class="src clearfix"><span class="inst-left"><a href="file:///usr/share/doc/ghc-doc/html/libraries/base-4.8.2.0/Prelude.html#t:Enum">Enum</a> <a href="Facebook.html#t:FriendListType">FriendListType</a></span> <a href="src/Facebook-Object-FriendList.html#line-43" class="link">Source</a></td><td class="doc empty">&nbsp;</td></tr><tr><td class="src clearfix"><span class="inst-left"><a href="file:///usr/share/doc/ghc-doc/html/libraries/base-4.8.2.0/Data-Eq.html#t:Eq">Eq</a> <a href="Facebook.html#t:FriendListType">FriendListType</a></span> <a href="src/Facebook-Object-FriendList.html#line-43" class="link">Source</a></td><td class="doc empty">&nbsp;</td></tr><tr><td class="src clearfix"><span class="inst-left"><a href="file:///usr/share/doc/ghc-doc/html/libraries/base-4.8.2.0/Data-Ord.html#t:Ord">Ord</a> <a href="Facebook.html#t:FriendListType">FriendListType</a></span> <a href="src/Facebook-Object-FriendList.html#line-43" class="link">Source</a></td><td class="doc empty">&nbsp;</td></tr><tr><td class="src clearfix"><span class="inst-left"><a href="file:///usr/share/doc/ghc-doc/html/libraries/base-4.8.2.0/Text-Read.html#t:Read">Read</a> <a href="Facebook.html#t:FriendListType">FriendListType</a></span> <a href="src/Facebook-Object-FriendList.html#line-43" class="link">Source</a></td><td class="doc empty">&nbsp;</td></tr><tr><td class="src clearfix"><span class="inst-left"><a href="file:///usr/share/doc/ghc-doc/html/libraries/base-4.8.2.0/Text-Show.html#t:Show">Show</a> <a href="Facebook.html#t:FriendListType">FriendListType</a></span> <a href="src/Facebook-Object-FriendList.html#line-43" class="link">Source</a></td><td class="doc empty">&nbsp;</td></tr><tr><td class="src clearfix"><span class="inst-left"><a href="file:///usr/share/doc/libghc-aeson-doc/html/Data-Aeson-Types.html#t:ToJSON">ToJSON</a> <a href="Facebook.html#t:FriendListType">FriendListType</a></span> <a href="src/Facebook-Object-FriendList.html#line-56" class="link">Source</a></td><td class="doc empty">&nbsp;</td></tr><tr><td class="src clearfix"><span class="inst-left"><a href="file:///usr/share/doc/libghc-aeson-doc/html/Data-Aeson-Types.html#t:FromJSON">FromJSON</a> <a href="Facebook.html#t:FriendListType">FriendListType</a></span> <a href="src/Facebook-Object-FriendList.html#line-45" class="link">Source</a></td><td class="doc empty">&nbsp;</td></tr></table></div></div></div><div class="top"><p class="src"><a name="v:getFriendListMembers" class="def">getFriendListMembers</a> <a href="src/Facebook-Object-FriendList.html#getFriendListMembers" class="link">Source</a></p><div class="subs arguments"><p class="caption">Arguments</p><table><tr><td class="src">:: (<a href="file:///usr/share/doc/libghc-resourcet-doc/html/Control-Monad-Trans-Resource.html#t:MonadResource">MonadResource</a> m, <a href="file:///usr/share/doc/libghc-monad-control-doc/html/Control-Monad-Trans-Control.html#t:MonadBaseControl">MonadBaseControl</a> <a href="file:///usr/share/doc/ghc-doc/html/libraries/base-4.8.2.0/System-IO.html#t:IO">IO</a> m)</td><td class="doc empty">&nbsp;</td></tr><tr><td class="src">=&gt; <a href="Facebook.html#t:Id">Id</a></td><td class="doc"><p>List ID.</p></td></tr><tr><td class="src">-&gt; [<a href="Facebook.html#t:Argument">Argument</a>]</td><td class="doc"><p>Arguments to be passed to Facebook.</p></td></tr><tr><td class="src">-&gt; <a href="Facebook.html#t:UserAccessToken">UserAccessToken</a></td><td class="doc"><p>User access token.</p></td></tr><tr><td class="src">-&gt; <a href="Facebook.html#t:FacebookT">FacebookT</a> anyAuth m (<a href="Facebook.html#t:Pager">Pager</a> <a href="Facebook.html#t:Friend">Friend</a>)</td><td class="doc empty">&nbsp;</td></tr></table></div><div class="doc"><p>Get the members of a friend list.</p></div></div><h1 id="g:15">Facebook's Graph API basic functionality</h1><h2 id="g:16">Simple types</h2><div class="top"><p class="src"><a name="v:-35--61-" class="def">(#=)</a> :: <a href="Facebook.html#t:SimpleType">SimpleType</a> a =&gt; <a href="file:///usr/share/doc/ghc-doc/html/libraries/bytestring-0.10.6.0/Data-ByteString.html#t:ByteString">ByteString</a> -&gt; a -&gt; <a href="Facebook.html#t:Argument">Argument</a> <a href="src/Facebook-Graph.html#%23%3D" class="link">Source</a></p><div class="doc"><p>Create an <code><a href="Facebook.html#t:Argument">Argument</a></code> with a <code><a href="Facebook.html#t:SimpleType">SimpleType</a></code>.  See the docs on
 <code>createAction</code> for an example.</p></div></div><div class="top"><p class="src"><span class="keyword">class</span> <a name="t:SimpleType" class="def">SimpleType</a> a <span class="keyword">where</span> <a href="src/Facebook-Graph.html#SimpleType" class="link">Source</a></p><div class="doc"><p>Class for data types that may be represented as a Facebook
 simple type. (see
 <a href="https://developers.facebook.com/docs/opengraph/simpletypes/">https://developers.facebook.com/docs/opengraph/simpletypes/</a>).</p></div><div class="subs methods"><p class="caption">Methods</p><p class="src"><a name="v:encodeFbParam" class="def">encodeFbParam</a> :: a -&gt; <a href="file:///usr/share/doc/ghc-doc/html/libraries/bytestring-0.10.6.0/Data-ByteString.html#t:ByteString">ByteString</a> <a href="src/Facebook-Graph.html#encodeFbParam" class="link">Source</a></p></div><div class="subs instances"><p id="control.i:SimpleType" class="caption collapser" onclick="toggleSection('i:SimpleType')">Instances</p><div id="section.i:SimpleType" class="show"><table><tr><td class="src clearfix"><span class="inst-left"><a href="Facebook.html#t:SimpleType">SimpleType</a> <a href="file:///usr/share/doc/ghc-doc/html/libraries/base-4.8.2.0/Data-Bool.html#t:Bool">Bool</a></span> <a href="src/Facebook-Graph.html#line-120" class="link">Source</a></td><td class="doc"><p>Facebook's simple type <code>Boolean</code>.</p></td></tr><tr><td class="src clearfix"><span class="inst-left"><a href="Facebook.html#t:SimpleType">SimpleType</a> <a href="file:///usr/share/doc/ghc-doc/html/libraries/base-4.8.2.0/Prelude.html#t:Double">Double</a></span> <a href="src/Facebook-Graph.html#line-139" class="link">Source</a></td><td class="doc"><p>Facebook's simple type <code>Float</code>.</p></td></tr><tr><td class="src clearfix"><span class="inst-left"><a href="Facebook.html#t:SimpleType">SimpleType</a> <a href="file:///usr/share/doc/ghc-doc/html/libraries/base-4.8.2.0/Prelude.html#t:Float">Float</a></span> <a href="src/Facebook-Graph.html#line-136" class="link">Source</a></td><td class="doc"><p>Facebook's simple type <code>Float</code> with less precision than supported.</p></td></tr><tr><td class="src clearfix"><span class="inst-left"><a href="Facebook.html#t:SimpleType">SimpleType</a> <a href="file:///usr/share/doc/ghc-doc/html/libraries/base-4.8.2.0/Data-Int.html#t:Int">Int</a></span> <a href="src/Facebook-Graph.html#line-143" class="link">Source</a></td><td class="doc"><p>Facebook's simple type <code>Integer</code>.</p></td></tr><tr><td class="src clearfix"><span class="inst-left"><a href="Facebook.html#t:SimpleType">SimpleType</a> <a href="file:///usr/share/doc/ghc-doc/html/libraries/base-4.8.2.0/Data-Int.html#t:Int8">Int8</a></span> <a href="src/Facebook-Graph.html#line-149" class="link">Source</a></td><td class="doc"><p>Facebook's simple type <code>Integer</code>.</p></td></tr><tr><td class="src clearfix"><span class="inst-left"><a href="Facebook.html#t:SimpleType">SimpleType</a> <a href="file:///usr/share/doc/ghc-doc/html/libraries/base-4.8.2.0/Data-Int.html#t:Int16">Int16</a></span> <a href="src/Facebook-Graph.html#line-155" class="link">Source</a></td><td class="doc"><p>Facebook's simple type <code>Integer</code>.</p></td></tr><tr><td class="src clearfix"><span class="inst-left"><a href="Facebook.html#t:SimpleType">SimpleType</a> <a href="file:///usr/share/doc/ghc-doc/html/libraries/base-4.8.2.0/Data-Int.html#t:Int32">Int32</a></span> <a href="src/Facebook-Graph.html#line-161" class="link">Source</a></td><td class="doc"><p>Facebook's simple type <code>Integer</code>.</p></td></tr><tr><td class="src clearfix"><span class="inst-left"><a href="Facebook.html#t:SimpleType">SimpleType</a> <a href="file:///usr/share/doc/ghc-doc/html/libraries/base-4.8.2.0/Data-Int.html#t:Int64">Int64</a></span> <a href="src/Facebook-Graph.html#line-167" class="link">Source</a></td><td class="doc"><p>Facebook's simple type <code>Integer</code>.</p></td></tr><tr><td class="src clearfix"><span class="inst-left"><a href="Facebook.html#t:SimpleType">SimpleType</a> <a href="file:///usr/share/doc/ghc-doc/html/libraries/base-4.8.2.0/Data-Word.html#t:Word">Word</a></span> <a href="src/Facebook-Graph.html#line-146" class="link">Source</a></td><td class="doc"><p>Facebook's simple type <code>Integer</code>.</p></td></tr><tr><td class="src clearfix"><span class="inst-left"><a href="Facebook.html#t:SimpleType">SimpleType</a> <a href="file:///usr/share/doc/ghc-doc/html/libraries/base-4.8.2.0/Data-Word.html#t:Word8">Word8</a></span> <a href="src/Facebook-Graph.html#line-152" class="link">Source</a></td><td class="doc"><p>Facebook's simple type <code>Integer</code>.</p></td></tr><tr><td class="src clearfix"><span class="inst-left"><a href="Facebook.html#t:SimpleType">SimpleType</a> <a href="file:///usr/share/doc/ghc-doc/html/libraries/base-4.8.2.0/Data-Word.html#t:Word16">Word16</a></span> <a href="src/Facebook-Graph.html#line-158" class="link">Source</a></td><td class="doc"><p>Facebook's simple type <code>Integer</code>.</p></td></tr><tr><td class="src clearfix"><span class="inst-left"><a href="Facebook.html#t:SimpleType">SimpleType</a> <a href="file:///usr/share/doc/ghc-doc/html/libraries/base-4.8.2.0/Data-Word.html#t:Word32">Word32</a></span> <a href="src/Facebook-Graph.html#line-164" class="link">Source</a></td><td class="doc"><p>Facebook's simple type <code>Integer</code>.</p></td></tr><tr><td class="src clearfix"><span class="inst-left"><a href="Facebook.html#t:SimpleType">SimpleType</a> <a href="file:///usr/share/doc/ghc-doc/html/libraries/base-4.8.2.0/Data-Word.html#t:Word64">Word64</a></span> <a href="src/Facebook-Graph.html#line-170" class="link">Source</a></td><td class="doc"><p>Facebook's simple type <code>Integer</code>.</p></td></tr><tr><td class="src clearfix"><span class="inst-left"><a href="Facebook.html#t:SimpleType">SimpleType</a> <a href="file:///usr/share/doc/ghc-doc/html/libraries/bytestring-0.10.6.0/Data-ByteString.html#t:ByteString">ByteString</a></span> <a href="src/Facebook-Graph.html#line-177" class="link">Source</a></td><td class="doc"><p>Facebook's simple type <code>String</code>.</p></td></tr><tr><td class="src clearfix"><span class="inst-left"><a href="Facebook.html#t:SimpleType">SimpleType</a> <a href="file:///usr/share/doc/libghc-text-doc/html/Data-Text.html#t:Text">Text</a></span> <a href="src/Facebook-Graph.html#line-174" class="link">Source</a></td><td class="doc"><p>Facebook's simple type <code>String</code>.</p></td></tr><tr><td class="src clearfix"><span class="inst-left"><a href="Facebook.html#t:SimpleType">SimpleType</a> <a href="file:///usr/share/doc/ghc-doc/html/libraries/time-1.5.0.1/Data-Time-Clock.html#t:UTCTime">UTCTime</a></span> <a href="src/Facebook-Graph.html#line-127" class="link">Source</a></td><td class="doc"><p>Facebook's simple type <code>DateTime</code>.</p></td></tr><tr><td class="src clearfix"><span class="inst-left"><a href="Facebook.html#t:SimpleType">SimpleType</a> <a href="file:///usr/share/doc/ghc-doc/html/libraries/time-1.5.0.1/Data-Time-LocalTime.html#t:ZonedTime">ZonedTime</a></span> <a href="src/Facebook-Graph.html#line-130" class="link">Source</a></td><td class="doc"><p>Facebook's simple type <code>DateTime</code>.</p></td></tr><tr><td class="src clearfix"><span class="inst-left"><a href="Facebook.html#t:SimpleType">SimpleType</a> <a href="file:///usr/share/doc/ghc-doc/html/libraries/time-1.5.0.1/Data-Time-Calendar.html#t:Day">Day</a></span> <a href="src/Facebook-Graph.html#line-124" class="link">Source</a></td><td class="doc"><p>Facebook's simple type <code>DateTime</code> with only the date.</p></td></tr><tr><td class="src clearfix"><span class="inst-left"><a href="Facebook.html#t:SimpleType">SimpleType</a> <a href="Facebook.html#t:Id">Id</a></span> <a href="src/Facebook-Graph.html#line-181" class="link">Source</a></td><td class="doc"><p>An object's <code><a href="Facebook.html#t:Id">Id</a></code> code.</p></td></tr><tr><td class="src clearfix"><span class="inst-left"><a href="Facebook.html#t:SimpleType">SimpleType</a> <a href="Facebook.html#t:Permission">Permission</a></span> <a href="src/Facebook-Graph.html#line-185" class="link">Source</a></td><td class="doc"><p><code><a href="Facebook.html#t:Permission">Permission</a></code> is a <code>newtype</code> of <code><a href="file:///usr/share/doc/libghc-text-doc/html/Data-Text.html#t:Text">Text</a></code></p></td></tr><tr><td class="src clearfix"><span class="inst-left"><a href="Facebook.html#t:SimpleType">SimpleType</a> <a href="Facebook.html#t:GeoCoordinates">GeoCoordinates</a></span> <a href="src/Facebook-Graph.html#line-257" class="link">Source</a></td><td class="doc empty">&nbsp;</td></tr><tr><td class="src clearfix"><span class="inst-left"><a href="Facebook.html#t:SimpleType">SimpleType</a> a =&gt; <a href="Facebook.html#t:SimpleType">SimpleType</a> [a]</span> <a href="src/Facebook-Graph.html#line-194" class="link">Source</a></td><td class="doc"><p>A comma-separated list of simple types.  This definition
 doesn't work everywhere, just for a few combinations that
 Facebook uses (e.g. <code>[Int]</code>).  Also, encoding a list of lists
 is the same as encoding the concatenation of all lists.  In
 other words, this instance is here more for your convenience
 than to make sure your code is correct.</p></td></tr></table></div></div></div><div class="top"><p class="src"><span class="keyword">newtype</span> <a name="t:FbUTCTime" class="def">FbUTCTime</a> <a href="src/Facebook-Types.html#FbUTCTime" class="link">Source</a></p><div class="doc"><p><code>newtype</code> for <code><a href="file:///usr/share/doc/ghc-doc/html/libraries/time-1.5.0.1/Data-Time-Clock.html#t:UTCTime">UTCTime</a></code> that follows Facebook's
 conventions of JSON parsing.</p><ul><li>As a string, while <code>aeson</code> expects a format of <code>%FT%T%Q</code>,
    Facebook gives time values formatted as <code>%FT%T%z</code>.</li><li>As a number, <code><a href="Facebook.html#t:FbUTCTime">FbUTCTime</a></code> accepts a number of seconds since
    the Unix epoch.</li></ul></div><div class="subs constructors"><p class="caption">Constructors</p><table><tr><td class="src"><a name="v:FbUTCTime" class="def">FbUTCTime</a></td><td class="doc empty">&nbsp;</td></tr><tr><td colspan="2"><div class="subs fields"><p class="caption">Fields</p><dl><dt class="src"><a name="v:unFbUTCTime" class="def">unFbUTCTime</a> :: <a href="file:///usr/share/doc/ghc-doc/html/libraries/time-1.5.0.1/Data-Time-Clock.html#t:UTCTime">UTCTime</a></dt><dd class="doc empty">&nbsp;</dd></dl><div class="clear"></div></div></td></tr></table></div><div class="subs instances"><p id="control.i:FbUTCTime" class="caption collapser" onclick="toggleSection('i:FbUTCTime')">Instances</p><div id="section.i:FbUTCTime" class="show"><table><tr><td class="src clearfix"><span class="inst-left"><a href="file:///usr/share/doc/ghc-doc/html/libraries/base-4.8.2.0/Data-Eq.html#t:Eq">Eq</a> <a href="Facebook.html#t:FbUTCTime">FbUTCTime</a></span> <a href="src/Facebook-Types.html#line-221" class="link">Source</a></td><td class="doc empty">&nbsp;</td></tr><tr><td class="src clearfix"><span class="inst-left"><a href="file:///usr/share/doc/ghc-doc/html/libraries/base-4.8.2.0/Data-Ord.html#t:Ord">Ord</a> <a href="Facebook.html#t:FbUTCTime">FbUTCTime</a></span> <a href="src/Facebook-Types.html#line-221" class="link">Source</a></td><td class="doc empty">&nbsp;</td></tr><tr><td class="src clearfix"><span class="inst-left"><a href="file:///usr/share/doc/ghc-doc/html/libraries/base-4.8.2.0/Text-Read.html#t:Read">Read</a> <a href="Facebook.html#t:FbUTCTime">FbUTCTime</a></span> <a href="src/Facebook-Types.html#line-221" class="link">Source</a></td><td class="doc empty">&nbsp;</td></tr><tr><td class="src clearfix"><span class="inst-left"><a href="file:///usr/share/doc/ghc-doc/html/libraries/base-4.8.2.0/Text-Show.html#t:Show">Show</a> <a href="Facebook.html#t:FbUTCTime">FbUTCTime</a></span> <a href="src/Facebook-Types.html#line-221" class="link">Source</a></td><td class="doc empty">&nbsp;</td></tr><tr><td class="src clearfix"><span class="inst-left"><a href="file:///usr/share/doc/libghc-aeson-doc/html/Data-Aeson-Types.html#t:FromJSON">FromJSON</a> <a href="Facebook.html#t:FbUTCTime">FbUTCTime</a></span> <a href="src/Facebook-Types.html#line-223" class="link">Source</a></td><td class="doc empty">&nbsp;</td></tr></table></div></div></div><h2 id="g:17">Complex types</h2><div class="top"><p class="src"><span class="keyword">data</span> <a name="t:Place" class="def">Place</a> <a href="src/Facebook-Graph.html#Place" class="link">Source</a></p><div class="doc"><p>Information about a place.  This is not a Graph Object,
 instead it's just a field of a Object.  (Not to be confused
 with the <code>Page</code> object.)</p></div><div class="subs constructors"><p class="caption">Constructors</p><table><tr><td class="src"><a name="v:Place" class="def">Place</a></td><td class="doc empty">&nbsp;</td></tr><tr><td colspan="2"><div class="subs fields"><p class="caption">Fields</p><dl><dt class="src"><a name="v:placeId" class="def">placeId</a> :: <a href="Facebook.html#t:Id">Id</a></dt><dd class="doc"><p><code>Page</code> ID.</p></dd><dt class="src"><a name="v:placeName" class="def">placeName</a> :: <a href="file:///usr/share/doc/ghc-doc/html/libraries/base-4.8.2.0/Data-Maybe.html#t:Maybe">Maybe</a> <a href="file:///usr/share/doc/libghc-text-doc/html/Data-Text.html#t:Text">Text</a></dt><dd class="doc"><p><code>Page</code> name.</p></dd><dt class="src"><a name="v:placeLocation" class="def">placeLocation</a> :: <a href="file:///usr/share/doc/ghc-doc/html/libraries/base-4.8.2.0/Data-Maybe.html#t:Maybe">Maybe</a> <a href="Facebook.html#t:Location">Location</a></dt><dd class="doc empty">&nbsp;</dd></dl><div class="clear"></div></div></td></tr></table></div><div class="subs instances"><p id="control.i:Place" class="caption collapser" onclick="toggleSection('i:Place')">Instances</p><div id="section.i:Place" class="show"><table><tr><td class="src clearfix"><span class="inst-left"><a href="file:///usr/share/doc/ghc-doc/html/libraries/base-4.8.2.0/Data-Eq.html#t:Eq">Eq</a> <a href="Facebook.html#t:Place">Place</a></span> <a href="src/Facebook-Graph.html#line-212" class="link">Source</a></td><td class="doc empty">&nbsp;</td></tr><tr><td class="src clearfix"><span class="inst-left"><a href="file:///usr/share/doc/ghc-doc/html/libraries/base-4.8.2.0/Data-Ord.html#t:Ord">Ord</a> <a href="Facebook.html#t:Place">Place</a></span> <a href="src/Facebook-Graph.html#line-212" class="link">Source</a></td><td class="doc empty">&nbsp;</td></tr><tr><td class="src clearfix"><span class="inst-left"><a href="file:///usr/share/doc/ghc-doc/html/libraries/base-4.8.2.0/Text-Read.html#t:Read">Read</a> <a href="Facebook.html#t:Place">Place</a></span> <a href="src/Facebook-Graph.html#line-212" class="link">Source</a></td><td class="doc empty">&nbsp;</td></tr><tr><td class="src clearfix"><span class="inst-left"><a href="file:///usr/share/doc/ghc-doc/html/libraries/base-4.8.2.0/Text-Show.html#t:Show">Show</a> <a href="Facebook.html#t:Place">Place</a></span> <a href="src/Facebook-Graph.html#line-212" class="link">Source</a></td><td class="doc empty">&nbsp;</td></tr><tr><td class="src clearfix"><span class="inst-left"><a href="file:///usr/share/doc/libghc-aeson-doc/html/Data-Aeson-Types.html#t:FromJSON">FromJSON</a> <a href="Facebook.html#t:Place">Place</a></span> <a href="src/Facebook-Graph.html#line-214" class="link">Source</a></td><td class="doc empty">&nbsp;</td></tr></table></div></div></div><div class="top"><p class="src"><span class="keyword">data</span> <a name="t:Location" class="def">Location</a> <a href="src/Facebook-Graph.html#Location" class="link">Source</a></p><div class="doc"><p>A geographical location.</p></div><div class="subs constructors"><p class="caption">Constructors</p><table><tr><td class="src"><a name="v:Location" class="def">Location</a></td><td class="doc empty">&nbsp;</td></tr><tr><td colspan="2"><div class="subs fields"><p class="caption">Fields</p><dl><dt class="src"><a name="v:locationStreet" class="def">locationStreet</a> :: <a href="file:///usr/share/doc/ghc-doc/html/libraries/base-4.8.2.0/Data-Maybe.html#t:Maybe">Maybe</a> <a href="file:///usr/share/doc/libghc-text-doc/html/Data-Text.html#t:Text">Text</a></dt><dd class="doc empty">&nbsp;</dd><dt class="src"><a name="v:locationCity" class="def">locationCity</a> :: <a href="file:///usr/share/doc/ghc-doc/html/libraries/base-4.8.2.0/Data-Maybe.html#t:Maybe">Maybe</a> <a href="file:///usr/share/doc/libghc-text-doc/html/Data-Text.html#t:Text">Text</a></dt><dd class="doc empty">&nbsp;</dd><dt class="src"><a name="v:locationState" class="def">locationState</a> :: <a href="file:///usr/share/doc/ghc-doc/html/libraries/base-4.8.2.0/Data-Maybe.html#t:Maybe">Maybe</a> <a href="file:///usr/share/doc/libghc-text-doc/html/Data-Text.html#t:Text">Text</a></dt><dd class="doc empty">&nbsp;</dd><dt class="src"><a name="v:locationCountry" class="def">locationCountry</a> :: <a href="file:///usr/share/doc/ghc-doc/html/libraries/base-4.8.2.0/Data-Maybe.html#t:Maybe">Maybe</a> <a href="file:///usr/share/doc/libghc-text-doc/html/Data-Text.html#t:Text">Text</a></dt><dd class="doc empty">&nbsp;</dd><dt class="src"><a name="v:locationZip" class="def">locationZip</a> :: <a href="file:///usr/share/doc/ghc-doc/html/libraries/base-4.8.2.0/Data-Maybe.html#t:Maybe">Maybe</a> <a href="file:///usr/share/doc/libghc-text-doc/html/Data-Text.html#t:Text">Text</a></dt><dd class="doc empty">&nbsp;</dd><dt class="src"><a name="v:locationCoords" class="def">locationCoords</a> :: <a href="file:///usr/share/doc/ghc-doc/html/libraries/base-4.8.2.0/Data-Maybe.html#t:Maybe">Maybe</a> <a href="Facebook.html#t:GeoCoordinates">GeoCoordinates</a></dt><dd class="doc empty">&nbsp;</dd></dl><div class="clear"></div></div></td></tr></table></div><div class="subs instances"><p id="control.i:Location" class="caption collapser" onclick="toggleSection('i:Location')">Instances</p><div id="section.i:Location" class="show"><table><tr><td class="src clearfix"><span class="inst-left"><a href="file:///usr/share/doc/ghc-doc/html/libraries/base-4.8.2.0/Data-Eq.html#t:Eq">Eq</a> <a href="Facebook.html#t:Location">Location</a></span> <a href="src/Facebook-Graph.html#line-231" class="link">Source</a></td><td class="doc empty">&nbsp;</td></tr><tr><td class="src clearfix"><span class="inst-left"><a href="file:///usr/share/doc/ghc-doc/html/libraries/base-4.8.2.0/Data-Ord.html#t:Ord">Ord</a> <a href="Facebook.html#t:Location">Location</a></span> <a href="src/Facebook-Graph.html#line-231" class="link">Source</a></td><td class="doc empty">&nbsp;</td></tr><tr><td class="src clearfix"><span class="inst-left"><a href="file:///usr/share/doc/ghc-doc/html/libraries/base-4.8.2.0/Text-Read.html#t:Read">Read</a> <a href="Facebook.html#t:Location">Location</a></span> <a href="src/Facebook-Graph.html#line-231" class="link">Source</a></td><td class="doc empty">&nbsp;</td></tr><tr><td class="src clearfix"><span class="inst-left"><a href="file:///usr/share/doc/ghc-doc/html/libraries/base-4.8.2.0/Text-Show.html#t:Show">Show</a> <a href="Facebook.html#t:Location">Location</a></span> <a href="src/Facebook-Graph.html#line-231" class="link">Source</a></td><td class="doc empty">&nbsp;</td></tr><tr><td class="src clearfix"><span class="inst-left"><a href="file:///usr/share/doc/libghc-aeson-doc/html/Data-Aeson-Types.html#t:FromJSON">FromJSON</a> <a href="Facebook.html#t:Location">Location</a></span> <a href="src/Facebook-Graph.html#line-233" class="link">Source</a></td><td class="doc empty">&nbsp;</td></tr></table></div></div></div><div class="top"><p class="src"><span class="keyword">data</span> <a name="t:GeoCoordinates" class="def">GeoCoordinates</a> <a href="src/Facebook-Graph.html#GeoCoordinates" class="link">Source</a></p><div class="doc"><p>Geographical coordinates.</p></div><div class="subs constructors"><p class="caption">Constructors</p><table><tr><td class="src"><a name="v:GeoCoordinates" class="def">GeoCoordinates</a></td><td class="doc empty">&nbsp;</td></tr><tr><td colspan="2"><div class="subs fields"><p class="caption">Fields</p><dl><dt class="src"><a name="v:latitude" class="def">latitude</a> :: !<a href="file:///usr/share/doc/ghc-doc/html/libraries/base-4.8.2.0/Prelude.html#t:Double">Double</a></dt><dd class="doc empty">&nbsp;</dd><dt class="src"><a name="v:longitude" class="def">longitude</a> :: !<a href="file:///usr/share/doc/ghc-doc/html/libraries/base-4.8.2.0/Prelude.html#t:Double">Double</a></dt><dd class="doc empty">&nbsp;</dd></dl><div class="clear"></div></div></td></tr></table></div><div class="subs instances"><p id="control.i:GeoCoordinates" class="caption collapser" onclick="toggleSection('i:GeoCoordinates')">Instances</p><div id="section.i:GeoCoordinates" class="show"><table><tr><td class="src clearfix"><span class="inst-left"><a href="file:///usr/share/doc/ghc-doc/html/libraries/base-4.8.2.0/Data-Eq.html#t:Eq">Eq</a> <a href="Facebook.html#t:GeoCoordinates">GeoCoordinates</a></span> <a href="src/Facebook-Graph.html#line-249" class="link">Source</a></td><td class="doc empty">&nbsp;</td></tr><tr><td class="src clearfix"><span class="inst-left"><a href="file:///usr/share/doc/ghc-doc/html/libraries/base-4.8.2.0/Data-Ord.html#t:Ord">Ord</a> <a href="Facebook.html#t:GeoCoordinates">GeoCoordinates</a></span> <a href="src/Facebook-Graph.html#line-249" class="link">Source</a></td><td class="doc empty">&nbsp;</td></tr><tr><td class="src clearfix"><span class="inst-left"><a href="file:///usr/share/doc/ghc-doc/html/libraries/base-4.8.2.0/Text-Read.html#t:Read">Read</a> <a href="Facebook.html#t:GeoCoordinates">GeoCoordinates</a></span> <a href="src/Facebook-Graph.html#line-249" class="link">Source</a></td><td class="doc empty">&nbsp;</td></tr><tr><td class="src clearfix"><span class="inst-left"><a href="file:///usr/share/doc/ghc-doc/html/libraries/base-4.8.2.0/Text-Show.html#t:Show">Show</a> <a href="Facebook.html#t:GeoCoordinates">GeoCoordinates</a></span> <a href="src/Facebook-Graph.html#line-249" class="link">Source</a></td><td class="doc empty">&nbsp;</td></tr><tr><td class="src clearfix"><span class="inst-left"><a href="file:///usr/share/doc/libghc-aeson-doc/html/Data-Aeson-Types.html#t:FromJSON">FromJSON</a> <a href="Facebook.html#t:GeoCoordinates">GeoCoordinates</a></span> <a href="src/Facebook-Graph.html#line-251" class="link">Source</a></td><td class="doc empty">&nbsp;</td></tr><tr><td class="src clearfix"><span class="inst-left"><a href="Facebook.html#t:SimpleType">SimpleType</a> <a href="Facebook.html#t:GeoCoordinates">GeoCoordinates</a></span> <a href="src/Facebook-Graph.html#line-257" class="link">Source</a></td><td class="doc empty">&nbsp;</td></tr></table></div></div></div><div class="top"><p class="src"><span class="keyword">data</span> <a name="t:Tag" class="def">Tag</a> <a href="src/Facebook-Graph.html#Tag" class="link">Source</a></p><div class="doc"><p>A tag (i.e. &quot;I'll <em>tag</em> you on my post&quot;).</p></div><div class="subs constructors"><p class="caption">Constructors</p><table><tr><td class="src"><a name="v:Tag" class="def">Tag</a></td><td class="doc empty">&nbsp;</td></tr><tr><td colspan="2"><div class="subs fields"><p class="caption">Fields</p><dl><dt class="src"><a name="v:tagId" class="def">tagId</a> :: <a href="Facebook.html#t:Id">Id</a></dt><dd class="doc"><p>Who is tagged.</p></dd><dt class="src"><a name="v:tagName" class="def">tagName</a> :: <a href="file:///usr/share/doc/libghc-text-doc/html/Data-Text.html#t:Text">Text</a></dt><dd class="doc"><p>Name of the tagged person.</p></dd></dl><div class="clear"></div></div></td></tr></table></div><div class="subs instances"><p id="control.i:Tag" class="caption collapser" onclick="toggleSection('i:Tag')">Instances</p><div id="section.i:Tag" class="show"><table><tr><td class="src clearfix"><span class="inst-left"><a href="file:///usr/share/doc/ghc-doc/html/libraries/base-4.8.2.0/Data-Eq.html#t:Eq">Eq</a> <a href="Facebook.html#t:Tag">Tag</a></span> <a href="src/Facebook-Graph.html#line-270" class="link">Source</a></td><td class="doc empty">&nbsp;</td></tr><tr><td class="src clearfix"><span class="inst-left"><a href="file:///usr/share/doc/ghc-doc/html/libraries/base-4.8.2.0/Data-Ord.html#t:Ord">Ord</a> <a href="Facebook.html#t:Tag">Tag</a></span> <a href="src/Facebook-Graph.html#line-270" class="link">Source</a></td><td class="doc empty">&nbsp;</td></tr><tr><td class="src clearfix"><span class="inst-left"><a href="file:///usr/share/doc/ghc-doc/html/libraries/base-4.8.2.0/Text-Read.html#t:Read">Read</a> <a href="Facebook.html#t:Tag">Tag</a></span> <a href="src/Facebook-Graph.html#line-270" class="link">Source</a></td><td class="doc empty">&nbsp;</td></tr><tr><td class="src clearfix"><span class="inst-left"><a href="file:///usr/share/doc/ghc-doc/html/libraries/base-4.8.2.0/Text-Show.html#t:Show">Show</a> <a href="Facebook.html#t:Tag">Tag</a></span> <a href="src/Facebook-Graph.html#line-270" class="link">Source</a></td><td class="doc empty">&nbsp;</td></tr><tr><td class="src clearfix"><span class="inst-left"><a href="file:///usr/share/doc/libghc-aeson-doc/html/Data-Aeson-Types.html#t:FromJSON">FromJSON</a> <a href="Facebook.html#t:Tag">Tag</a></span> <a href="src/Facebook-Graph.html#line-272" class="link">Source</a></td><td class="doc empty">&nbsp;</td></tr></table></div></div></div><h2 id="g:18">Pagination</h2><div class="top"><p class="src"><span class="keyword">data</span> <a name="t:Pager" class="def">Pager</a> a <a href="src/Facebook-Pager.html#Pager" class="link">Source</a></p><div class="doc"><p>Many Graph API results are returned as a JSON object with
 the following structure:</p><pre>{
  &quot;data&quot;: [
    ...item 1...,
         :
    ...item n...
  ],
  &quot;paging&quot;: {
    &quot;previous&quot;: &quot;http://...link to previous page...&quot;,
    &quot;next&quot;:     &quot;http://...link to next page...&quot;
  }
}
</pre><p>Only the <code>&quot;data&quot;</code> field is required, the others may or may
 not appear.</p><p>A <code>Pager a</code> datatype encodes such result where each item has
 type <code>a</code>.  You may use functions <code><a href="Facebook.html#v:fetchNextPage">fetchNextPage</a></code> and
 <code><a href="Facebook.html#v:fetchPreviousPage">fetchPreviousPage</a></code> to navigate through the results.</p></div><div class="subs constructors"><p class="caption">Constructors</p><table><tr><td class="src"><a name="v:Pager" class="def">Pager</a></td><td class="doc empty">&nbsp;</td></tr><tr><td colspan="2"><div class="subs fields"><p class="caption">Fields</p><dl><dt class="src"><a name="v:pagerData" class="def">pagerData</a> :: [a]</dt><dd class="doc empty">&nbsp;</dd><dt class="src"><a name="v:pagerPrevious" class="def">pagerPrevious</a> :: <a href="file:///usr/share/doc/ghc-doc/html/libraries/base-4.8.2.0/Data-Maybe.html#t:Maybe">Maybe</a> <a href="file:///usr/share/doc/ghc-doc/html/libraries/base-4.8.2.0/Data-String.html#t:String">String</a></dt><dd class="doc empty">&nbsp;</dd><dt class="src"><a name="v:pagerNext" class="def">pagerNext</a> :: <a href="file:///usr/share/doc/ghc-doc/html/libraries/base-4.8.2.0/Data-Maybe.html#t:Maybe">Maybe</a> <a href="file:///usr/share/doc/ghc-doc/html/libraries/base-4.8.2.0/Data-String.html#t:String">String</a></dt><dd class="doc empty">&nbsp;</dd></dl><div class="clear"></div></div></td></tr></table></div><div class="subs instances"><p id="control.i:Pager" class="caption collapser" onclick="toggleSection('i:Pager')">Instances</p><div id="section.i:Pager" class="show"><table><tr><td class="src clearfix"><span class="inst-left"><a href="file:///usr/share/doc/ghc-doc/html/libraries/base-4.8.2.0/Data-Eq.html#t:Eq">Eq</a> a =&gt; <a href="file:///usr/share/doc/ghc-doc/html/libraries/base-4.8.2.0/Data-Eq.html#t:Eq">Eq</a> (<a href="Facebook.html#t:Pager">Pager</a> a)</span> <a href="src/Facebook-Pager.html#line-56" class="link">Source</a></td><td class="doc empty">&nbsp;</td></tr><tr><td class="src clearfix"><span class="inst-left"><a href="file:///usr/share/doc/ghc-doc/html/libraries/base-4.8.2.0/Data-Ord.html#t:Ord">Ord</a> a =&gt; <a href="file:///usr/share/doc/ghc-doc/html/libraries/base-4.8.2.0/Data-Ord.html#t:Ord">Ord</a> (<a href="Facebook.html#t:Pager">Pager</a> a)</span> <a href="src/Facebook-Pager.html#line-56" class="link">Source</a></td><td class="doc empty">&nbsp;</td></tr><tr><td class="src clearfix"><span class="inst-left"><a href="file:///usr/share/doc/ghc-doc/html/libraries/base-4.8.2.0/Text-Read.html#t:Read">Read</a> a =&gt; <a href="file:///usr/share/doc/ghc-doc/html/libraries/base-4.8.2.0/Text-Read.html#t:Read">Read</a> (<a href="Facebook.html#t:Pager">Pager</a> a)</span> <a href="src/Facebook-Pager.html#line-56" class="link">Source</a></td><td class="doc empty">&nbsp;</td></tr><tr><td class="src clearfix"><span class="inst-left"><a href="file:///usr/share/doc/ghc-doc/html/libraries/base-4.8.2.0/Text-Show.html#t:Show">Show</a> a =&gt; <a href="file:///usr/share/doc/ghc-doc/html/libraries/base-4.8.2.0/Text-Show.html#t:Show">Show</a> (<a href="Facebook.html#t:Pager">Pager</a> a)</span> <a href="src/Facebook-Pager.html#line-56" class="link">Source</a></td><td class="doc empty">&nbsp;</td></tr><tr><td class="src clearfix"><span class="inst-left"><a href="file:///usr/share/doc/libghc-aeson-doc/html/Data-Aeson-Types.html#t:FromJSON">FromJSON</a> a =&gt; <a href="file:///usr/share/doc/libghc-aeson-doc/html/Data-Aeson-Types.html#t:FromJSON">FromJSON</a> (<a href="Facebook.html#t:Pager">Pager</a> a)</span> <a href="src/Facebook-Pager.html#line-58" class="link">Source</a></td><td class="doc empty">&nbsp;</td></tr></table></div></div></div><div class="top"><p class="src"><a name="v:fetchNextPage" class="def">fetchNextPage</a> :: (<a href="file:///usr/share/doc/libghc-resourcet-doc/html/Control-Monad-Trans-Resource.html#t:MonadResource">MonadResource</a> m, <a href="file:///usr/share/doc/libghc-monad-control-doc/html/Control-Monad-Trans-Control.html#t:MonadBaseControl">MonadBaseControl</a> <a href="file:///usr/share/doc/ghc-doc/html/libraries/base-4.8.2.0/System-IO.html#t:IO">IO</a> m, <a href="file:///usr/share/doc/libghc-aeson-doc/html/Data-Aeson-Types.html#t:FromJSON">FromJSON</a> a) =&gt; <a href="Facebook.html#t:Pager">Pager</a> a -&gt; <a href="Facebook.html#t:FacebookT">FacebookT</a> anyAuth m (<a href="file:///usr/share/doc/ghc-doc/html/libraries/base-4.8.2.0/Data-Maybe.html#t:Maybe">Maybe</a> (<a href="Facebook.html#t:Pager">Pager</a> a)) <a href="src/Facebook-Pager.html#fetchNextPage" class="link">Source</a></p><div class="doc"><p>Tries to fetch the next page of a <code><a href="Facebook.html#t:Pager">Pager</a></code>.  Returns
 <code><a href="file:///usr/share/doc/ghc-doc/html/libraries/base-4.8.2.0/Data-Maybe.html#v:Nothing">Nothing</a></code> whenever the current <code>Pager</code> does not have a
 <code><a href="Facebook.html#v:pagerNext">pagerNext</a></code>.</p></div></div><div class="top"><p class="src"><a name="v:fetchPreviousPage" class="def">fetchPreviousPage</a> :: (<a href="file:///usr/share/doc/libghc-resourcet-doc/html/Control-Monad-Trans-Resource.html#t:MonadResource">MonadResource</a> m, <a href="file:///usr/share/doc/libghc-monad-control-doc/html/Control-Monad-Trans-Control.html#t:MonadBaseControl">MonadBaseControl</a> <a href="file:///usr/share/doc/ghc-doc/html/libraries/base-4.8.2.0/System-IO.html#t:IO">IO</a> m, <a href="file:///usr/share/doc/libghc-aeson-doc/html/Data-Aeson-Types.html#t:FromJSON">FromJSON</a> a) =&gt; <a href="Facebook.html#t:Pager">Pager</a> a -&gt; <a href="Facebook.html#t:FacebookT">FacebookT</a> anyAuth m (<a href="file:///usr/share/doc/ghc-doc/html/libraries/base-4.8.2.0/Data-Maybe.html#t:Maybe">Maybe</a> (<a href="Facebook.html#t:Pager">Pager</a> a)) <a href="src/Facebook-Pager.html#fetchPreviousPage" class="link">Source</a></p><div class="doc"><p>Tries to fetch the previous page of a <code><a href="Facebook.html#t:Pager">Pager</a></code>.  Returns
 <code><a href="file:///usr/share/doc/ghc-doc/html/libraries/base-4.8.2.0/Data-Maybe.html#v:Nothing">Nothing</a></code> whenever the current <code>Pager</code> does not have a
 <code><a href="Facebook.html#v:pagerPrevious">pagerPrevious</a></code>.</p></div></div><div class="top"><p class="src"><a name="v:fetchAllNextPages" class="def">fetchAllNextPages</a> :: (<a href="file:///usr/share/doc/ghc-doc/html/libraries/base-4.8.2.0/Control-Monad.html#t:Monad">Monad</a> m, <a href="file:///usr/share/doc/libghc-resourcet-doc/html/Control-Monad-Trans-Resource.html#t:MonadResourceBase">MonadResourceBase</a> n, <a href="file:///usr/share/doc/libghc-aeson-doc/html/Data-Aeson-Types.html#t:FromJSON">FromJSON</a> a) =&gt; <a href="Facebook.html#t:Pager">Pager</a> a -&gt; <a href="Facebook.html#t:FacebookT">FacebookT</a> anyAuth m (<a href="file:///usr/share/doc/libghc-conduit-doc/html/Data-Conduit.html#t:Source">Source</a> n a) <a href="src/Facebook-Pager.html#fetchAllNextPages" class="link">Source</a></p><div class="doc"><p>Tries to fetch all next pages and returns a <code><a href="file:///usr/share/doc/libghc-conduit-doc/html/Data-Conduit.html#t:Source">Source</a></code> with
 all results.  The <code><a href="file:///usr/share/doc/libghc-conduit-doc/html/Data-Conduit.html#t:Source">Source</a></code> will include the results from
 this page as well.  Previous pages will not be considered.
 Next pages will be fetched on-demand.</p></div></div><div class="top"><p class="src"><a name="v:fetchAllPreviousPages" class="def">fetchAllPreviousPages</a> :: (<a href="file:///usr/share/doc/ghc-doc/html/libraries/base-4.8.2.0/Control-Monad.html#t:Monad">Monad</a> m, <a href="file:///usr/share/doc/libghc-resourcet-doc/html/Control-Monad-Trans-Resource.html#t:MonadResourceBase">MonadResourceBase</a> n, <a href="file:///usr/share/doc/libghc-aeson-doc/html/Data-Aeson-Types.html#t:FromJSON">FromJSON</a> a) =&gt; <a href="Facebook.html#t:Pager">Pager</a> a -&gt; <a href="Facebook.html#t:FacebookT">FacebookT</a> anyAuth m (<a href="file:///usr/share/doc/libghc-conduit-doc/html/Data-Conduit.html#t:Source">Source</a> n a) <a href="src/Facebook-Pager.html#fetchAllPreviousPages" class="link">Source</a></p><div class="doc"><p>Tries to fetch all previous pages and returns a <code><a href="file:///usr/share/doc/libghc-conduit-doc/html/Data-Conduit.html#t:Source">Source</a></code>
 with all results.  The <code><a href="file:///usr/share/doc/libghc-conduit-doc/html/Data-Conduit.html#t:Source">Source</a></code> will include the results
 from this page as well.  Next pages will not be
 considered.  Previous pages will be fetched on-demand.</p></div></div><h1 id="g:19">Real-time update notifications</h1><h2 id="g:20">Subscriptions</h2><div class="top"><p class="src"><a name="v:modifySubscription" class="def">modifySubscription</a> <a href="src/Facebook-RealTime.html#modifySubscription" class="link">Source</a></p><div class="subs arguments"><p class="caption">Arguments</p><table><tr><td class="src">:: (<a href="file:///usr/share/doc/libghc-resourcet-doc/html/Control-Monad-Trans-Resource.html#t:MonadResource">MonadResource</a> m, <a href="file:///usr/share/doc/libghc-monad-control-doc/html/Control-Monad-Trans-Control.html#t:MonadBaseControl">MonadBaseControl</a> <a href="file:///usr/share/doc/ghc-doc/html/libraries/base-4.8.2.0/System-IO.html#t:IO">IO</a> m)</td><td class="doc empty">&nbsp;</td></tr><tr><td class="src">=&gt; <a href="Facebook.html#t:RealTimeUpdateObject">RealTimeUpdateObject</a></td><td class="doc"><p>Type of objects whose subscription you
 and to add or modify.</p></td></tr><tr><td class="src">-&gt; [<a href="Facebook.html#t:RealTimeUpdateField">RealTimeUpdateField</a>]</td><td class="doc"><p>Fields that you are interested in
 receiving updates.</p></td></tr><tr><td class="src">-&gt; <a href="Facebook.html#t:RealTimeUpdateUrl">RealTimeUpdateUrl</a></td><td class="doc"><p>Your callback URL.</p></td></tr><tr><td class="src">-&gt; <a href="Facebook.html#t:RealTimeUpdateToken">RealTimeUpdateToken</a></td><td class="doc"><p>A verification token.</p></td></tr><tr><td class="src">-&gt; <a href="Facebook.html#t:AppAccessToken">AppAccessToken</a></td><td class="doc"><p>Access token for your app.</p></td></tr><tr><td class="src">-&gt; <a href="Facebook.html#t:FacebookT">FacebookT</a> <a href="Facebook.html#t:Auth">Auth</a> m ()</td><td class="doc empty">&nbsp;</td></tr></table></div><div class="doc"><p>Add or modify a subscription for real-time updates.  If
 there were no previous subscriptions for the given
 <code><a href="Facebook.html#t:RealTimeUpdateObject">RealTimeUpdateObject</a></code>, then a new subscription is created.
 If there was any previous subscription for the given
 <code><a href="Facebook.html#t:RealTimeUpdateObject">RealTimeUpdateObject</a></code>, it's overriden by this one (even if
 the other subscription had a different callback URL).</p></div></div><div class="top"><p class="src"><a name="v:listSubscriptions" class="def">listSubscriptions</a> :: (<a href="file:///usr/share/doc/libghc-resourcet-doc/html/Control-Monad-Trans-Resource.html#t:MonadResource">MonadResource</a> m, <a href="file:///usr/share/doc/libghc-monad-control-doc/html/Control-Monad-Trans-Control.html#t:MonadBaseControl">MonadBaseControl</a> <a href="file:///usr/share/doc/ghc-doc/html/libraries/base-4.8.2.0/System-IO.html#t:IO">IO</a> m) =&gt; <a href="Facebook.html#t:AppAccessToken">AppAccessToken</a> -&gt; <a href="Facebook.html#t:FacebookT">FacebookT</a> <a href="Facebook.html#t:Auth">Auth</a> m [<a href="Facebook.html#t:RealTimeUpdateSubscription">RealTimeUpdateSubscription</a>] <a href="src/Facebook-RealTime.html#listSubscriptions" class="link">Source</a></p><div class="doc"><p>List current real-time update subscriptions.</p></div></div><div class="top"><p class="src"><span class="keyword">data</span> <a name="t:RealTimeUpdateObject" class="def">RealTimeUpdateObject</a> <a href="src/Facebook-RealTime.html#RealTimeUpdateObject" class="link">Source</a></p><div class="doc"><p>The type of objects that a real-time update refers to.</p></div><div class="subs constructors"><p class="caption">Constructors</p><table><tr><td class="src"><a name="v:UserRTUO" class="def">UserRTUO</a></td><td class="doc empty">&nbsp;</td></tr><tr><td class="src"><a name="v:PermissionsRTUO" class="def">PermissionsRTUO</a></td><td class="doc empty">&nbsp;</td></tr><tr><td class="src"><a name="v:PageRTUO" class="def">PageRTUO</a></td><td class="doc empty">&nbsp;</td></tr><tr><td class="src"><a name="v:ErrorsRTUO" class="def">ErrorsRTUO</a></td><td class="doc empty">&nbsp;</td></tr><tr><td class="src"><a name="v:OtherRTUO" class="def">OtherRTUO</a> <a href="file:///usr/share/doc/libghc-text-doc/html/Data-Text.html#t:Text">Text</a></td><td class="doc empty">&nbsp;</td></tr></table></div><div class="subs instances"><p id="control.i:RealTimeUpdateObject" class="caption collapser" onclick="toggleSection('i:RealTimeUpdateObject')">Instances</p><div id="section.i:RealTimeUpdateObject" class="show"><table><tr><td class="src clearfix"><span class="inst-left"><a href="file:///usr/share/doc/ghc-doc/html/libraries/base-4.8.2.0/Data-Eq.html#t:Eq">Eq</a> <a href="Facebook.html#t:RealTimeUpdateObject">RealTimeUpdateObject</a></span> <a href="src/Facebook-RealTime.html#line-52" class="link">Source</a></td><td class="doc empty">&nbsp;</td></tr><tr><td class="src clearfix"><span class="inst-left"><a href="file:///usr/share/doc/ghc-doc/html/libraries/base-4.8.2.0/Data-Ord.html#t:Ord">Ord</a> <a href="Facebook.html#t:RealTimeUpdateObject">RealTimeUpdateObject</a></span> <a href="src/Facebook-RealTime.html#line-52" class="link">Source</a></td><td class="doc empty">&nbsp;</td></tr><tr><td class="src clearfix"><span class="inst-left"><a href="file:///usr/share/doc/ghc-doc/html/libraries/base-4.8.2.0/Text-Show.html#t:Show">Show</a> <a href="Facebook.html#t:RealTimeUpdateObject">RealTimeUpdateObject</a></span> <a href="src/Facebook-RealTime.html#line-52" class="link">Source</a></td><td class="doc empty">&nbsp;</td></tr><tr><td class="src clearfix"><span class="inst-left"><a href="file:///usr/share/doc/libghc-aeson-doc/html/Data-Aeson-Types.html#t:ToJSON">ToJSON</a> <a href="Facebook.html#t:RealTimeUpdateObject">RealTimeUpdateObject</a></span> <a href="src/Facebook-RealTime.html#line-69" class="link">Source</a></td><td class="doc empty">&nbsp;</td></tr><tr><td class="src clearfix"><span class="inst-left"><a href="file:///usr/share/doc/libghc-aeson-doc/html/Data-Aeson-Types.html#t:FromJSON">FromJSON</a> <a href="Facebook.html#t:RealTimeUpdateObject">RealTimeUpdateObject</a></span> <a href="src/Facebook-RealTime.html#line-61" class="link">Source</a></td><td class="doc empty">&nbsp;</td></tr></table></div></div></div><div class="top"><p class="src"><span class="keyword">type</span> <a name="t:RealTimeUpdateField" class="def">RealTimeUpdateField</a> = <a href="file:///usr/share/doc/ghc-doc/html/libraries/bytestring-0.10.6.0/Data-ByteString.html#t:ByteString">ByteString</a> <a href="src/Facebook-RealTime.html#RealTimeUpdateField" class="link">Source</a></p><div class="doc"><p>A field of a <code><a href="Facebook.html#t:RealTimeUpdateObject">RealTimeUpdateObject</a></code> that you would like to
 receive notifications when changed.</p></div></div><div class="top"><p class="src"><span class="keyword">type</span> <a name="t:RealTimeUpdateUrl" class="def">RealTimeUpdateUrl</a> = <a href="file:///usr/share/doc/libghc-text-doc/html/Data-Text.html#t:Text">Text</a> <a href="src/Facebook-RealTime.html#RealTimeUpdateUrl" class="link">Source</a></p><div class="doc"><p>The URL on your server that will receive the real-time
 updates.  Please refer to Facebook's documentation in order to
 see what this URL needs to implement.</p></div></div><div class="top"><p class="src"><span class="keyword">type</span> <a name="t:RealTimeUpdateToken" class="def">RealTimeUpdateToken</a> = <a href="file:///usr/share/doc/ghc-doc/html/libraries/bytestring-0.10.6.0/Data-ByteString.html#t:ByteString">ByteString</a> <a href="src/Facebook-RealTime.html#RealTimeUpdateToken" class="link">Source</a></p><div class="doc"><p>A token that is sent back by Facebook's servers to your
 server in order to verify that you really were trying to
 modify your subscription.</p></div></div><div class="top"><p class="src"><span class="keyword">data</span> <a name="t:RealTimeUpdateSubscription" class="def">RealTimeUpdateSubscription</a> <a href="src/Facebook-RealTime.html#RealTimeUpdateSubscription" class="link">Source</a></p><div class="doc"><p>Information returned by Facebook about a real-time update
 notification subscription.</p></div><div class="subs constructors"><p class="caption">Constructors</p><table><tr><td class="src"><a name="v:RealTimeUpdateSubscription" class="def">RealTimeUpdateSubscription</a></td><td class="doc empty">&nbsp;</td></tr><tr><td colspan="2"><div class="subs fields"><p class="caption">Fields</p><dl><dt class="src"><a name="v:rtusObject" class="def">rtusObject</a> :: <a href="Facebook.html#t:RealTimeUpdateObject">RealTimeUpdateObject</a></dt><dd class="doc empty">&nbsp;</dd><dt class="src"><a name="v:rtusCallbackUrl" class="def">rtusCallbackUrl</a> :: <a href="Facebook.html#t:RealTimeUpdateUrl">RealTimeUpdateUrl</a></dt><dd class="doc empty">&nbsp;</dd><dt class="src"><a name="v:rtusFields" class="def">rtusFields</a> :: [<a href="Facebook.html#t:RealTimeUpdateField">RealTimeUpdateField</a>]</dt><dd class="doc empty">&nbsp;</dd><dt class="src"><a name="v:rtusActive" class="def">rtusActive</a> :: <a href="file:///usr/share/doc/ghc-doc/html/libraries/base-4.8.2.0/Data-Bool.html#t:Bool">Bool</a></dt><dd class="doc empty">&nbsp;</dd></dl><div class="clear"></div></div></td></tr></table></div><div class="subs instances"><p id="control.i:RealTimeUpdateSubscription" class="caption collapser" onclick="toggleSection('i:RealTimeUpdateSubscription')">Instances</p><div id="section.i:RealTimeUpdateSubscription" class="show"><table><tr><td class="src clearfix"><span class="inst-left"><a href="file:///usr/share/doc/ghc-doc/html/libraries/base-4.8.2.0/Data-Eq.html#t:Eq">Eq</a> <a href="Facebook.html#t:RealTimeUpdateSubscription">RealTimeUpdateSubscription</a></span> <a href="src/Facebook-RealTime.html#line-138" class="link">Source</a></td><td class="doc empty">&nbsp;</td></tr><tr><td class="src clearfix"><span class="inst-left"><a href="file:///usr/share/doc/ghc-doc/html/libraries/base-4.8.2.0/Data-Ord.html#t:Ord">Ord</a> <a href="Facebook.html#t:RealTimeUpdateSubscription">RealTimeUpdateSubscription</a></span> <a href="src/Facebook-RealTime.html#line-138" class="link">Source</a></td><td class="doc empty">&nbsp;</td></tr><tr><td class="src clearfix"><span class="inst-left"><a href="file:///usr/share/doc/ghc-doc/html/libraries/base-4.8.2.0/Text-Show.html#t:Show">Show</a> <a href="Facebook.html#t:RealTimeUpdateSubscription">RealTimeUpdateSubscription</a></span> <a href="src/Facebook-RealTime.html#line-138" class="link">Source</a></td><td class="doc empty">&nbsp;</td></tr><tr><td class="src clearfix"><span class="inst-left"><a href="file:///usr/share/doc/libghc-aeson-doc/html/Data-Aeson-Types.html#t:FromJSON">FromJSON</a> <a href="Facebook.html#t:RealTimeUpdateSubscription">RealTimeUpdateSubscription</a></span> <a href="src/Facebook-RealTime.html#line-140" class="link">Source</a></td><td class="doc empty">&nbsp;</td></tr></table></div></div></div><h2 id="g:21">Notifications</h2><div class="top"><p class="src"><a name="v:verifyRealTimeUpdateNotifications" class="def">verifyRealTimeUpdateNotifications</a> <a href="src/Facebook-RealTime.html#verifyRealTimeUpdateNotifications" class="link">Source</a></p><div class="subs arguments"><p class="caption">Arguments</p><table><tr><td class="src">:: <a href="file:///usr/share/doc/ghc-doc/html/libraries/base-4.8.2.0/Control-Monad.html#t:Monad">Monad</a> m</td><td class="doc empty">&nbsp;</td></tr><tr><td class="src">=&gt; <a href="file:///usr/share/doc/ghc-doc/html/libraries/bytestring-0.10.6.0/Data-ByteString.html#t:ByteString">ByteString</a></td><td class="doc"><p><code>X-Hub-Signature</code> HTTP header's value.</p></td></tr><tr><td class="src">-&gt; <a href="file:///usr/share/doc/ghc-doc/html/libraries/bytestring-0.10.6.0/Data-ByteString-Lazy.html#t:ByteString">ByteString</a></td><td class="doc"><p>Request body with JSON-encoded notifications.</p></td></tr><tr><td class="src">-&gt; <a href="Facebook.html#t:FacebookT">FacebookT</a> <a href="Facebook.html#t:Auth">Auth</a> m (<a href="file:///usr/share/doc/ghc-doc/html/libraries/base-4.8.2.0/Data-Maybe.html#t:Maybe">Maybe</a> <a href="file:///usr/share/doc/ghc-doc/html/libraries/bytestring-0.10.6.0/Data-ByteString-Lazy.html#t:ByteString">ByteString</a>)</td><td class="doc empty">&nbsp;</td></tr></table></div><div class="doc"><p>Verifies the input's authenticity (i.e. it comes from
 Facebook) and integrity by calculating its HMAC-SHA1 (using
 your application secret as the key) and verifying that it
 matches the value from the HTTP request's <code>X-Hub-Signature</code>
 header's value.  If it's not valid, <code>Nothing</code> is returned,
 otherwise <code>Just data</code> is returned where <code>data</code> is the original
 data.</p></div></div><div class="top"><p class="src"><a name="v:getRealTimeUpdateNotifications" class="def">getRealTimeUpdateNotifications</a> <a href="src/Facebook-RealTime.html#getRealTimeUpdateNotifications" class="link">Source</a></p><div class="subs arguments"><p class="caption">Arguments</p><table><tr><td class="src">:: (<a href="file:///usr/share/doc/ghc-doc/html/libraries/base-4.8.2.0/Control-Monad.html#t:Monad">Monad</a> m, <a href="file:///usr/share/doc/libghc-aeson-doc/html/Data-Aeson-Types.html#t:FromJSON">FromJSON</a> a)</td><td class="doc empty">&nbsp;</td></tr><tr><td class="src">=&gt; <a href="file:///usr/share/doc/ghc-doc/html/libraries/bytestring-0.10.6.0/Data-ByteString.html#t:ByteString">ByteString</a></td><td class="doc"><p><code>X-Hub-Signature</code> HTTP header's value.</p></td></tr><tr><td class="src">-&gt; <a href="file:///usr/share/doc/ghc-doc/html/libraries/bytestring-0.10.6.0/Data-ByteString-Lazy.html#t:ByteString">ByteString</a></td><td class="doc"><p>Request body with JSON-encoded notifications.</p></td></tr><tr><td class="src">-&gt; <a href="Facebook.html#t:FacebookT">FacebookT</a> <a href="Facebook.html#t:Auth">Auth</a> m (<a href="file:///usr/share/doc/ghc-doc/html/libraries/base-4.8.2.0/Data-Maybe.html#t:Maybe">Maybe</a> (<a href="Facebook.html#t:RealTimeUpdateNotification">RealTimeUpdateNotification</a> a))</td><td class="doc empty">&nbsp;</td></tr></table></div><div class="doc"><p>Same as <code><a href="Facebook.html#v:verifyRealTimeUpdateNotifications">verifyRealTimeUpdateNotifications</a></code> but also parses
 the response as JSON.  Returns <code>Nothing</code> if either the
 signature is invalid or the data can't be parsed (use
 <code><a href="Facebook.html#v:verifyRealTimeUpdateNotifications">verifyRealTimeUpdateNotifications</a></code> if you need to distinguish
 between these two error conditions).</p></div></div><div class="top"><p class="src"><span class="keyword">data</span> <a name="t:RealTimeUpdateNotification" class="def">RealTimeUpdateNotification</a> a <a href="src/Facebook-RealTime.html#RealTimeUpdateNotification" class="link">Source</a></p><div class="doc"><p>When data changes and there's a valid subscription, Facebook
 will <code>POST</code> to your <code><a href="Facebook.html#t:RealTimeUpdateUrl">RealTimeUpdateUrl</a></code> with a JSON-encoded
 object containing the notifications.  A
 'RealTimeUpdateNotification a' represents such object where
 <code>a</code> is type of the entries (e.g.,
 <code><a href="Facebook.html#t:RealTimeUpdateNotificationUserEntry">RealTimeUpdateNotificationUserEntry</a></code>).</p><p>If you have a single <code><a href="Facebook.html#t:RealTimeUpdateUrl">RealTimeUpdateUrl</a></code> for different kinds
 of notifications, you may parse a <code>RealTimeUpdateNotification
 <code><a href="file:///usr/share/doc/libghc-aeson-doc/html/Data-Aeson-Types.html#t:Value">Value</a></code></code> and then manually parse the <code><a href="file:///usr/share/doc/libghc-aeson-doc/html/Data-Aeson-Types.html#t:Value">Value</a></code> depending on
 the value of <code><a href="Facebook.html#v:rtunObject">rtunObject</a></code>.</p><p>We recommend using <code><a href="Facebook.html#v:getRealTimeUpdateNotifications">getRealTimeUpdateNotifications</a></code>.</p></div><div class="subs constructors"><p class="caption">Constructors</p><table><tr><td class="src"><a name="v:RealTimeUpdateNotification" class="def">RealTimeUpdateNotification</a></td><td class="doc empty">&nbsp;</td></tr><tr><td colspan="2"><div class="subs fields"><p class="caption">Fields</p><dl><dt class="src"><a name="v:rtunObject" class="def">rtunObject</a> :: <a href="Facebook.html#t:RealTimeUpdateObject">RealTimeUpdateObject</a></dt><dd class="doc empty">&nbsp;</dd><dt class="src"><a name="v:rtunEntries" class="def">rtunEntries</a> :: [a]</dt><dd class="doc empty">&nbsp;</dd></dl><div class="clear"></div></div></td></tr></table></div><div class="subs instances"><p id="control.i:RealTimeUpdateNotification" class="caption collapser" onclick="toggleSection('i:RealTimeUpdateNotification')">Instances</p><div id="section.i:RealTimeUpdateNotification" class="show"><table><tr><td class="src clearfix"><span class="inst-left"><a href="file:///usr/share/doc/ghc-doc/html/libraries/base-4.8.2.0/Data-Eq.html#t:Eq">Eq</a> a =&gt; <a href="file:///usr/share/doc/ghc-doc/html/libraries/base-4.8.2.0/Data-Eq.html#t:Eq">Eq</a> (<a href="Facebook.html#t:RealTimeUpdateNotification">RealTimeUpdateNotification</a> a)</span> <a href="src/Facebook-RealTime.html#line-217" class="link">Source</a></td><td class="doc empty">&nbsp;</td></tr><tr><td class="src clearfix"><span class="inst-left"><a href="file:///usr/share/doc/ghc-doc/html/libraries/base-4.8.2.0/Data-Ord.html#t:Ord">Ord</a> a =&gt; <a href="file:///usr/share/doc/ghc-doc/html/libraries/base-4.8.2.0/Data-Ord.html#t:Ord">Ord</a> (<a href="Facebook.html#t:RealTimeUpdateNotification">RealTimeUpdateNotification</a> a)</span> <a href="src/Facebook-RealTime.html#line-217" class="link">Source</a></td><td class="doc empty">&nbsp;</td></tr><tr><td class="src clearfix"><span class="inst-left"><a href="file:///usr/share/doc/ghc-doc/html/libraries/base-4.8.2.0/Text-Show.html#t:Show">Show</a> a =&gt; <a href="file:///usr/share/doc/ghc-doc/html/libraries/base-4.8.2.0/Text-Show.html#t:Show">Show</a> (<a href="Facebook.html#t:RealTimeUpdateNotification">RealTimeUpdateNotification</a> a)</span> <a href="src/Facebook-RealTime.html#line-217" class="link">Source</a></td><td class="doc empty">&nbsp;</td></tr><tr><td class="src clearfix"><span class="inst-left"><a href="file:///usr/share/doc/libghc-aeson-doc/html/Data-Aeson-Types.html#t:FromJSON">FromJSON</a> a =&gt; <a href="file:///usr/share/doc/libghc-aeson-doc/html/Data-Aeson-Types.html#t:FromJSON">FromJSON</a> (<a href="Facebook.html#t:RealTimeUpdateNotification">RealTimeUpdateNotification</a> a)</span> <a href="src/Facebook-RealTime.html#line-219" class="link">Source</a></td><td class="doc empty">&nbsp;</td></tr></table></div></div></div><div class="top"><p class="src"><span class="keyword">data</span> <a name="t:RealTimeUpdateNotificationUserEntry" class="def">RealTimeUpdateNotificationUserEntry</a> <a href="src/Facebook-RealTime.html#RealTimeUpdateNotificationUserEntry" class="link">Source</a></p><div class="doc"><p>A notification for the <code><a href="Facebook.html#v:UserRTUO">UserRTUO</a></code> object.</p></div><div class="subs constructors"><p class="caption">Constructors</p><table><tr><td class="src"><a name="v:RealTimeUpdateNotificationUserEntry" class="def">RealTimeUpdateNotificationUserEntry</a></td><td class="doc empty">&nbsp;</td></tr><tr><td colspan="2"><div class="subs fields"><p class="caption">Fields</p><dl><dt class="src"><a name="v:rtuneUserId" class="def">rtuneUserId</a> :: <a href="Facebook.html#t:Id">Id</a></dt><dd class="doc empty">&nbsp;</dd><dt class="src"><a name="v:rtuneChangedFields" class="def">rtuneChangedFields</a> :: [<a href="Facebook.html#t:RealTimeUpdateField">RealTimeUpdateField</a>]</dt><dd class="doc empty">&nbsp;</dd><dt class="src"><a name="v:rtuneTime" class="def">rtuneTime</a> :: <a href="file:///usr/share/doc/ghc-doc/html/libraries/base-4.8.2.0/Prelude.html#t:Integer">Integer</a></dt><dd class="doc empty">&nbsp;</dd></dl><div class="clear"></div></div></td></tr></table></div><div class="subs instances"><p id="control.i:RealTimeUpdateNotificationUserEntry" class="caption collapser" onclick="toggleSection('i:RealTimeUpdateNotificationUserEntry')">Instances</p><div id="section.i:RealTimeUpdateNotificationUserEntry" class="show"><table><tr><td class="src clearfix"><span class="inst-left"><a href="file:///usr/share/doc/ghc-doc/html/libraries/base-4.8.2.0/Data-Eq.html#t:Eq">Eq</a> <a href="Facebook.html#t:RealTimeUpdateNotificationUserEntry">RealTimeUpdateNotificationUserEntry</a></span> <a href="src/Facebook-RealTime.html#line-233" class="link">Source</a></td><td class="doc empty">&nbsp;</td></tr><tr><td class="src clearfix"><span class="inst-left"><a href="file:///usr/share/doc/ghc-doc/html/libraries/base-4.8.2.0/Data-Ord.html#t:Ord">Ord</a> <a href="Facebook.html#t:RealTimeUpdateNotificationUserEntry">RealTimeUpdateNotificationUserEntry</a></span> <a href="src/Facebook-RealTime.html#line-233" class="link">Source</a></td><td class="doc empty">&nbsp;</td></tr><tr><td class="src clearfix"><span class="inst-left"><a href="file:///usr/share/doc/ghc-doc/html/libraries/base-4.8.2.0/Text-Show.html#t:Show">Show</a> <a href="Facebook.html#t:RealTimeUpdateNotificationUserEntry">RealTimeUpdateNotificationUserEntry</a></span> <a href="src/Facebook-RealTime.html#line-233" class="link">Source</a></td><td class="doc empty">&nbsp;</td></tr><tr><td class="src clearfix"><span class="inst-left"><a href="file:///usr/share/doc/libghc-aeson-doc/html/Data-Aeson-Types.html#t:FromJSON">FromJSON</a> <a href="Facebook.html#t:RealTimeUpdateNotificationUserEntry">RealTimeUpdateNotificationUserEntry</a></span> <a href="src/Facebook-RealTime.html#line-235" class="link">Source</a></td><td class="doc empty">&nbsp;</td></tr></table></div></div></div><h1 id="g:22">FQL</h1><div class="top"><p class="src"><a name="v:fqlQuery" class="def">fqlQuery</a> <a href="src/Facebook-FQL.html#fqlQuery" class="link">Source</a></p><div class="subs arguments"><p class="caption">Arguments</p><table><tr><td class="src">:: (<a href="file:///usr/share/doc/libghc-resourcet-doc/html/Control-Monad-Trans-Resource.html#t:MonadResource">MonadResource</a> m, <a href="file:///usr/share/doc/libghc-monad-control-doc/html/Control-Monad-Trans-Control.html#t:MonadBaseControl">MonadBaseControl</a> <a href="file:///usr/share/doc/ghc-doc/html/libraries/base-4.8.2.0/System-IO.html#t:IO">IO</a> m, <a href="file:///usr/share/doc/libghc-aeson-doc/html/Data-Aeson-Types.html#t:FromJSON">FromJSON</a> a)</td><td class="doc empty">&nbsp;</td></tr><tr><td class="src">=&gt; <a href="file:///usr/share/doc/libghc-text-doc/html/Data-Text.html#t:Text">Text</a></td><td class="doc"><p>FQL Query</p></td></tr><tr><td class="src">-&gt; <a href="file:///usr/share/doc/ghc-doc/html/libraries/base-4.8.2.0/Data-Maybe.html#t:Maybe">Maybe</a> (<a href="Facebook.html#t:AccessToken">AccessToken</a> anyKind)</td><td class="doc"><p>Optional access token</p></td></tr><tr><td class="src">-&gt; <a href="Facebook.html#t:FacebookT">FacebookT</a> anyAuth m (<a href="Facebook.html#t:Pager">Pager</a> a)</td><td class="doc empty">&nbsp;</td></tr></table></div><div class="doc"><p>Query the Facebook Graph using FQL.</p></div></div><div class="top"><p class="src"><span class="keyword">newtype</span> <a name="t:FQLTime" class="def">FQLTime</a> <a href="src/Facebook-FQL.html#FQLTime" class="link">Source</a></p><div class="doc"><div class="warning"><p>Deprecated: Deprecated since fb 0.14.7, please use FbUTCTime instead.</p></div><p><code>newtype</code> wrapper around <code><a href="file:///usr/share/doc/ghc-doc/html/libraries/time-1.5.0.1/Data-Time-Clock.html#t:UTCTime">UTCTime</a></code> that is able to parse
 FQL's time representation as seconds since the Unix epoch.</p></div><div class="subs constructors"><p class="caption">Constructors</p><table><tr><td class="src"><a name="v:FQLTime" class="def">FQLTime</a></td><td class="doc"><div class="warning"><p>Deprecated: Deprecated since fb 0.14.7, please use FbUTCTime instead.</p></div></td></tr><tr><td colspan="2"><div class="subs fields"><p class="caption">Fields</p><dl><dt class="src"><a name="v:unFQLTime" class="def">unFQLTime</a> :: <a href="file:///usr/share/doc/ghc-doc/html/libraries/time-1.5.0.1/Data-Time-Clock.html#t:UTCTime">UTCTime</a></dt><dd class="doc empty">&nbsp;</dd></dl><div class="clear"></div></div></td></tr></table></div><div class="subs instances"><p id="control.i:FQLTime" class="caption collapser" onclick="toggleSection('i:FQLTime')">Instances</p><div id="section.i:FQLTime" class="show"><table><tr><td class="src clearfix"><span class="inst-left"><a href="file:///usr/share/doc/ghc-doc/html/libraries/base-4.8.2.0/Data-Eq.html#t:Eq">Eq</a> <a href="Facebook.html#t:FQLTime">FQLTime</a></span> <a href="src/Facebook-FQL.html#line-41" class="link">Source</a></td><td class="doc empty">&nbsp;</td></tr><tr><td class="src clearfix"><span class="inst-left"><a href="file:///usr/share/doc/ghc-doc/html/libraries/base-4.8.2.0/Data-Ord.html#t:Ord">Ord</a> <a href="Facebook.html#t:FQLTime">FQLTime</a></span> <a href="src/Facebook-FQL.html#line-41" class="link">Source</a></td><td class="doc empty">&nbsp;</td></tr><tr><td class="src clearfix"><span class="inst-left"><a href="file:///usr/share/doc/ghc-doc/html/libraries/base-4.8.2.0/Text-Show.html#t:Show">Show</a> <a href="Facebook.html#t:FQLTime">FQLTime</a></span> <a href="src/Facebook-FQL.html#line-41" class="link">Source</a></td><td class="doc empty">&nbsp;</td></tr><tr><td class="src clearfix"><span class="inst-left"><a href="file:///usr/share/doc/libghc-aeson-doc/html/Data-Aeson-Types.html#t:FromJSON">FromJSON</a> <a href="Facebook.html#t:FQLTime">FQLTime</a></span> <a href="src/Facebook-FQL.html#line-43" class="link">Source</a></td><td class="doc empty">&nbsp;</td></tr></table></div></div></div><div class="top"><p class="src"><span class="keyword">newtype</span> <a name="t:FQLList" class="def">FQLList</a> a <a href="src/Facebook-FQL.html#FQLList" class="link">Source</a></p><div class="doc"><p><code>newtype</code> wrapper around lists that works around FQL's
 strange lists.</p><p>For example, if you fetch the <code>tagged_uids</code> field from
 <code>location_post</code>, you'll find that Facebook's FQL represents an
 empty list of tagged UIDs as plain JSON array (<code>[]</code>).
 However, it represents a singleton list as an object
 <code>{&quot;1234&quot;: 1234}</code> instead of the much more correct <code>[1234]</code>.</p><p>On the other hand, not all FQL arrays are represented in this
 bogus manner.  Also, some so-called arrays by FQL's
 documentation are actually objects, see <code><a href="Facebook.html#t:FQLObject">FQLObject</a></code>.</p></div><div class="subs constructors"><p class="caption">Constructors</p><table><tr><td class="src"><a name="v:FQLList" class="def">FQLList</a></td><td class="doc empty">&nbsp;</td></tr><tr><td colspan="2"><div class="subs fields"><p class="caption">Fields</p><dl><dt class="src"><a name="v:unFQLList" class="def">unFQLList</a> :: [a]</dt><dd class="doc empty">&nbsp;</dd></dl><div class="clear"></div></div></td></tr></table></div><div class="subs instances"><p id="control.i:FQLList" class="caption collapser" onclick="toggleSection('i:FQLList')">Instances</p><div id="section.i:FQLList" class="show"><table><tr><td class="src clearfix"><span class="inst-left"><a href="file:///usr/share/doc/ghc-doc/html/libraries/base-4.8.2.0/Data-Eq.html#t:Eq">Eq</a> a =&gt; <a href="file:///usr/share/doc/ghc-doc/html/libraries/base-4.8.2.0/Data-Eq.html#t:Eq">Eq</a> (<a href="Facebook.html#t:FQLList">FQLList</a> a)</span> <a href="src/Facebook-FQL.html#line-65" class="link">Source</a></td><td class="doc empty">&nbsp;</td></tr><tr><td class="src clearfix"><span class="inst-left"><a href="file:///usr/share/doc/ghc-doc/html/libraries/base-4.8.2.0/Data-Ord.html#t:Ord">Ord</a> a =&gt; <a href="file:///usr/share/doc/ghc-doc/html/libraries/base-4.8.2.0/Data-Ord.html#t:Ord">Ord</a> (<a href="Facebook.html#t:FQLList">FQLList</a> a)</span> <a href="src/Facebook-FQL.html#line-65" class="link">Source</a></td><td class="doc empty">&nbsp;</td></tr><tr><td class="src clearfix"><span class="inst-left"><a href="file:///usr/share/doc/ghc-doc/html/libraries/base-4.8.2.0/Text-Show.html#t:Show">Show</a> a =&gt; <a href="file:///usr/share/doc/ghc-doc/html/libraries/base-4.8.2.0/Text-Show.html#t:Show">Show</a> (<a href="Facebook.html#t:FQLList">FQLList</a> a)</span> <a href="src/Facebook-FQL.html#line-65" class="link">Source</a></td><td class="doc empty">&nbsp;</td></tr><tr><td class="src clearfix"><span class="inst-left"><a href="file:///usr/share/doc/libghc-aeson-doc/html/Data-Aeson-Types.html#t:FromJSON">FromJSON</a> a =&gt; <a href="file:///usr/share/doc/libghc-aeson-doc/html/Data-Aeson-Types.html#t:FromJSON">FromJSON</a> (<a href="Facebook.html#t:FQLList">FQLList</a> a)</span> <a href="src/Facebook-FQL.html#line-67" class="link">Source</a></td><td class="doc empty">&nbsp;</td></tr></table></div></div></div><div class="top"><p class="src"><span class="keyword">newtype</span> <a name="t:FQLObject" class="def">FQLObject</a> a <a href="src/Facebook-FQL.html#FQLObject" class="link">Source</a></p><div class="doc"><p><code>newtype</code> wrapper around any object that works around FQL's
 strange objects.</p><p>For example, if you fetch the <code>app_data</code> field from <code>stream</code>,
 you'll find that empty objects are actually represented as
 empty lists <code>[]</code> instead of a proper empty object <code>{}</code>.  Also
 note that FQL's documentation says that <code>app_data</code> is an
 array, which it clear is not.  See also <code><a href="Facebook.html#t:FQLList">FQLList</a></code>.</p></div><div class="subs constructors"><p class="caption">Constructors</p><table><tr><td class="src"><a name="v:FQLObject" class="def">FQLObject</a></td><td class="doc empty">&nbsp;</td></tr><tr><td colspan="2"><div class="subs fields"><p class="caption">Fields</p><dl><dt class="src"><a name="v:unFQLObject" class="def">unFQLObject</a> :: a</dt><dd class="doc empty">&nbsp;</dd></dl><div class="clear"></div></div></td></tr></table></div><div class="subs instances"><p id="control.i:FQLObject" class="caption collapser" onclick="toggleSection('i:FQLObject')">Instances</p><div id="section.i:FQLObject" class="show"><table><tr><td class="src clearfix"><span class="inst-left"><a href="file:///usr/share/doc/ghc-doc/html/libraries/base-4.8.2.0/Data-Eq.html#t:Eq">Eq</a> a =&gt; <a href="file:///usr/share/doc/ghc-doc/html/libraries/base-4.8.2.0/Data-Eq.html#t:Eq">Eq</a> (<a href="Facebook.html#t:FQLObject">FQLObject</a> a)</span> <a href="src/Facebook-FQL.html#line-81" class="link">Source</a></td><td class="doc empty">&nbsp;</td></tr><tr><td class="src clearfix"><span class="inst-left"><a href="file:///usr/share/doc/ghc-doc/html/libraries/base-4.8.2.0/Data-Ord.html#t:Ord">Ord</a> a =&gt; <a href="file:///usr/share/doc/ghc-doc/html/libraries/base-4.8.2.0/Data-Ord.html#t:Ord">Ord</a> (<a href="Facebook.html#t:FQLObject">FQLObject</a> a)</span> <a href="src/Facebook-FQL.html#line-81" class="link">Source</a></td><td class="doc empty">&nbsp;</td></tr><tr><td class="src clearfix"><span class="inst-left"><a href="file:///usr/share/doc/ghc-doc/html/libraries/base-4.8.2.0/Text-Show.html#t:Show">Show</a> a =&gt; <a href="file:///usr/share/doc/ghc-doc/html/libraries/base-4.8.2.0/Text-Show.html#t:Show">Show</a> (<a href="Facebook.html#t:FQLObject">FQLObject</a> a)</span> <a href="src/Facebook-FQL.html#line-81" class="link">Source</a></td><td class="doc empty">&nbsp;</td></tr><tr><td class="src clearfix"><span class="inst-left"><a href="file:///usr/share/doc/libghc-aeson-doc/html/Data-Aeson-Types.html#t:FromJSON">FromJSON</a> a =&gt; <a href="file:///usr/share/doc/libghc-aeson-doc/html/Data-Aeson-Types.html#t:FromJSON">FromJSON</a> (<a href="Facebook.html#t:FQLObject">FQLObject</a> a)</span> <a href="src/Facebook-FQL.html#line-83" class="link">Source</a></td><td class="doc empty">&nbsp;</td></tr></table></div></div></div><h1 id="g:23">Test User API</h1><div class="top"><p class="src"><a name="v:getTestUsers" class="def">getTestUsers</a> <a href="src/Facebook-TestUsers.html#getTestUsers" class="link">Source</a></p><div class="subs arguments"><p class="caption">Arguments</p><table><tr><td class="src">:: (<a href="file:///usr/share/doc/libghc-resourcet-doc/html/Control-Monad-Trans-Resource.html#t:MonadResource">MonadResource</a> m, <a href="file:///usr/share/doc/libghc-monad-control-doc/html/Control-Monad-Trans-Control.html#t:MonadBaseControl">MonadBaseControl</a> <a href="file:///usr/share/doc/ghc-doc/html/libraries/base-4.8.2.0/System-IO.html#t:IO">IO</a> m)</td><td class="doc empty">&nbsp;</td></tr><tr><td class="src">=&gt; <a href="Facebook.html#t:AppAccessToken">AppAccessToken</a></td><td class="doc"><p>Access token for your app.</p></td></tr><tr><td class="src">-&gt; <a href="Facebook.html#t:FacebookT">FacebookT</a> <a href="Facebook.html#t:Auth">Auth</a> m (<a href="Facebook.html#t:Pager">Pager</a> <a href="Facebook.html#t:TestUser">TestUser</a>)</td><td class="doc empty">&nbsp;</td></tr></table></div><div class="doc"><p>Get a list of test users.</p></div></div><div class="top"><p class="src"><a name="v:removeTestUser" class="def">removeTestUser</a> <a href="src/Facebook-TestUsers.html#removeTestUser" class="link">Source</a></p><div class="subs arguments"><p class="caption">Arguments</p><table><tr><td class="src">:: (<a href="file:///usr/share/doc/libghc-resourcet-doc/html/Control-Monad-Trans-Resource.html#t:MonadResource">MonadResource</a> m, <a href="file:///usr/share/doc/libghc-monad-control-doc/html/Control-Monad-Trans-Control.html#t:MonadBaseControl">MonadBaseControl</a> <a href="file:///usr/share/doc/ghc-doc/html/libraries/base-4.8.2.0/System-IO.html#t:IO">IO</a> m)</td><td class="doc empty">&nbsp;</td></tr><tr><td class="src">=&gt; <a href="Facebook.html#t:TestUser">TestUser</a></td><td class="doc"><p>The TestUser to be removed.</p></td></tr><tr><td class="src">-&gt; <a href="Facebook.html#t:AppAccessToken">AppAccessToken</a></td><td class="doc"><p>Access token for your app (ignored since fb 0.14.7).</p></td></tr><tr><td class="src">-&gt; <a href="Facebook.html#t:FacebookT">FacebookT</a> <a href="Facebook.html#t:Auth">Auth</a> m <a href="file:///usr/share/doc/ghc-doc/html/libraries/base-4.8.2.0/Data-Bool.html#t:Bool">Bool</a></td><td class="doc empty">&nbsp;</td></tr></table></div><div class="doc"><p>Remove an existing test user.</p></div></div><div class="top"><p class="src"><a name="v:createTestUser" class="def">createTestUser</a> <a href="src/Facebook-TestUsers.html#createTestUser" class="link">Source</a></p><div class="subs arguments"><p class="caption">Arguments</p><table><tr><td class="src">:: (<a href="file:///usr/share/doc/libghc-resourcet-doc/html/Control-Monad-Trans-Resource.html#t:MonadResource">MonadResource</a> m, <a href="file:///usr/share/doc/libghc-monad-control-doc/html/Control-Monad-Trans-Control.html#t:MonadBaseControl">MonadBaseControl</a> <a href="file:///usr/share/doc/ghc-doc/html/libraries/base-4.8.2.0/System-IO.html#t:IO">IO</a> m)</td><td class="doc empty">&nbsp;</td></tr><tr><td class="src">=&gt; <a href="Facebook.html#t:CreateTestUser">CreateTestUser</a></td><td class="doc"><p>How the test user should be
 created.</p></td></tr><tr><td class="src">-&gt; <a href="Facebook.html#t:AppAccessToken">AppAccessToken</a></td><td class="doc"><p>Access token for your app.</p></td></tr><tr><td class="src">-&gt; <a href="Facebook.html#t:FacebookT">FacebookT</a> <a href="Facebook.html#t:Auth">Auth</a> m <a href="Facebook.html#t:TestUser">TestUser</a></td><td class="doc empty">&nbsp;</td></tr></table></div><div class="doc"><p>Create a new test user.</p></div></div><div class="top"><p class="src"><a name="v:makeFriendConn" class="def">makeFriendConn</a> :: (<a href="file:///usr/share/doc/libghc-resourcet-doc/html/Control-Monad-Trans-Resource.html#t:MonadResource">MonadResource</a> m, <a href="file:///usr/share/doc/libghc-monad-control-doc/html/Control-Monad-Trans-Control.html#t:MonadBaseControl">MonadBaseControl</a> <a href="file:///usr/share/doc/ghc-doc/html/libraries/base-4.8.2.0/System-IO.html#t:IO">IO</a> m) =&gt; <a href="Facebook.html#t:TestUser">TestUser</a> -&gt; <a href="Facebook.html#t:TestUser">TestUser</a> -&gt; <a href="Facebook.html#t:FacebookT">FacebookT</a> <a href="Facebook.html#t:Auth">Auth</a> m () <a href="src/Facebook-TestUsers.html#makeFriendConn" class="link">Source</a></p><div class="doc"><p>Make a friend connection between two test users.</p><p>This is how Facebook's API work: two calls must be made. The first
 call has the format: &quot;/userA_id/friends/userB_id&quot; with the
 access token of user A as query parameter. The second call has the
 format: &quot;/userB_id/friends/userA_id&quot; with the access token of
 user B as query parameter. The first call creates a friend request
 and the second call accepts the friend request.</p></div></div><div class="top"><p class="src"><a name="v:incompleteTestUserAccessToken" class="def">incompleteTestUserAccessToken</a> :: <a href="Facebook.html#t:TestUser">TestUser</a> -&gt; <a href="file:///usr/share/doc/ghc-doc/html/libraries/base-4.8.2.0/Data-Maybe.html#t:Maybe">Maybe</a> <a href="Facebook.html#t:UserAccessToken">UserAccessToken</a> <a href="src/Facebook-TestUsers.html#incompleteTestUserAccessToken" class="link">Source</a></p><div class="doc"><p>Create an <code><a href="Facebook.html#t:UserAccessToken">UserAccessToken</a></code> from a <code><a href="Facebook.html#t:TestUser">TestUser</a></code>.  It's incomplete
 because it will not have the right expiration time.</p></div></div><div class="top"><p class="src"><span class="keyword">data</span> <a name="t:TestUser" class="def">TestUser</a> <a href="src/Facebook-TestUsers.html#TestUser" class="link">Source</a></p><div class="doc"><p>A Facebook test user.</p></div><div class="subs constructors"><p class="caption">Constructors</p><table><tr><td class="src"><a name="v:TestUser" class="def">TestUser</a></td><td class="doc empty">&nbsp;</td></tr><tr><td colspan="2"><div class="subs fields"><p class="caption">Fields</p><dl><dt class="src"><a name="v:tuId" class="def">tuId</a> :: <a href="Facebook.html#t:UserId">UserId</a></dt><dd class="doc empty">&nbsp;</dd><dt class="src"><a name="v:tuAccessToken" class="def">tuAccessToken</a> :: <a href="file:///usr/share/doc/ghc-doc/html/libraries/base-4.8.2.0/Data-Maybe.html#t:Maybe">Maybe</a> <a href="Facebook.html#t:AccessTokenData">AccessTokenData</a></dt><dd class="doc empty">&nbsp;</dd><dt class="src"><a name="v:tuLoginUrl" class="def">tuLoginUrl</a> :: <a href="file:///usr/share/doc/ghc-doc/html/libraries/base-4.8.2.0/Data-Maybe.html#t:Maybe">Maybe</a> <a href="file:///usr/share/doc/libghc-text-doc/html/Data-Text.html#t:Text">Text</a></dt><dd class="doc empty">&nbsp;</dd><dt class="src"><a name="v:tuEmail" class="def">tuEmail</a> :: <a href="file:///usr/share/doc/ghc-doc/html/libraries/base-4.8.2.0/Data-Maybe.html#t:Maybe">Maybe</a> <a href="file:///usr/share/doc/libghc-text-doc/html/Data-Text.html#t:Text">Text</a></dt><dd class="doc empty">&nbsp;</dd><dt class="src"><a name="v:tuPassword" class="def">tuPassword</a> :: <a href="file:///usr/share/doc/ghc-doc/html/libraries/base-4.8.2.0/Data-Maybe.html#t:Maybe">Maybe</a> <a href="file:///usr/share/doc/libghc-text-doc/html/Data-Text.html#t:Text">Text</a></dt><dd class="doc empty">&nbsp;</dd></dl><div class="clear"></div></div></td></tr></table></div><div class="subs instances"><p id="control.i:TestUser" class="caption collapser" onclick="toggleSection('i:TestUser')">Instances</p><div id="section.i:TestUser" class="show"><table><tr><td class="src clearfix"><span class="inst-left"><a href="file:///usr/share/doc/ghc-doc/html/libraries/base-4.8.2.0/Data-Eq.html#t:Eq">Eq</a> <a href="Facebook.html#t:TestUser">TestUser</a></span> <a href="src/Facebook-TestUsers.html#line-45" class="link">Source</a></td><td class="doc empty">&nbsp;</td></tr><tr><td class="src clearfix"><span class="inst-left"><a href="file:///usr/share/doc/ghc-doc/html/libraries/base-4.8.2.0/Data-Ord.html#t:Ord">Ord</a> <a href="Facebook.html#t:TestUser">TestUser</a></span> <a href="src/Facebook-TestUsers.html#line-45" class="link">Source</a></td><td class="doc empty">&nbsp;</td></tr><tr><td class="src clearfix"><span class="inst-left"><a href="file:///usr/share/doc/ghc-doc/html/libraries/base-4.8.2.0/Text-Read.html#t:Read">Read</a> <a href="Facebook.html#t:TestUser">TestUser</a></span> <a href="src/Facebook-TestUsers.html#line-45" class="link">Source</a></td><td class="doc empty">&nbsp;</td></tr><tr><td class="src clearfix"><span class="inst-left"><a href="file:///usr/share/doc/ghc-doc/html/libraries/base-4.8.2.0/Text-Show.html#t:Show">Show</a> <a href="Facebook.html#t:TestUser">TestUser</a></span> <a href="src/Facebook-TestUsers.html#line-45" class="link">Source</a></td><td class="doc empty">&nbsp;</td></tr><tr><td class="src clearfix"><span class="inst-left"><a href="file:///usr/share/doc/libghc-aeson-doc/html/Data-Aeson-Types.html#t:FromJSON">FromJSON</a> <a href="Facebook.html#t:TestUser">TestUser</a></span> <a href="src/Facebook-TestUsers.html#line-48" class="link">Source</a></td><td class="doc empty">&nbsp;</td></tr></table></div></div></div><div class="top"><p class="src"><span class="keyword">data</span> <a name="t:CreateTestUser" class="def">CreateTestUser</a> <a href="src/Facebook-TestUsers.html#CreateTestUser" class="link">Source</a></p><div class="doc"><p>Data type used to hold information of a new test user. This type
 also accepts a Data.Default value.</p></div><div class="subs constructors"><p class="caption">Constructors</p><table><tr><td class="src"><a name="v:CreateTestUser" class="def">CreateTestUser</a></td><td class="doc empty">&nbsp;</td></tr><tr><td colspan="2"><div class="subs fields"><p class="caption">Fields</p><dl><dt class="src"><a name="v:ctuInstalled" class="def">ctuInstalled</a> :: <a href="Facebook.html#t:CreateTestUserInstalled">CreateTestUserInstalled</a></dt><dd class="doc empty">&nbsp;</dd><dt class="src"><a name="v:ctuName" class="def">ctuName</a> :: <a href="file:///usr/share/doc/ghc-doc/html/libraries/base-4.8.2.0/Data-Maybe.html#t:Maybe">Maybe</a> <a href="file:///usr/share/doc/libghc-text-doc/html/Data-Text.html#t:Text">Text</a></dt><dd class="doc empty">&nbsp;</dd><dt class="src"><a name="v:ctuLocale" class="def">ctuLocale</a> :: <a href="file:///usr/share/doc/ghc-doc/html/libraries/base-4.8.2.0/Data-Maybe.html#t:Maybe">Maybe</a> <a href="file:///usr/share/doc/libghc-text-doc/html/Data-Text.html#t:Text">Text</a></dt><dd class="doc empty">&nbsp;</dd></dl><div class="clear"></div></div></td></tr></table></div><div class="subs instances"><p id="control.i:CreateTestUser" class="caption collapser" onclick="toggleSection('i:CreateTestUser')">Instances</p><div id="section.i:CreateTestUser" class="show"><table><tr><td class="src clearfix"><span class="inst-left"><a href="file:///usr/share/doc/libghc-data-default-doc/html/Data-Default.html#t:Default">Default</a> <a href="Facebook.html#t:CreateTestUser">CreateTestUser</a></span> <a href="src/Facebook-TestUsers.html#line-80" class="link">Source</a></td><td class="doc"><p>Default instance for <code><a href="Facebook.html#t:CreateTestUser">CreateTestUser</a></code>.</p></td></tr></table></div></div></div><div class="top"><p class="src"><span class="keyword">data</span> <a name="t:CreateTestUserInstalled" class="def">CreateTestUserInstalled</a> <a href="src/Facebook-TestUsers.html#CreateTestUserInstalled" class="link">Source</a></p><div class="doc"><p>Specify if the app is to be installed on the new test user.  If
 it is, then you must tell what permissions should be given.</p></div><div class="subs constructors"><p class="caption">Constructors</p><table><tr><td class="src"><a name="v:CreateTestUserNotInstalled" class="def">CreateTestUserNotInstalled</a></td><td class="doc empty">&nbsp;</td></tr><tr><td class="src"><a name="v:CreateTestUserInstalled" class="def">CreateTestUserInstalled</a></td><td class="doc empty">&nbsp;</td></tr><tr><td colspan="2"><div class="subs fields"><p class="caption">Fields</p><dl><dt class="src"><a name="v:ctuiPermissions" class="def">ctuiPermissions</a> :: [<a href="Facebook.html#t:Permission">Permission</a>]</dt><dd class="doc empty">&nbsp;</dd></dl><div class="clear"></div></div></td></tr><tr><td class="src"><a name="v:CreateTestUserFbDefault" class="def">CreateTestUserFbDefault</a></td><td class="doc"><p>Uses Facebook's default. It seems that this is equivalent to
 <code>CreateTestUserInstalled []</code>, but Facebook's documentation is
 not clear about it.</p></td></tr></table></div><div class="subs instances"><p id="control.i:CreateTestUserInstalled" class="caption collapser" onclick="toggleSection('i:CreateTestUserInstalled')">Instances</p><div id="section.i:CreateTestUserInstalled" class="show"><table><tr><td class="src clearfix"><span class="inst-left"><a href="file:///usr/share/doc/libghc-data-default-doc/html/Data-Default.html#t:Default">Default</a> <a href="Facebook.html#t:CreateTestUserInstalled">CreateTestUserInstalled</a></span> <a href="src/Facebook-TestUsers.html#line-84" class="link">Source</a></td><td class="doc"><p>Default instance for <code><a href="Facebook.html#t:CreateTestUserInstalled">CreateTestUserInstalled</a></code>.</p></td></tr></table></div></div></div><h1 id="g:24">Raw access to the Graph API</h1><div class="top"><p class="src"><a name="v:getObject" class="def">getObject</a> <a href="src/Facebook-Graph.html#getObject" class="link">Source</a></p><div class="subs arguments"><p class="caption">Arguments</p><table><tr><td class="src">:: (<a href="file:///usr/share/doc/libghc-resourcet-doc/html/Control-Monad-Trans-Resource.html#t:MonadResource">MonadResource</a> m, <a href="file:///usr/share/doc/libghc-monad-control-doc/html/Control-Monad-Trans-Control.html#t:MonadBaseControl">MonadBaseControl</a> <a href="file:///usr/share/doc/ghc-doc/html/libraries/base-4.8.2.0/System-IO.html#t:IO">IO</a> m, <a href="file:///usr/share/doc/libghc-aeson-doc/html/Data-Aeson-Types.html#t:FromJSON">FromJSON</a> a)</td><td class="doc empty">&nbsp;</td></tr><tr><td class="src">=&gt; <a href="file:///usr/share/doc/libghc-text-doc/html/Data-Text.html#t:Text">Text</a></td><td class="doc"><p>Path (should begin with a slash <code>/</code>)</p></td></tr><tr><td class="src">-&gt; [<a href="Facebook.html#t:Argument">Argument</a>]</td><td class="doc"><p>Arguments to be passed to Facebook</p></td></tr><tr><td class="src">-&gt; <a href="file:///usr/share/doc/ghc-doc/html/libraries/base-4.8.2.0/Data-Maybe.html#t:Maybe">Maybe</a> (<a href="Facebook.html#t:AccessToken">AccessToken</a> anyKind)</td><td class="doc"><p>Optional access token</p></td></tr><tr><td class="src">-&gt; <a href="Facebook.html#t:FacebookT">FacebookT</a> anyAuth m a</td><td class="doc empty">&nbsp;</td></tr></table></div><div class="doc"><p>Make a raw <code>GET</code> request to Facebook's Graph API.</p></div></div><div class="top"><p class="src"><a name="v:postObject" class="def">postObject</a> <a href="src/Facebook-Graph.html#postObject" class="link">Source</a></p><div class="subs arguments"><p class="caption">Arguments</p><table><tr><td class="src">:: (<a href="file:///usr/share/doc/libghc-resourcet-doc/html/Control-Monad-Trans-Resource.html#t:MonadResource">MonadResource</a> m, <a href="file:///usr/share/doc/libghc-monad-control-doc/html/Control-Monad-Trans-Control.html#t:MonadBaseControl">MonadBaseControl</a> <a href="file:///usr/share/doc/ghc-doc/html/libraries/base-4.8.2.0/System-IO.html#t:IO">IO</a> m, <a href="file:///usr/share/doc/libghc-aeson-doc/html/Data-Aeson-Types.html#t:FromJSON">FromJSON</a> a)</td><td class="doc empty">&nbsp;</td></tr><tr><td class="src">=&gt; <a href="file:///usr/share/doc/libghc-text-doc/html/Data-Text.html#t:Text">Text</a></td><td class="doc"><p>Path (should begin with a slash <code>/</code>)</p></td></tr><tr><td class="src">-&gt; [<a href="Facebook.html#t:Argument">Argument</a>]</td><td class="doc"><p>Arguments to be passed to Facebook</p></td></tr><tr><td class="src">-&gt; <a href="Facebook.html#t:AccessToken">AccessToken</a> anyKind</td><td class="doc"><p>Access token</p></td></tr><tr><td class="src">-&gt; <a href="Facebook.html#t:FacebookT">FacebookT</a> <a href="Facebook.html#t:Auth">Auth</a> m a</td><td class="doc empty">&nbsp;</td></tr></table></div><div class="doc"><p>Make a raw <code>POST</code> request to Facebook's Graph API.</p></div></div><div class="top"><p class="src"><a name="v:deleteObject" class="def">deleteObject</a> <a href="src/Facebook-Graph.html#deleteObject" class="link">Source</a></p><div class="subs arguments"><p class="caption">Arguments</p><table><tr><td class="src">:: (<a href="file:///usr/share/doc/libghc-resourcet-doc/html/Control-Monad-Trans-Resource.html#t:MonadResource">MonadResource</a> m, <a href="file:///usr/share/doc/libghc-monad-control-doc/html/Control-Monad-Trans-Control.html#t:MonadBaseControl">MonadBaseControl</a> <a href="file:///usr/share/doc/ghc-doc/html/libraries/base-4.8.2.0/System-IO.html#t:IO">IO</a> m, <a href="file:///usr/share/doc/libghc-aeson-doc/html/Data-Aeson-Types.html#t:FromJSON">FromJSON</a> a)</td><td class="doc empty">&nbsp;</td></tr><tr><td class="src">=&gt; <a href="file:///usr/share/doc/libghc-text-doc/html/Data-Text.html#t:Text">Text</a></td><td class="doc"><p>Path (should begin with a slash <code>/</code>)</p></td></tr><tr><td class="src">-&gt; [<a href="Facebook.html#t:Argument">Argument</a>]</td><td class="doc"><p>Arguments to be passed to Facebook</p></td></tr><tr><td class="src">-&gt; <a href="Facebook.html#t:AccessToken">AccessToken</a> anyKind</td><td class="doc"><p>Access token</p></td></tr><tr><td class="src">-&gt; <a href="Facebook.html#t:FacebookT">FacebookT</a> <a href="Facebook.html#t:Auth">Auth</a> m a</td><td class="doc empty">&nbsp;</td></tr></table></div><div class="doc"><p>Make a raw <code>DELETE</code> request to Facebook's Graph API.</p></div></div><div class="top"><p class="src"><a name="v:searchObjects" class="def">searchObjects</a> <a href="src/Facebook-Graph.html#searchObjects" class="link">Source</a></p><div class="subs arguments"><p class="caption">Arguments</p><table><tr><td class="src">:: (<a href="file:///usr/share/doc/libghc-resourcet-doc/html/Control-Monad-Trans-Resource.html#t:MonadResource">MonadResource</a> m, <a href="file:///usr/share/doc/libghc-monad-control-doc/html/Control-Monad-Trans-Control.html#t:MonadBaseControl">MonadBaseControl</a> <a href="file:///usr/share/doc/ghc-doc/html/libraries/base-4.8.2.0/System-IO.html#t:IO">IO</a> m, <a href="file:///usr/share/doc/libghc-aeson-doc/html/Data-Aeson-Types.html#t:FromJSON">FromJSON</a> a)</td><td class="doc empty">&nbsp;</td></tr><tr><td class="src">=&gt; <a href="file:///usr/share/doc/libghc-text-doc/html/Data-Text.html#t:Text">Text</a></td><td class="doc"><p>A Facebook object type to search for</p></td></tr><tr><td class="src">-&gt; <a href="file:///usr/share/doc/libghc-text-doc/html/Data-Text.html#t:Text">Text</a></td><td class="doc"><p>The keyword to search for</p></td></tr><tr><td class="src">-&gt; [<a href="Facebook.html#t:Argument">Argument</a>]</td><td class="doc"><p>Additional arguments to pass</p></td></tr><tr><td class="src">-&gt; <a href="file:///usr/share/doc/ghc-doc/html/libraries/base-4.8.2.0/Data-Maybe.html#t:Maybe">Maybe</a> <a href="Facebook.html#t:UserAccessToken">UserAccessToken</a></td><td class="doc"><p>Optional access token</p></td></tr><tr><td class="src">-&gt; <a href="Facebook.html#t:FacebookT">FacebookT</a> anyAuth m (<a href="Facebook.html#t:Pager">Pager</a> a)</td><td class="doc empty">&nbsp;</td></tr></table></div><div class="doc"><p>Make a raw <code>GET</code> request to the /search endpoint of Facebook&#8217;s
 Graph API.  Returns a raw JSON <code><a href="file:///usr/share/doc/libghc-aeson-doc/html/Data-Aeson-Types.html#t:Value">Value</a></code>.</p></div></div><div class="top"><p class="src"><span class="keyword">newtype</span> <a name="t:Id" class="def">Id</a> <a href="src/Facebook-Types.html#Id" class="link">Source</a></p><div class="doc"><p>The identification code of an object.</p></div><div class="subs constructors"><p class="caption">Constructors</p><table><tr><td class="src"><a name="v:Id" class="def">Id</a></td><td class="doc empty">&nbsp;</td></tr><tr><td colspan="2"><div class="subs fields"><p class="caption">Fields</p><dl><dt class="src"><a name="v:idCode" class="def">idCode</a> :: <a href="file:///usr/share/doc/libghc-text-doc/html/Data-Text.html#t:Text">Text</a></dt><dd class="doc empty">&nbsp;</dd></dl><div class="clear"></div></div></td></tr></table></div><div class="subs instances"><p id="control.i:Id" class="caption collapser" onclick="toggleSection('i:Id')">Instances</p><div id="section.i:Id" class="show"><table><tr><td class="src clearfix"><span class="inst-left"><a href="file:///usr/share/doc/ghc-doc/html/libraries/base-4.8.2.0/Data-Eq.html#t:Eq">Eq</a> <a href="Facebook.html#t:Id">Id</a></span> <a href="src/Facebook-Types.html#line-105" class="link">Source</a></td><td class="doc empty">&nbsp;</td></tr><tr><td class="src clearfix"><span class="inst-left"><a href="file:///usr/share/doc/ghc-doc/html/libraries/base-4.8.2.0/Data-Ord.html#t:Ord">Ord</a> <a href="Facebook.html#t:Id">Id</a></span> <a href="src/Facebook-Types.html#line-105" class="link">Source</a></td><td class="doc empty">&nbsp;</td></tr><tr><td class="src clearfix"><span class="inst-left"><a href="file:///usr/share/doc/ghc-doc/html/libraries/base-4.8.2.0/Text-Read.html#t:Read">Read</a> <a href="Facebook.html#t:Id">Id</a></span> <a href="src/Facebook-Types.html#line-105" class="link">Source</a></td><td class="doc empty">&nbsp;</td></tr><tr><td class="src clearfix"><span class="inst-left"><a href="file:///usr/share/doc/ghc-doc/html/libraries/base-4.8.2.0/Text-Show.html#t:Show">Show</a> <a href="Facebook.html#t:Id">Id</a></span> <a href="src/Facebook-Types.html#line-105" class="link">Source</a></td><td class="doc empty">&nbsp;</td></tr><tr><td class="src clearfix"><span class="inst-left"><a href="file:///usr/share/doc/ghc-doc/html/libraries/base-4.8.2.0/Data-String.html#t:IsString">IsString</a> <a href="Facebook.html#t:Id">Id</a></span> <a href="src/Facebook-Types.html#line-105" class="link">Source</a></td><td class="doc empty">&nbsp;</td></tr><tr><td class="src clearfix"><span class="inst-left"><a href="file:///usr/share/doc/libghc-aeson-doc/html/Data-Aeson-Types.html#t:ToJSON">ToJSON</a> <a href="Facebook.html#t:Id">Id</a></span> <a href="src/Facebook-Types.html#line-114" class="link">Source</a></td><td class="doc empty">&nbsp;</td></tr><tr><td class="src clearfix"><span class="inst-left"><a href="file:///usr/share/doc/libghc-aeson-doc/html/Data-Aeson-Types.html#t:FromJSON">FromJSON</a> <a href="Facebook.html#t:Id">Id</a></span> <a href="src/Facebook-Types.html#line-107" class="link">Source</a></td><td class="doc empty">&nbsp;</td></tr><tr><td class="src clearfix"><span class="inst-left"><a href="Facebook.html#t:SimpleType">SimpleType</a> <a href="Facebook.html#t:Id">Id</a></span> <a href="src/Facebook-Graph.html#line-181" class="link">Source</a></td><td class="doc"><p>An object's <code><a href="Facebook.html#t:Id">Id</a></code> code.</p></td></tr></table></div></div></div><div class="top"><p class="src"><span class="keyword">type</span> <a name="t:Argument" class="def">Argument</a> = (<a href="file:///usr/share/doc/ghc-doc/html/libraries/bytestring-0.10.6.0/Data-ByteString.html#t:ByteString">ByteString</a>, <a href="file:///usr/share/doc/ghc-doc/html/libraries/bytestring-0.10.6.0/Data-ByteString.html#t:ByteString">ByteString</a>) <a href="src/Facebook-Types.html#Argument" class="link">Source</a></p><div class="doc"><p>An argument given to an API call.</p></div></div><h1 id="g:25">Exceptions</h1><div class="top"><p class="src"><span class="keyword">data</span> <a name="t:FacebookException" class="def">FacebookException</a> <a href="src/Facebook-Base.html#FacebookException" class="link">Source</a></p><div class="doc"><p>An exception that may be thrown by functions on this
 package.  Includes any information provided by Facebook.</p></div><div class="subs constructors"><p class="caption">Constructors</p><table><tr><td class="src"><a name="v:FacebookException" class="def">FacebookException</a></td><td class="doc"><p>An exception coming from Facebook.</p></td></tr><tr><td colspan="2"><div class="subs fields"><p class="caption">Fields</p><dl><dt class="src"><a name="v:fbeType" class="def">fbeType</a> :: <a href="file:///usr/share/doc/libghc-text-doc/html/Data-Text.html#t:Text">Text</a></dt><dd class="doc empty">&nbsp;</dd><dt class="src"><a name="v:fbeMessage" class="def">fbeMessage</a> :: <a href="file:///usr/share/doc/libghc-text-doc/html/Data-Text.html#t:Text">Text</a></dt><dd class="doc empty">&nbsp;</dd></dl><div class="clear"></div></div></td></tr><tr><td class="src"><a name="v:FbLibraryException" class="def">FbLibraryException</a></td><td class="doc"><p>An exception coming from the <code>fb</code> package's code.</p></td></tr><tr><td colspan="2"><div class="subs fields"><p class="caption">Fields</p><dl><dt class="src"><a name="v:fbeMessage" class="def">fbeMessage</a> :: <a href="file:///usr/share/doc/libghc-text-doc/html/Data-Text.html#t:Text">Text</a></dt><dd class="doc empty">&nbsp;</dd></dl><div class="clear"></div></div></td></tr></table></div><div class="subs instances"><p id="control.i:FacebookException" class="caption collapser" onclick="toggleSection('i:FacebookException')">Instances</p><div id="section.i:FacebookException" class="show"><table><tr><td class="src clearfix"><span class="inst-left"><a href="file:///usr/share/doc/ghc-doc/html/libraries/base-4.8.2.0/Data-Eq.html#t:Eq">Eq</a> <a href="Facebook.html#t:FacebookException">FacebookException</a></span> <a href="src/Facebook-Base.html#line-131" class="link">Source</a></td><td class="doc empty">&nbsp;</td></tr><tr><td class="src clearfix"><span class="inst-left"><a href="file:///usr/share/doc/ghc-doc/html/libraries/base-4.8.2.0/Data-Ord.html#t:Ord">Ord</a> <a href="Facebook.html#t:FacebookException">FacebookException</a></span> <a href="src/Facebook-Base.html#line-131" class="link">Source</a></td><td class="doc empty">&nbsp;</td></tr><tr><td class="src clearfix"><span class="inst-left"><a href="file:///usr/share/doc/ghc-doc/html/libraries/base-4.8.2.0/Text-Read.html#t:Read">Read</a> <a href="Facebook.html#t:FacebookException">FacebookException</a></span> <a href="src/Facebook-Base.html#line-131" class="link">Source</a></td><td class="doc empty">&nbsp;</td></tr><tr><td class="src clearfix"><span class="inst-left"><a href="file:///usr/share/doc/ghc-doc/html/libraries/base-4.8.2.0/Text-Show.html#t:Show">Show</a> <a href="Facebook.html#t:FacebookException">FacebookException</a></span> <a href="src/Facebook-Base.html#line-131" class="link">Source</a></td><td class="doc empty">&nbsp;</td></tr><tr><td class="src clearfix"><span class="inst-left"><a href="file:///usr/share/doc/libghc-aeson-doc/html/Data-Aeson-Types.html#t:FromJSON">FromJSON</a> <a href="Facebook.html#t:FacebookException">FacebookException</a></span> <a href="src/Facebook-Base.html#line-133" class="link">Source</a></td><td class="doc empty">&nbsp;</td></tr><tr><td class="src clearfix"><span class="inst-left"><a href="file:///usr/share/doc/ghc-doc/html/libraries/base-4.8.2.0/Control-Exception-Base.html#t:Exception">Exception</a> <a href="Facebook.html#t:FacebookException">FacebookException</a></span> <a href="src/Facebook-Base.html#line-139" class="link">Source</a></td><td class="doc empty">&nbsp;</td></tr></table></div></div></div><h1 id="g:26">Internal functions</h1><div class="top"><p class="src"><a name="v:unPermission" class="def">unPermission</a> :: <a href="Facebook.html#t:Permission">Permission</a> -&gt; <a href="file:///usr/share/doc/libghc-text-doc/html/Data-Text.html#t:Text">Text</a> <a href="src/Facebook-Auth.html#unPermission" class="link">Source</a></p><div class="doc"><p>Retrieves the <code><a href="file:///usr/share/doc/libghc-text-doc/html/Data-Text.html#t:Text">Text</a></code> back from a <code><a href="Facebook.html#t:Permission">Permission</a></code>.  Most of
 the time you won't need to use this function, but you may
 need it if you're a library author.</p></div></div></div></div><div id="footer"><p>Produced by <a href="http://www.haskell.org/haddock/">Haddock</a> version 2.16.1</p></div></body></html>