Skip to content

Instantly share code, notes, and snippets.

@shanev
Created July 25, 2009 19:11
Show Gist options
  • Star 0 You must be signed in to star a gist
  • Fork 0 You must be signed in to fork a gist
  • Save shanev/154861 to your computer and use it in GitHub Desktop.
Save shanev/154861 to your computer and use it in GitHub Desktop.
#pragma mark FBDialogDelegate
- (void)dialogDidSucceed:(FBDialog*)dialog {
NSLog(@"post status");
FBFeedDialog* feedDialog = [[[FBFeedDialog alloc] init] autorelease];
feedDialog.delegate = self; // change to different delegate to stop loopback?
feedDialog.templateBundleId = 104929001157;
feedDialog.templateData = @"{\"theme\": \"Electronic Theme\"}";
[feedDialog show];
}
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment