The FBGraphPerson
protocol enables typed access to a person's name, photo
and context-specific identifier as represented in the Graph API.
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;
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