我正在努力做到这一点
1)在facebook上上传照片2)从响应字符串中收集上传图片的url 2)然后使用上面照片的链接为图片属性创建帖子,但似乎不起作用
在我尝试发布feed后,我得到"FBCDN图像不允许在流中“。
ASIFormDataRequest *newRequest = [ASIFormDataRequest requestWithURL:url];
[newRequest setPostValue:[comments text] forKey:@"message"];
[newRequest setPostValue:[NSString stringWithFormat:@"%@", [responseJSON objectForKey:@"picture"]] forKey:@"picture"];
[newRequest setPostValue:@"nem appears here??" forKey:@"name"];
[newRequest setPostValue:@"caption appears here??" forKey:@"caption"];
[newRequest setPostValue:@"description appears here??" forKey:@"description"];
[newRequest setPostValue:@"http://google.com" forKey:@"link"];
[newRequest setPostValue:_accessToken forKey:@"access_token"];
[newRequest setDidFinishSelector:@selector(postToWallFinished:)];
[newRequest setDelegate:self];
[newRequest startAsynchronous];请帮我解决这个问题
发布于 2012-02-20 19:22:38
与发送带有“图片”标签的URL不同,只发送上传图片的ID,该ID在请求委托调用中返回给您,并使用标签"object_attachment“返回。
https://stackoverflow.com/questions/5878865
复制相似问题