Packagecom.facebook.graph.data
Classpublic class FacebookSession

VO to hold information about the current logged in user and their session.



Public Properties
 PropertyDefined by
  accessToken : String
Oauth access token for Facebook graph services.
FacebookSession
  availablePermissions : Array
When a user accepts extended permissions, they are stored here.
FacebookSession
  expireDate : Date
The date this session will expire.
FacebookSession
  secret : String
Secret key.
FacebookSession
  sessionKey : String
Current session for the logged in user.
FacebookSession
  sig : String
User's sig.
FacebookSession
  uid : String
The current user's ID.
FacebookSession
  user : FacebookUser
The current user's full information, as requested from a 'me' ID.
FacebookSession
Public Methods
 MethodDefined by
  
Creates a new FacebookSession.
FacebookSession
  
fromJSON(result:Object):void
Populates the session data from a decoded JSON object.
FacebookSession
  
toString():String
Provides the string value of this instance.
FacebookSession
Property detail
accessTokenproperty
public var accessToken:String

Oauth access token for Facebook graph services.

availablePermissionsproperty 
public var availablePermissions:Array

When a user accepts extended permissions, they are stored here.

expireDateproperty 
public var expireDate:Date

The date this session will expire.

secretproperty 
public var secret:String

Secret key.

sessionKeyproperty 
public var sessionKey:String

Current session for the logged in user.

sigproperty 
public var sig:String

User's sig.

uidproperty 
public var uid:String

The current user's ID.

userproperty 
public var user:FacebookUser

The current user's full information, as requested from a 'me' ID. This data will vary based on what privacy settings the user has enabled in their user profile.

Constructor detail
FacebookSession()constructor
public function FacebookSession()

Creates a new FacebookSession.

Method detail
fromJSON()method
public function fromJSON(result:Object):void

Populates the session data from a decoded JSON object.

Parameters
result:Object
toString()method 
public function toString():String

Provides the string value of this instance.

Returns
String