Reputation: 119
Using the new iOS SDK 3.0, how do you extend access tokens? Is this still necessary?
Upvotes: 0
Views: 826
Reputation: 8845
The Facebook SDK handles it itself.
You can reach it any time like so:
NSString *accessToken = [FBSession activeSession].accessToken;
This will return the accessToken or a nil if no token is set. You can even define a token caching ruleset on the session. Enjoy.
Upvotes: 2