I'm trying to create an iPhone app that connects to FB using their API. The documentation says to do as such to
session = [[FBSession sessionForApplication:@"key" secret:@"secret" delegate:self]retain];
... but what is this "session" object. How do I define it? If I just use this code I get errors saying that "session" is undefined.