我使用Facebook SDK運行iphone的hackbook示例,但是當我嘗試發佈在我的新聞源時,它張貼在我的時間軸上,但它沒有顯示在我的新聞源中。我想另一個例子,從這個facebook example鏈接,但它也張貼在我的時間表,但不是在我newsfeed.the代碼使用發佈hackbook樣品張貼在臉書上newsfeed無法正常工作
- (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];
}
別人已經面臨此類問題 的任何建議將是很大的幫助
一個新的問題來了我創造了新的Facebook帳戶,並添加到我的老ACC ount朋友列表,然後無論我從我的應用程序發佈它顯示在新帳戶newsfeed正確,但不是在我的新聞源 – Ghouse