How to correct initialize FBSessionTokenCachingStrategy
?
I have: facebook-ios-sdk
(not new, but 3.0).
Also, i have an iOS-project, thtat must run under iOS 5.*
And i have a trouble:
How to correct initialize session, if it must be reopen (not open)?
I have a token from last session and i want to login with this token.
But for this i need to create a FBSessionTokenCachingStrategy
instance.
How to do this?
Thanks for help!
As i said before, i need this to create session and open it.
Let's see, what i want:
NOTE:
It can be, that FBSessionTokenCachingStrategy instance was not saved on device.
And i need to create it.
And this is my algorithm: (code will be posted later)
Success!