Packagecom.facebook.graph.data.ui.apprequest
Classpublic class AppRequest



Public Properties
 PropertyDefined by
  app_data : String
Optional.
AppRequest
  filters : Array
Optional.
AppRequest
  message : String
The message the receiving user will see.
AppRequest
  title : String
Optional.
AppRequest
  to : Array
A comma-separated list containing user IDs or usernames.
AppRequest
Public Methods
 MethodDefined by
  
AppRequest
  
toObject():Object
AppRequest
Property detail
app_dataproperty
public var app_data:String

Optional. 255 character string of data that you can add for bookkeeping purposes. You can read this back as part of the request object.

filtersproperty 
public var filters:Array

Optional. This controls what sets of friends get shown if a friend selector is shown. The different sets are selectable in a selector. The value is a list of filters for friends to show. Filters are selectable by the user using a selector in the dialog. A built-in filter is expressed as a string 'all', 'app_users', or 'app_non_users'. Respectively, these denote all friends, friends who use the application, and friends who don't. Custom filters are expressed as dictionaries with a 'name' key and a 'user_ids' key, which respectively have values that are a string and a list of user ids. 'name' is the name of the custom filter that will show in the selector. 'user_ids' is the list of friends to include, in the order in which they are to appear. Default value is '', which has the same effect as ['all', 'app_users', 'app_non_users'].

messageproperty 
public var message:String

The message the receiving user will see. It appears as a question posed by the sending user. The maximum length is 255 characters.

titleproperty 
public var title:String

Optional. The title for the friend selector dialog. Maximum length is 50 characters.

toproperty 
public var to:Array

A comma-separated list containing user IDs or usernames. If this is specified, the user will not have a choice of recipients. If this is omitted, the user will see a friend selector.

Constructor detail
AppRequest()constructor
public function AppRequest()
Method detail
toObject()method
public function toObject():Object

Returns
Object