The FBGraphUser
protocol enables typed access to a user object
as represented in the Graph API.
The FBGraphUser
protocol represents the most commonly used properties of a
Facebook user object. It may be used to access an NSDictionary
object that has
been wrapped with an FBGraphObject facade.
Extends Protocol: | FBGraphObject |
Declared in: | FBGraphUser.h |
birthday
Typed access to the user's birthday.
@property (retain,
nonatomic) NSString *birthday;
FBGraphUser.h
first_name
Typed access to the user's first name.
@property (retain,
nonatomic) NSString *first_name;
FBGraphUser.h
id
Use objectID instead
@property (retain,
nonatomic) NSString *id __attribute__ ((deprecated("use objectID instead"
FBGraphUser.h
last_name
Typed access to the user's last name.
@property (retain,
nonatomic) NSString *last_name;
FBGraphUser.h
link
Typed access to the user's profile URL.
@property (retain,
nonatomic) NSString *link;
FBGraphUser.h
location
Typed access to the user's current city.
@property (retain,
nonatomic) id<FBGraphPlace> location;
FBGraphUser.h
middle_name
Typed access to the user's middle name.
@property (retain,
nonatomic) NSString *middle_name;
FBGraphUser.h
name
Typed access to the user's name.
@property (retain,
nonatomic) NSString *name;
FBGraphUser.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.
FBGraphUser.h
username
Typed access to the user's username.
@property (retain,
nonatomic) NSString *username;
FBGraphUser.h