[英]'quote' is missing while sharing via Facebook Native app - iOS Facebook SDK
[英]iOS Facebook SDK Native Sharing
我通過使用以下代碼的本機Facebook應用程序(如果已安裝),將帶有描述,標題等的鏈接的Facebook共享集成在一起:
FBLinkShareParams *params = [[FBLinkShareParams alloc] initWithLink:[NSURL URLWithString:@"https://abcde.com"]
name:@"demo"
caption:@"demo"
description:@"demo"
picture:nil];
//Present share dialog
[FBDialogs presentShareDialogWithParams:params clientState:nil handler:^(FBAppCall *call, NSDictionary *results, NSError *error) {
if(error) {
// An error occurred, we need to handle the error
// See: https://developers.facebook.com/docs/ios/errors
NSLog(@"Error publishing story: %@", error.description);
} else {
// Success
NSLog(@"result %@", results);
}
}];
當此方法運行並且安裝了本地facebook應用程序時,我可以選擇共享包含標題,鏈接和描述的帖子。 當我單擊共享並在FB上進行檢查時,似乎只有鏈接?
有人可以提出可能的解決方法嗎?
最有可能是由於最新的Facebook共享政策2.3
聲明:本站的技術帖子網頁,遵循CC BY-SA 4.0協議,如果您需要轉載,請注明本站網址或者原文地址。任何問題請咨詢:yoyou2525@163.com.