Packagecom.facebook.graph.data.api.post
Classpublic class FacebookPostPrivacy
InheritanceFacebookPostPrivacy Inheritance AbstractFacebookGraphObject

An object that defines the privacy setting of a post.

See also

http://developers.facebook.com/docs/reference/api/post


Public Properties
 PropertyDefined 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
 Inheritedid : 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
 InheritedrawResult : 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
Public Methods
 MethodDefined 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
Protected Methods
 MethodDefined by
  
setPropertyValue(property:String, value:*):void
FacebookPostPrivacy
Property detail
allowproperty
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.

denyproperty 
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.

descriptionproperty 
public var description:String

The privacy value description.

friendsproperty 
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).

networksproperty 
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.

valueproperty 
public var value:String

The value field may specify one of the following JSON strings: EVERYONE, CUSTOM, ALL_FRIENDS, NETWORKS_FRIENDS, FRIENDS_OF_FRIENDS.

Constructor detail
FacebookPostPrivacy()constructor
public function FacebookPostPrivacy()

Creates a new FacebookPostPrivacy.

Method detail
fromJSON()method
public static function fromJSON(result:Object):FacebookPostPrivacy

Populates and returns a new FacebookPostPrivacy from a decoded JSON object.

Parameters
result:Object — A decoded JSON object.

Returns
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.

Returns
String — The string value of the graph object.