Provides access to additional user's properties. This profile needs to be
explicitly requested using
AIRFacebook.requestExtendedUserProfile()
.
The properties you wish to obtain must be specified using the
fields
parameter,
though their availability is subject to granted permissions, e.g. birthday info.
public function getProperty(property:String):Object
Allows you to access user properties which are not part of BasicUserProfile
by default. Only the properties that were specified in the fields
parameter
of AIRFacebook.requestExtendedUserProfile()
and for which your application
has permission to read are available.
Parameters
| property:String — Name of property to retrieve, e.g. birthday or gender .
|
Returns | Object — Value associated with the property if available, null otherwise.
Return value is String for most properties. For properties like hometown
and picture the returned value is Object (JSON).
|
Mon Jan 29 2018, 11:50 PM +01:00