我正在使用facebook sdk为iphone运行hackbook示例但是当我尝试在我的新闻源上发布时,它会在我的时间轴上发布,但它没有显示在我的新闻源中。我尝试了这个facebook example链接中的另一个示例,但它也在我的时间轴上发布,但不在我的新闻源中发布。使用hackbook示例发布的代码是
- (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];
}
其他任何人都面临这类问题 任何建议都会很有帮助