Skip to content

Instantly share code, notes, and snippets.

What would you like to do?
#import "HFAppDelegate+FBAuthentication.h"
- (void)viewDidLoad {
[super viewDidLoad];
[[NSNotificationCenter defaultCenter] addObserver:self
- (void)viewDidUnload {
[super viewDidUnload];
[[NSNotificationCenter defaultCenter] removeObserver:self name:HFSessionStateChangedNotification object:nil];
#pragma mark - Helper Methods
- (void)sessionStateChanged:(NSNotification*)notification {
// A more complex app might check the state to see what the appropriate course of
// action is, but our needs are simple, so just make sure our idea of the session is
// up to date and repopulate the user's name and picture (which will fail if the session
// has become invalid).

This comment has been minimized.

Copy link

Favorwilliams commented Apr 15, 2014

My Pleasure to write you,
My name is Favor Williams,
My email address is
Am interested to know
more about you,
Contact me for my
photo and other
important issue via,

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
You can’t perform that action at this time.