happstack-facebook-0.9: A package for building Facebook applications using Happstack

Happstack.Facebook.Application

Contents

Synopsis

Documentation

data FacebookData Source

This data type holds all the informaton that facebook pass along with the request http:wiki.developers.facebook.comindex.phpYour_callback_page_and_you

convenience functions for getting information from the FacebookData

fb_sig_added :: HasFacebookData FacebookData m => m BoolSource

has the user added our application

fb_sig :: HasFacebookData FacebookData m => m StringSource

the signature for the request

fb_valid_sig :: HasFacebookData FacebookData m => m BoolSource

is the signature valid

fb_sig_friends :: HasFacebookData FacebookData m => m (Maybe [User])Source

list of the users friends NOTE: only available if the user is logged in

fb_sig_session_key :: HasFacebookData FacebookData m => m (Maybe String)Source

session key NOTE: only available if the user is logged in

fb_sig_expires :: HasFacebookData FacebookData m => m (Maybe POSIXTime)Source

when this session key expires 0 == never otherwise, time in seconds since epoch` NOTE: only available if the user is logged in

fb_sig_profile_update_time :: HasFacebookData FacebookData m => m (Maybe POSIXTime)Source

time profile was last updated NOTE: only available if the user is logged in