The FBOpenGraphObject
protocol is the base protocol for use in posting and retrieving Open Graph objects.
It inherits from the FBGraphObject
protocol; you may derive custome protocols from FBOpenGraphObject
in order
implement typed access to your application's custom objects.
Represents an Open Graph custom object, to be used directly, or from which to derive custom action protocols with custom properties.
Extends Protocol: | FBGraphObject |
Declared in: | FBOpenGraphObject.h |
data
Typed access to action's data, which is a dictionary of custom properties
@property (retain,
nonatomic) id<FBGraphObject> data;
FBOpenGraphObject.h
id
Use objectID instead
@property (retain,
nonatomic) NSString *id __attribute__ ((deprecated("use objectID instead"
FBOpenGraphObject.h
image
Typed access to the object's image property
@property (retain,
nonatomic) id image;
FBOpenGraphObject.h
objectDescription
Typed access to the object's description property.
@property (retain,
nonatomic) id objectDescription;
Note this typically refers to the "description" field of the graph object (i.e., equivalent
to [self objectForKey:@"description"]
) but is differently named to avoid conflicting with Apple's
non-public selectors.
FBOpenGraphObject.h
objectID
Typed access to the object's ID.
@property (retain,
nonatomic) NSString *objectID;
Note this typically refers to the "id" field of the graph object (i.e., equivalent
to [self objectForKey:@"id"]
) but is differently named to avoid conflicting with Apple's
non-public selectors.
FBOpenGraphObject.h
title
Typed access to object's title
@property (retain,
nonatomic) NSString *title;
FBOpenGraphObject.h
type
Typed access to the object's type, which is a string in the form mynamespace:mytype
@property (retain,
nonatomic) NSString *type;
FBOpenGraphObject.h
url
Typed access to the object's url property
@property (retain,
nonatomic) id url;
FBOpenGraphObject.h