FBGraphPerson
最新版本的 SDK 已不再提供此課程。

The FBGraphPerson protocol enables typed access to a person's name, photo and context-specific identifier as represented in the Graph API.

Discussion:

The FBGraphPerson protocol provides access to the name, picture and context-specific ID of a person represented by a graph object. It may be used to access an NSDictionary object that has been wrapped with an FBGraphObject facade.

Extends Protocol:FBGraphObject
Declared in:FBGraphPerson.h
資產
first_name

Typed access to the user's first name.

@property (retain, nonatomic) NSString *first_name;
宣告於: FBGraphPerson.h
last_name

Typed access to the user's last name.

@property (retain, nonatomic) NSString *last_name;
宣告於: FBGraphPerson.h
middle_name

Typed access to the user's middle name.

@property (retain, nonatomic) NSString *middle_name;
宣告於: FBGraphPerson.h
name

Typed access to the user's name.

@property (retain, nonatomic) NSString *name;
宣告於: FBGraphPerson.h
objectID

Typed access to the user 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.

宣告於: FBGraphPerson.h