When a Facebook dialog is created with code like this
NSMutableDictionary* params = [NSMutableDictionary dictionaryWithObjectsAndKeys: apiKey, @"api_key", nil];
[facebook dialog:@"stream.publish" andParams:params andDelegate:self];
is there the possibility to use sessions?
I succeeded in publishing a post on a user's post wall, but how allow the user to logout? Moreover I obtain this error when I try to access to current user information.
{
error = {
message = "An active access token must be used to query information about the current user.";
type = OAuthException;
};
}
Looks like it's a permissions issue, try:
I create the Facebook object in viewDidLoad
I have a tableView. When the user clicks on an entry, an action sheet pops up with 3 choices
1 send an email
2 share on Facebook
3 log out from Facebook: it should be there only if the user is logged, however for the moment it's there and it works. I use
and moreover the method
When the user clicks on "share on Facebook", this code is run
In viewDidLoad, I've also tried to use
putting in fbDidLogin:
but fbDidLogin is never called.
EDIT
I resolved using the FB october api (while I've not found a solution with the november one).