FBLoginViewDelegate
This class is no longer available in the most recent version of the SDK.

The FBLoginViewDelegate protocol defines the methods used to receive event notifications from FBLoginView objects.

Discussion:

Please note: Since FBLoginView observes the active session, using multiple FBLoginView instances in different parts of your app can result in each instance's delegates being notified of changes for one event.

Extends Protocol:NSObject
Declared in:FBLoginView.h
Instance Methods
loginView:handleError:

Tells the delegate that there is a communication or authorization error.

ParameterDescription
loginView

The login view that transitioned its view mode

error

An error object containing details of the error.

- (void)
loginView: (FBLoginView *)loginView
handleError: (NSError *)error;
Discussion:

See https://developers.facebook.com/docs/technical-guides/iossdk/errors/ for error handling best practices.

Declared In: FBLoginView.h
loginViewFetchedUserInfo:user:

Tells the delegate that the view is has now fetched user info

ParameterDescription
loginView

The login view that transitioned its view mode

user

The user info object describing the logged in user

- (void)
loginViewFetchedUserInfo: (FBLoginView *)loginView
user: (id<FBGraphUser>)user;
Declared In: FBLoginView.h
loginViewShowingLoggedInUser:

Tells the delegate that the view is now in logged in mode

ParameterDescription
loginView

The login view that transitioned its view mode

- (void) loginViewShowingLoggedInUser:(FBLoginView *)loginView;
Declared In: FBLoginView.h
loginViewShowingLoggedOutUser:

Tells the delegate that the view is now in logged out mode

ParameterDescription
loginView

The login view that transitioned its view mode

- (void) loginViewShowingLoggedOutUser:(FBLoginView *)loginView;
Declared In: FBLoginView.h