i 正在使用笔记本对讲人进行黑板的取样,但当我试图在新闻上公布时,它正在按我的时间表张贴,但在我的新闻中并未显示。 i 从http://www.icodeblog.com/201103/28/facebook-sdk-posting-to-user-news-feed/"rel=“nofollow”上尝试了另一个例子。 链接也张贴在我的时间表上,但不是在我的新闻中。 使用黑板样本出版守则
- (void)apiDialogFeedUser
{
currentAPICall = kDialogFeedUser;
SBJSON *jsonWriter = [[SBJSON new] autorelease];
// The action links to be shown with the post in the feed
NSArray* actionLinks = [NSArray arrayWithObjects:[NSDictionary dictionaryWithObjectsAndKeys:
@"Get Started",@"name",@"http://m.facebook.com/apps/hackbookios/",@"link", nil], nil];
NSString *actionLinksStr = [jsonWriter stringWithObject:actionLinks];
// Dialog parameters
NSMutableDictionary *params = [NSMutableDictionary dictionaryWithObjectsAndKeys:
@"I m using the Hackbook for iOS app", @"name",
@"Hackbook for iOS.", @"caption",
@"Check out Hackbook for iOS to learn how you can make your iOS apps social using Facebook Platform.", @"description",
@"http://m.facebook.com/apps/hackbookios/", @"link",
@"http://www.facebookmobileweb.com/hackbook/img/facebook_icon_large.png", @"picture",
actionLinksStr, @"actions",
nil];
HackbookAppDelegate *delegate = (HackbookAppDelegate *)[[UIApplication sharedApplication] delegate];
[[delegate facebook] dialog:@"feed" andParams:params andDelegate:self];
}
anybody else has face this type of issue any suggestions will be great help