FBOpenGraphObject
This class is no longer available in the most recent version of the SDK.
A more recent version of this class is available. Check out the latest version.

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.

Discussion:

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
Properties
data

Typed access to action's data, which is a dictionary of custom properties

@property (retain, nonatomic) id<FBGraphObject> data;
Declared In: FBOpenGraphObject.h
id

Use objectID instead

@property (retain, nonatomic) NSString *id __attribute__ ((deprecated("use objectID instead"
Declared In: FBOpenGraphObject.h
image

Typed access to the object's image property

@property (retain, nonatomic) id image;
Declared In: FBOpenGraphObject.h
objectDescription

Typed access to the object's description property.

@property (retain, nonatomic) id objectDescription;
Discussion:

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.

Declared In: FBOpenGraphObject.h
objectID

Typed access to the object's ID.

@property (retain, nonatomic) NSString *objectID;
Discussion:

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.

Declared In: FBOpenGraphObject.h
title

Typed access to object's title

@property (retain, nonatomic) NSString *title;
Declared In: FBOpenGraphObject.h
type

Typed access to the object's type, which is a string in the form mynamespace:mytype

@property (retain, nonatomic) NSString *type;
Declared In: FBOpenGraphObject.h
url

Typed access to the object's url property

@property (retain, nonatomic) id url;
Declared In: FBOpenGraphObject.h