I'm currently trying to add a facebook functionnality to my iPhone game (Tikitic, on the appstore! :))
It seems to be quite easy to make a facebook connexion by invoking the FBLoginDialog dialog. But I would like, with a login and a pass saved in the userdefaults, connect automatically to my account.
Does it exist a methode like [fbsession loginWithName:@"mylog" andPass:@"mypass"] ?
Thanks a lot
You can call:
[myFBSession resume];
on your session instance. I think that the session details are persisted by the FBConnect code, and you don't have to worry about that.
Also, users won't be happy if you store their Facebook login details within your app without encrypting them. This is why the FBSession is used, so you don't have to save those details.
If you love us? You can donate to us via Paypal or buy me a coffee so we can maintain and grow! Thank you!
Donate Us With