Packagecom.milkmangames.nativeextensions.events
Classpublic class GVFacebookEvent
InheritanceGVFacebookEvent Inheritance flash.events.Event

GoViral Facebook Event



Public Properties
 PropertyDefined By
  data : Object
[read-only] Retrieve the decoded data associated with a graph request.
GVFacebookEvent
  dialogType : String
The Dialog Type associated with this event
GVFacebookEvent
  errorCode : int
The Error code associated with this event
GVFacebookEvent
  errorMessage : String
The error message associated with this event
GVFacebookEvent
  facebookErrorCategoryId : int
Facebook Error Category ID, associated with authentication errors.
GVFacebookEvent
  facebookMobileAdId : String
Facebook Mobile App Ad Id associated with this event
GVFacebookEvent
  facebookUserErrorMessage : String
Facebook user-facing error message, if any.
GVFacebookEvent
  friends : Vector.<GVFacebookFriend>
[read-only] The list of GVFacebookFriend objects for calls to GoViral.goViral.getMyFriends().
GVFacebookEvent
  graphPath : String
The Graph Path associated with this event
GVFacebookEvent
  graphPathQuery : String
Extended Query String of Graph Path
GVFacebookEvent
  jsonData : String
The JSON Data associated with the event
GVFacebookEvent
  permissions : String
Permission list associated with this event
GVFacebookEvent
  shouldNotifyFacebookUser : Boolean
If true, Facebook suggests presenting the message in .errorMessage directly to the user.
GVFacebookEvent
Public Methods
 MethodDefined By
  
GVFacebookEvent(type:String, jsonData:String = null, bubbles:Boolean = false, cancelable:Boolean = false)
Create new GVFacebookEvent
GVFacebookEvent
  
clone():Event
[override]
GVFacebookEvent
  
toString():String
[override]
GVFacebookEvent
Public Constants
 ConstantDefined By
  FACEBOOK_FEED_DIALOG : String = feed
[static] Facebook 'Feed' Dialog Type Identifier
GVFacebookEvent
  FACEBOOK_GRAPH_DIALOG : String = graph
[static] Facebook 'Open Graph Action' Dialog Type Identifier
GVFacebookEvent
  FACEBOOK_MESSAGE_DIALOG : String = message
[static] Facebook 'Message' Dialog Type Identifier
GVFacebookEvent
  FACEBOOK_REQUEST_DIALOG : String = apprequests
[static] Facebook 'Request' Dialog Type Identifier
GVFacebookEvent
  FACEBOOK_SHARE_DIALOG : String = share
[static] Facebook 'Share' Dialog Type Identifier
GVFacebookEvent
  FB_AD_ID_RESPONSE : String = gvFbAdIdResponse
[static] Facebook Mobile App Ad ID Response
GVFacebookEvent
  FB_DIALOG_CANCELED : String = gvFbDialogCancelled
[static] Dispatched when a Facebook Dialog is cancelled
GVFacebookEvent
  FB_DIALOG_FAILED : String = gvFbDialogFailed
[static] Dispatched when a Facebook Dialog has failed
GVFacebookEvent
  FB_DIALOG_FINISHED : String = gvFbDialogFinished
[static] Dispatched When a Facebook Dialog has finished
GVFacebookEvent
  FB_LOGGED_IN : String = gvFacebookLoggedin
[static] Dispatched When the user has logged in with Facebook
GVFacebookEvent
  FB_LOGGED_OUT : String = gvFacebookLoggedout
[static] Dispatched when the user has logged out with Facebook
GVFacebookEvent
  FB_LOGIN_CANCELED : String = gvFacebookLoginCancelled
[static] Dispatched When the User cancelled Facebook Login
GVFacebookEvent
  FB_LOGIN_FAILED : String = gvFacebookLoginFailed
[static] Dispatched When Facebook Login fails
GVFacebookEvent
  FB_PERMISSIONS_REFRESHED : String = gvSessionPermRefreshed
[static] Dispatched after a successful call to refresh Facebook session Permissions
GVFacebookEvent
  FB_PERMISSIONS_REFRESH_FAILED : String = gvSessionPermFailed
[static] Dispatched after a call to refresh Facebook session Permissions has failed
GVFacebookEvent
  FB_PUBLISH_PERMISSIONS_FAILED : String = gvPublishPermFailed
[static] Dispatched after a call to request new Facebook Publish Permissions has failed
GVFacebookEvent
  FB_PUBLISH_PERMISSIONS_UPDATED : String = gvPublishPermUpdated
[static] Dispatched after a successful call to request new Facebook Publish Permissions
GVFacebookEvent
  FB_READ_PERMISSIONS_FAILED : String = gvReadPermFailed
[static] Dispatched after a call to request new Facebook Read Permissions has failed
GVFacebookEvent
  FB_READ_PERMISSIONS_UPDATED : String = gvReadPermUpdated
[static] Dispatched after a successful call to request new Facebook Read Permissions
GVFacebookEvent
  FB_REQUEST_FAILED : String = gvFbRequestFailed
[static] Dispatched when a Facebook Graph Request has failed
GVFacebookEvent
  FB_REQUEST_RESPONSE : String = gvFbRawResponse
[static] Dispatched when a Facebook Graph Request returns a response
GVFacebookEvent
  FB_SESSION_INVALIDATED : String = gvFacebookSessionInvalidated
[static] Dispatched when the Facebook auth session is invalidated- for instance by the user revoking your permissions, or changing their password
GVFacebookEvent
Property Detail
dataproperty
data:Object  [read-only]

Retrieve the decoded data associated with a graph request. This will be in the form of a generic Actionscript Object where the keys map directly to Facebook's JSON format.


Implementation
    public function get data():Object
dialogTypeproperty 
public var dialogType:String

The Dialog Type associated with this event

errorCodeproperty 
public var errorCode:int

The Error code associated with this event

errorMessageproperty 
public var errorMessage:String

The error message associated with this event

facebookErrorCategoryIdproperty 
public var facebookErrorCategoryId:int

Facebook Error Category ID, associated with authentication errors. One of the values of GVFacebookErrorCategory. Used only on iOS 6+

facebookMobileAdIdproperty 
public var facebookMobileAdId:String

Facebook Mobile App Ad Id associated with this event

facebookUserErrorMessageproperty 
public var facebookUserErrorMessage:String

Facebook user-facing error message, if any. Used only on iOS 6+

friendsproperty 
friends:Vector.<GVFacebookFriend>  [read-only]

The list of GVFacebookFriend objects for calls to GoViral.goViral.getMyFriends().


Implementation
    public function get friends():Vector.<GVFacebookFriend>
graphPathproperty 
public var graphPath:String

The Graph Path associated with this event

graphPathQueryproperty 
public var graphPathQuery:String

Extended Query String of Graph Path

jsonDataproperty 
public var jsonData:String

The JSON Data associated with the event

permissionsproperty 
public var permissions:String

Permission list associated with this event

shouldNotifyFacebookUserproperty 
public var shouldNotifyFacebookUser:Boolean

If true, Facebook suggests presenting the message in .errorMessage directly to the user. Used on only iOS 6+

Constructor Detail
GVFacebookEvent()Constructor
public function GVFacebookEvent(type:String, jsonData:String = null, bubbles:Boolean = false, cancelable:Boolean = false)

Create new GVFacebookEvent

Parameters
type:String
 
jsonData:String (default = null)
 
bubbles:Boolean (default = false)
 
cancelable:Boolean (default = false)
Method Detail
clone()method
override public function clone():Event

Returns
Event
toString()method 
override public function toString():String

Returns
String
Constant Detail
FACEBOOK_FEED_DIALOGConstant
public static const FACEBOOK_FEED_DIALOG:String = feed

Facebook 'Feed' Dialog Type Identifier

FACEBOOK_GRAPH_DIALOGConstant 
public static const FACEBOOK_GRAPH_DIALOG:String = graph

Facebook 'Open Graph Action' Dialog Type Identifier

FACEBOOK_MESSAGE_DIALOGConstant 
public static const FACEBOOK_MESSAGE_DIALOG:String = message

Facebook 'Message' Dialog Type Identifier

FACEBOOK_REQUEST_DIALOGConstant 
public static const FACEBOOK_REQUEST_DIALOG:String = apprequests

Facebook 'Request' Dialog Type Identifier

FACEBOOK_SHARE_DIALOGConstant 
public static const FACEBOOK_SHARE_DIALOG:String = share

Facebook 'Share' Dialog Type Identifier

FB_AD_ID_RESPONSEConstant 
public static const FB_AD_ID_RESPONSE:String = gvFbAdIdResponse

Facebook Mobile App Ad ID Response

FB_DIALOG_CANCELEDConstant 
public static const FB_DIALOG_CANCELED:String = gvFbDialogCancelled

Dispatched when a Facebook Dialog is cancelled

FB_DIALOG_FAILEDConstant 
public static const FB_DIALOG_FAILED:String = gvFbDialogFailed

Dispatched when a Facebook Dialog has failed

FB_DIALOG_FINISHEDConstant 
public static const FB_DIALOG_FINISHED:String = gvFbDialogFinished

Dispatched When a Facebook Dialog has finished

FB_LOGGED_INConstant 
public static const FB_LOGGED_IN:String = gvFacebookLoggedin

Dispatched When the user has logged in with Facebook

FB_LOGGED_OUTConstant 
public static const FB_LOGGED_OUT:String = gvFacebookLoggedout

Dispatched when the user has logged out with Facebook

FB_LOGIN_CANCELEDConstant 
public static const FB_LOGIN_CANCELED:String = gvFacebookLoginCancelled

Dispatched When the User cancelled Facebook Login

FB_LOGIN_FAILEDConstant 
public static const FB_LOGIN_FAILED:String = gvFacebookLoginFailed

Dispatched When Facebook Login fails

FB_PERMISSIONS_REFRESH_FAILEDConstant 
public static const FB_PERMISSIONS_REFRESH_FAILED:String = gvSessionPermFailed

Dispatched after a call to refresh Facebook session Permissions has failed

FB_PERMISSIONS_REFRESHEDConstant 
public static const FB_PERMISSIONS_REFRESHED:String = gvSessionPermRefreshed

Dispatched after a successful call to refresh Facebook session Permissions

FB_PUBLISH_PERMISSIONS_FAILEDConstant 
public static const FB_PUBLISH_PERMISSIONS_FAILED:String = gvPublishPermFailed

Dispatched after a call to request new Facebook Publish Permissions has failed

FB_PUBLISH_PERMISSIONS_UPDATEDConstant 
public static const FB_PUBLISH_PERMISSIONS_UPDATED:String = gvPublishPermUpdated

Dispatched after a successful call to request new Facebook Publish Permissions

FB_READ_PERMISSIONS_FAILEDConstant 
public static const FB_READ_PERMISSIONS_FAILED:String = gvReadPermFailed

Dispatched after a call to request new Facebook Read Permissions has failed

FB_READ_PERMISSIONS_UPDATEDConstant 
public static const FB_READ_PERMISSIONS_UPDATED:String = gvReadPermUpdated

Dispatched after a successful call to request new Facebook Read Permissions

FB_REQUEST_FAILEDConstant 
public static const FB_REQUEST_FAILED:String = gvFbRequestFailed

Dispatched when a Facebook Graph Request has failed

FB_REQUEST_RESPONSEConstant 
public static const FB_REQUEST_RESPONSE:String = gvFbRawResponse

Dispatched when a Facebook Graph Request returns a response

FB_SESSION_INVALIDATEDConstant 
public static const FB_SESSION_INVALIDATED:String = gvFacebookSessionInvalidated

Dispatched when the Facebook auth session is invalidated- for instance by the user revoking your permissions, or changing their password