gpt4 book ai didi

ios - Facebook "FBCDN image is not allowed in stream"?

转载 作者:可可西里 更新时间:2023-11-01 03:09:38 24 4
gpt4 key购买 nike

上传图片后,我想把它贴在用户墙上。不幸的是,我在 Facebook 用户界面中收到以下错误:

"FBCDN image is not allowed in stream.filepath"

@"picture"值似乎不会被接受,但为什么呢?当我 NSLog “thumbURL”时,它是正确的。我该如何解决?这是我的完整方法:

    NSString *thumbURL = kDefaultThumbURL;
NSString *imageLink = [NSString stringWithFormat:[result objectForKey:@"link"]];

NSMutableDictionary* dialogParams = [NSMutableDictionary dictionaryWithObjectsAndKeys:
kAppId, @"app_id",
imageLink, @"link",
thumbURL, @"picture",
@"imageName", @"name",
nil];

[appDelegate.facebook dialog:@"feed"
andParams:dialogParams
andDelegate:self];

感谢任何帮助..

最佳答案

您需要将图像存储在本地某个地方,在本地服务器中。由于这个article

关于ios - Facebook "FBCDN image is not allowed in stream"?,我们在Stack Overflow上找到一个类似的问题: https://stackoverflow.com/questions/11546712/

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