FBGraphPerson
Lớp này không còn khả dụng trong phiên bản gần đây nhất của SDK.
Đã có phiên bản mới hơn của lớp này. Hãy kiểm tra phiên bản mới nhất.

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
Thuộc tính
first_name

Typed access to the user's first name.

@property (retain, nonatomic) NSString *first_name;
Đã tuyên bố trong: FBGraphPerson.h
last_name

Typed access to the user's last name.

@property (retain, nonatomic) NSString *last_name;
Đã tuyên bố trong: FBGraphPerson.h
middle_name

Typed access to the user's middle name.

@property (retain, nonatomic) NSString *middle_name;
Đã tuyên bố trong: FBGraphPerson.h
name

Typed access to the user's name.

@property (retain, nonatomic) NSString *name;
Đã tuyên bố trong: 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.

Đã tuyên bố trong: FBGraphPerson.h