FBOpenGraphObject
最新版的 SDK 已不支持此类。
这个类有新版本。查看 最新版本。

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
属性
data

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

@property (retain, nonatomic) id<FBGraphObject> data;
声明语言: FBOpenGraphObject.h
description

Typed access to the object's description property

@property (retain, nonatomic) id description;
声明语言: FBOpenGraphObject.h
id

Typed access to the object's id

@property (retain, nonatomic) NSString *id;
声明语言: FBOpenGraphObject.h
image

Typed access to the object's image property

@property (retain, nonatomic) id image;
声明语言: 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