gpt4 book ai didi

ios - 在Facebook上共享内容时如何添加多个主题标签

转载 作者:行者123 更新时间:2023-12-01 16:23:31 25 4
gpt4 key购买 nike

我在我的应用程序中使用Facebook分享。我想在共享内容中添加多个标签。我成功添加了一个标签,但是我需要添加多个标签。这是我到目前为止使用的代码:

            FBSDKShareDialog *dialog = [[FBSDKShareDialog alloc] init];
dialog.fromViewController = self;
FBSDKShareLinkContent *content = [[FBSDKShareLinkContent alloc] init];
content.contentTitle = APP_NAME;
content.contentDescription = text;

if ([arrAllEvents count]>0) {

content.imageURL = [NSURL URLWithString:[[arrAllEvents valueForKey:@"flyer_image"] objectAtIndex:index1]];
}
content.contentURL = url;

NSString *strHashtag =[NSString stringWithFormat:@"%@ %@",@"#Book",@"#Crazy"];
content.hashtag = [FBSDKHashtag hashtagWithString:@"#Crazy"];

dialog.shareContent = content;
dialog.mode = FBSDKShareDialogModeFeedWeb;
[dialog show];

最佳答案

不幸的是,FB更新了他们的policy。您只能使用 1标签

关于ios - 在Facebook上共享内容时如何添加多个主题标签,我们在Stack Overflow上找到一个类似的问题: https://stackoverflow.com/questions/46398809/

25 4 0
Copyright 2021 - 2024 cfsdn All Rights Reserved 蜀ICP备2022000587号
广告合作:1813099741@qq.com 6ren.com