2012-04-16 45 views
2

我遇到了一个奇怪的问题,当我从网络端添加图片到过去的事件,一切都很好,但是当我从我自己的iOS应用程序那样做时,没有例外,我只是看不到新添加的image.Can't我们添加照片到移动客户端的过去事件吗?任何人都知道。为什么我无法从我自己的iOS应用程序上传图片到我的粘贴事件?

NSMutableDictionary *params = [NSMutableDictionary dictionaryWithObjectsAndKeys:image,@"source", nil]; 
[facebookDelegate requestWithGraphPath:[NSString stringWithFormat:@"%@/photos",self.eventID] andParams:params andHttpMethod:@"POST" andDelegate:self]; 

有没有错误,但我只是看不到上传的图片。

另一个问题,如何设置图形API的事件的个人资料图片?我用下面的代码:

NSMutableDictionary *params = [NSMutableDictionary dictionaryWithObjectsAndKeys:image,@"picture", nil]; 
[facebookDelegate requestWithGraphPath:self.eventID andParams:params andHttpMethod:@"POST" andDelegate:self]; 

它也不会work.What的更多,我想konw如果我们能够从网络上传图片,所以我们只提供图片链接至Facebook? 谢谢。

回答

0

我想你现在可以尝试第一个。它现在工作