Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- - (void)postToWall {
- FBStreamDialog* dialog = [[[FBStreamDialog alloc] init] autorelease];
- dialog.userMessagePrompt = @"Enter your message:";
- dialog.attachment = [NSString stringWithFormat:@"{"name":"%@ got straight A's!","href":"http://www.example.com/","caption":"%@ must have gotten real lucky this time!","description":"","media":[{"type":"image","src":"http://www.abc.png","href":"http://www.example.com/"}]}",
- _facebookName, _facebookName];
- dialog.actionLinks = @"[{"text":"Download GetHalal!","href":"http://www.example.com/"}]";
- [dialog show];
- }
Add Comment
Please, Sign In to add comment