Package | com.facebook.graph.data.api.post |
Class | public class FacebookPostPrivacy |
Inheritance | FacebookPostPrivacy AbstractFacebookGraphObject |
See also
Property | Defined by | ||
---|---|---|---|
allow : Array
The allow field must be specified when the friends value is set to SOME_FRIENDS and must specify a comma-separated list of user IDs and friend list IDs that 'can' see the post.
| FacebookPostPrivacy | ||
deny : Array
The deny field may be specified if the friends field is set to SOME_FRIENDS and must specify a comma-separated list of user IDs and friend list IDs that 'cannot' see the post.
| FacebookPostPrivacy | ||
description : String
The privacy value description.
| FacebookPostPrivacy | ||
friends : String
The friends field must be specified if value is set to CUSTOM and contain one of the following JSON strings:
EVERYONE, NETWORKS_FRIENDS (when the object can be seen by networks and friends), FRIENDS_OF_FRIENDS, ALL_FRIENDS, SOME_FRIENDS, SELF, or NO_FRIENDS (when the object can be seen by a network only).
| FacebookPostPrivacy | ||
id : String
The unique ID for the graph object.
| AbstractFacebookGraphObject | ||
networks : Array
The networks field may contain a comma-separated list of network IDs that can see the object, or 1 for all of a user's network.
| FacebookPostPrivacy | ||
rawResult : Object
The raw decoded JSON result data for the graph object.
| AbstractFacebookGraphObject | ||
value : String
The value field may specify one of the following JSON strings: EVERYONE, CUSTOM, ALL_FRIENDS, NETWORKS_FRIENDS, FRIENDS_OF_FRIENDS.
| FacebookPostPrivacy |
Method | Defined by | ||
---|---|---|---|
Creates a new FacebookPostPrivacy.
| FacebookPostPrivacy | ||
fromJSON(result:Object):FacebookPostPrivacy
[static]
Populates and returns a new FacebookPostPrivacy from a decoded JSON object.
| FacebookPostPrivacy | ||
toString():String
Provides the string value of the graph object.
| FacebookPostPrivacy |
Method | Defined by | ||
---|---|---|---|
setPropertyValue(property:String, value:*):void
| FacebookPostPrivacy |
allow | property |
public var allow:Array
The allow field must be specified when the friends value is set to SOME_FRIENDS and must specify a comma-separated list of user IDs and friend list IDs that 'can' see the post.
deny | property |
public var deny:Array
The deny field may be specified if the friends field is set to SOME_FRIENDS and must specify a comma-separated list of user IDs and friend list IDs that 'cannot' see the post.
description | property |
public var description:String
The privacy value description.
friends | property |
public var friends:String
The friends field must be specified if value is set to CUSTOM and contain one of the following JSON strings: EVERYONE, NETWORKS_FRIENDS (when the object can be seen by networks and friends), FRIENDS_OF_FRIENDS, ALL_FRIENDS, SOME_FRIENDS, SELF, or NO_FRIENDS (when the object can be seen by a network only).
networks | property |
public var networks:Array
The networks field may contain a comma-separated list of network IDs that can see the object, or 1 for all of a user's network.
value | property |
public var value:String
The value field may specify one of the following JSON strings: EVERYONE, CUSTOM, ALL_FRIENDS, NETWORKS_FRIENDS, FRIENDS_OF_FRIENDS.
FacebookPostPrivacy | () | constructor |
public function FacebookPostPrivacy()
Creates a new FacebookPostPrivacy.
fromJSON | () | method |
public static function fromJSON(result:Object):FacebookPostPrivacy
Populates and returns a new FacebookPostPrivacy from a decoded JSON object.
Parametersresult:Object — A decoded JSON object.
|
FacebookPostPrivacy —
A new FacebookPostPrivacy.
|
setPropertyValue | () | method |
protected override function setPropertyValue(property:String, value:*):void
Parameters
property:String |
|
value:* |
toString | () | method |
public override function toString():String
Provides the string value of the graph object.
ReturnsString — The string value of the graph object.
|