Interface FBSDK

Index

Properties

Methods

Properties

public Canvas: FBSDKCanvas

public Event: FBSDKEvents

public XFBML: FBSDKXFBML

Methods

public api(path: string, method: string, callback: (fbResponseObject: Object) => any): Object

Parameters

  • path: string
  • method: string
  • callback: (fbResponseObject: Object) => any

Returns

Object

public api(path: string, params: Object, callback: (fbResponseObject: Object) => any): Object

Parameters

  • path: string
  • params: Object
  • callback: (fbResponseObject: Object) => any

Returns

Object

public api(path: string, method: string, params: Object, callback: (fbResponseObject: Object) => any): Object

Parameters

  • path: string
  • method: string
  • params: Object
  • callback: (fbResponseObject: Object) => any

Returns

Object

public getAuthResponse(): Object

Returns

Object

public getLoginStatus(handler: Function, force?: Boolean)

Parameters

  • handler: Function
  • force?: Boolean optional

public init(fbInitObject: FBInitParams)

Parameters

public login(handler: (fbResponseObject: Object) => any, params?: FBLoginOptions)

Parameters

  • handler: (fbResponseObject: Object) => any
  • params?: FBLoginOptions optional

public logout(handler: (fbResponseObject: Object) => any)

Parameters

  • handler: (fbResponseObject: Object) => any

public ui(params: FBUIParams, handler: (fbResponseObject: Object) => any)

Parameters

  • params: FBUIParams
  • handler: (fbResponseObject: Object) => any