Facebook Developers
DocsToolsSupportNewsApps
Log In
  • Social Plugins
  • Facebook Login
  • Open Graph
  • Facebook APIs
  • Games
  • Payments
  • App Center
  • Promote Your App
  • iOS
    • Getting Started
    • Concepts
    • Reference
  • Android
  • JavaScript
  • PHP
  • More SDKs
  • Class References
    • FBCacheDescriptor
    • FBFriendPickerViewController
    • FBGraphObject
    • FBLoginView
    • FBPlacePickerViewController
    • FBProfilePictureView
    • FBRequest
    • FBRequestConnection
    • FBSession
    • FBSessionTokenCachingStrategy
    • FBTestSession
    • FBUserSettingsViewController
    • FBViewController
  • Protocol References
    • FBFriendPickerDelegate
    • FBGraphLocation
    • FBGraphObject
    • FBGraphPlace
    • FBGraphUser
    • FBLoginViewDelegate
    • FBOpenGraphAction
    • FBPlacePickerDelegate
    • FBUserSettingsDelegate
    • FBViewControllerDelegate
  • Other References
    • FBError
    • FBSettings

FBGraphUser

SDK Reference › iOS SDK › FBGraphUser
FBGraphUser
Extends Protocol: FBGraphObject
Declared in: FBGraphUser.h
Overview

The FBGraphUser protocol enables typed access to a user object as represented in the Graph API.

Discussion

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.

Tasks
birthday property
first_name property
id property
last_name property
link property
location property
middle_name property
name property
username property
Properties
birthday

Typed access to the user's birthday.

@property (retain, nonatomic) NSString *birthday;
Declared In
FBGraphUser.h
first_name

Typed access to the user's first name.

@property (retain, nonatomic) NSString *first_name;
Declared In
FBGraphUser.h
id

Typed access to the user's ID.

@property (retain, nonatomic) NSString *id;
Declared In
FBGraphUser.h
last_name

Typed access to the user's last name.

@property (retain, nonatomic) NSString *last_name;
Declared In
FBGraphUser.h
link

Typed access to the user's profile URL.

@property (retain, nonatomic) NSString *link;
Declared In
FBGraphUser.h
location

Typed access to the user's current city.

@property (retain, nonatomic) id<FBGraphLocation> location;
Declared In
FBGraphUser.h
middle_name

Typed access to the user's middle name.

@property (retain, nonatomic) NSString *middle_name;
Declared In
FBGraphUser.h
name

Typed access to the user's name.

@property (retain, nonatomic) NSString *name;
Declared In
FBGraphUser.h
username

Typed access to the user's username.

@property (retain, nonatomic) NSString *username;
Declared In
FBGraphUser.h

Last Updated: November 19, 2012
Facebook © 2013 · English (US)
AboutAdvertisingCareersPlatform PoliciesPrivacy Policy