我與openGraph和正常的對話窗口,如下嘗試Facebook的SDK,無法發佈到留言板與IOS
[facebook requestWithGraphPath:[NSString stringWithFormat:@"/%@/feed",@"friends_fb_id" ] andParams:variables andHttpMethod:@"POST" andDelegate:self];
和
[facebook dialog:@"feed" andParams:params andDelegate:self]
我給PARAMS兩個方法如
NSMutableDictionary *params = [NSMutableDictionary dictionaryWithObjectsAndKeys: @"friends_fb_id", @"to", @"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", nil];
在委託方法中,它正確地返回Post_id,所以它成功完成,但我無法在朋友牆上看到帖子。如果嘗試使用SDK附帶的Hackbook應用程序,它可以很好地工作。
可能的解決方案是什麼?
是我在代碼中給出正確的ID,在上面的問題中'friends_fb_id'僅用於顯示目的;) – turbo 2012-07-16 22:19:39