Package | com.facebook.graph.windows |
Class | public class LoginWindow |
Inheritance | LoginWindow AbstractWindow flash.display.Sprite |
Property | Defined by | ||
---|---|---|---|
loginCallback : Function | LoginWindow | ||
WINDOW_HEIGHT : Number = 260 [static]
Default window height.
| LoginWindow | ||
WINDOW_WIDTH : Number = 460 [static]
Default window width.
| LoginWindow |
Method | Defined by | ||
---|---|---|---|
LoginWindow(loginCallback:Function)
Creates a new LoginWindow instance.
| LoginWindow | ||
open(applicationId:String, extendedPermissions:Array = null, point:Point = null):void
Opens a new login window, pointing to the Facebook authorization
page (https://graph.facebook.com/oauth/authorize).
| LoginWindow |
loginCallback | property |
public var loginCallback:Function
WINDOW_HEIGHT | property |
public static var WINDOW_HEIGHT:Number = 260
Default window height.
WINDOW_WIDTH | property |
public static var WINDOW_WIDTH:Number = 460
Default window width.
LoginWindow | () | constructor |
public function LoginWindow(loginCallback:Function)
Creates a new LoginWindow instance.
ParametersloginCallback:Function — Method to call when login is successful
|
open | () | method |
public function open(applicationId:String, extendedPermissions:Array = null, point:Point = null):void
Opens a new login window, pointing to the Facebook authorization page (https://graph.facebook.com/oauth/authorize).
ParametersapplicationId:String — Current ID of the application being used.
|
|
extendedPermissions:Array (default = null ) — (Optional) List of extended permissions
to ask the user for after login.
|
|
point:Point (default = null ) — (Optional) Starting point for the LoginWindow.
If null, the window will be centered on the current user's screen.
|
See also