What is the callback method for FBSDKShareDialog when it returns to your application (after the user has finished creating the message)?
This is what I need to create a dialog:
-(IBAction)post:(id)sender{ FBSDKShareLinkContent *content = [[FBSDKShareLinkContent alloc] init]; content.contentURL = [NSURL URLWithString:self.spinShareURL]; content.contentDescription=@ "#spin"; self.fromFacebook = true; [FBSDKShareDialog showFromViewController:self withContent:content delegate:nil]; }
I read somewhere that there is a callback
-(void)dialogDidComplete:(FBSDKShareDialog *)dialog{ }
But that did not work for me.
source share