haxl-facebook-0.1.0.0: An example Haxl data source for accessing the Facebook Graph API

Safe HaskellNone

FB

Synopsis

Documentation

getObject :: Id -> GenHaxl u ObjectSource

Fetch an arbitrary object in the Facebook graph.

getUser :: Id -> GenHaxl u UserSource

Fetch a Facebook user.

getUserFriends :: Id -> GenHaxl u [Friend]Source

Fetch the friends of a Facebook user that are registered with the current app.

newtype Id

The identification code of an object.

Constructors

Id 

Fields

idCode :: Text
 

Instances

data Friend

A friend connection of a User.

Constructors

Friend 

data User

A Facebook user profile (see https://developers.facebook.com/docs/reference/api/user/).

NOTE: We still don't support all fields supported by Facebook. Please fill an issue if you need access to any other fields.