根據Facebook開發人員路線圖(https://developers.facebook.com/roadmap/),他們說我們將無法發佈到Friend Wall,除了使用Feed對話框,但Feed SDK對iOS SDK不贊成使用3.1貼到朋友牆Facebook iOS SDK 3.1
在我的情況下,哪種方式更好?我需要一個用戶從他的朋友列表中選擇,然後發佈一個鏈接到他們的牆上。
在此先感謝
根據Facebook開發人員路線圖(https://developers.facebook.com/roadmap/),他們說我們將無法發佈到Friend Wall,除了使用Feed對話框,但Feed SDK對iOS SDK不贊成使用3.1貼到朋友牆Facebook iOS SDK 3.1
在我的情況下,哪種方式更好?我需要一個用戶從他的朋友列表中選擇,然後發佈一個鏈接到他們的牆上。
在此先感謝
看一看我的問題Post to Friends wall on Facebook failed with Social Framework in iOS 6
我通過發送邀請函使用他的Facebook用戶名([email protected])通過電子郵件給Facebook好友的消息最終
你可以使用Feed對話框。我認爲FB將不得不保持這種狀態。我的應用程序現在正在使用它們。
https://developers.facebook.com/docs/howtos/feed-dialog-using-ios-sdk/
- (IBAction)publishButtonAction:(id)sender {
// Put together the dialog parameters
NSMutableDictionary *params = [NSMutableDictionary dictionaryWithObjectsAndKeys:
@"Facebook SDK for iOS", @"name",
@"Build great social apps and get more installs.", @"caption",
@"The Facebook SDK for iOS makes it easier and faster to develop Facebook integrated iOS apps.", @"description",
@"https://developers.facebook.com/ios", @"link",
@"https://raw.github.com/fbsamples/ios-3.x-howtos/master/Images/iossdk_logo.png", @"picture",
nil];
// Invoke the dialog
[self.facebook dialog:@"feed" andParams:params andDelegate:self];
// (here's another typical example of how to call that...)
[FBWebDialogs presentFeedDialogModallyWithSession:
YourFBSessionClass.activeSession
parameters: params
handler: nil];
}
這是否也適用於朋友? –
要去嘗試它,我讓你知道!謝謝 – hardlinkin