gpt4 book ai didi

iOS Post to Facebook wall 提及标签用户

转载 作者:可可西里 更新时间:2023-11-01 06:16:06 25 4
gpt4 key购买 nike

我想通过我的 iOS 应用发帖,向一些 friend 提及。我得到了他的“身份证”。

所以我使用了 follow 但不起作用:

        NSString *textToShare = @"hello @[100003626828741]";        NSDictionary *parameters = @{                                     @"picture":picture,                                     @"name" : @"hello",                                     @"caption" : textToShare,                                     @"message" : textToShare,                                     };

    NSURL *feedURL = [NSURL URLWithString:@"https://graph.facebook.com/me/feed"];

SLRequest *feedRequest = [SLRequest
requestForServiceType:SLServiceTypeFacebook
requestMethod:SLRequestMethodPOST
URL:feedURL
parameters:parameters];

feedRequest.account = [[ICollinaService instance] facebookAccount];

[feedRequest performRequestWithHandler:^(NSData *responseData,
NSHTTPURLResponse *urlResponse, NSError *error)
{
NSLog(@"Facebook HTTP response: %i", [urlResponse
statusCode]);
NSLog(@"Facebook HTTP response allHeaderFields: %@", [urlResponse
allHeaderFields]);
NSLog(@"Facebook HTTP error: %@", error);
}];

}

我如何在帖子中提及 friend ?谢谢

帖子的结果是:hello @[100003626828741] 作为标题和消息,没有更改带有链接/标签的名称的 ID。

最佳答案

我认为您不能在帖子中标记 friend ,但可以在操作中标记。

关于iOS Post to Facebook wall 提及标签用户,我们在Stack Overflow上找到一个类似的问题: https://stackoverflow.com/questions/14753919/

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