无法运行Chatter api ios示例

时间:2013-10-20 14:23:45

标签: ios5 restkit restkit-0.20 salesforce-chatter

我正在寻找一些样本,我可以使用这些样本在销售人员聊天中向/从群组发送/检索Feed。谷歌搜索时,我遇到了Chatter REST API和RestKit。我无法运行我从github下载的这个样本

https://github.com/cseymourSF/Chatter-API-iOS-Sample

运行代码后,我可以通过应用程序登录销售人员。但对于下面 要求:

向URL ///services/data/v23.0/chatter/users/userId发送异步GET请求。 (例如:///services/data/v23.0/chatter/users/me)

错误:

用户提取失败并显示错误:错误域= NSURLErrorDomain代码= -1002“不支持的URL”UserInfo = 0xa58ffa0 {NSErrorFailingURLStringKey = /// services / data / v23.0 / chatter / users / userId,NSErrorFailingURLKey = ///服务/data/v23.0/chatter/users/userId,NSLocalizedDescription =不支持的网址,NSUnderlyingError = 0xa5906d0“不支持的网址”}

我正在起诉的当前网址如下:

https://na15.salesforce.com/services/data/v23.0/chatter/users/me

任何帮助都可以得到赞赏。

1 个答案:

答案 0 :(得分:0)

似乎REST API错误的方法调用