我想上传视频twitter
,我使用twitvid
示例代码
我还在我的帐户上创建应用程序并生成演示中所需并在演示中设置的所有令牌和 ID,但是当我执行代码并从库中选择视频并发送请求时,它会失败并出现以下错误
Domain=NSURLErrorDomain Code=-1003 "A server with the specified hostname could not be found." UserInfo=0x79e30350 {
NSErrorFailingURLStringKey=http://im.twitvid.com/api/uploadPic, _kCFStreamErrorCodeKey=8, NSErrorFailingURLKey=http://im.twitvid.com/api/uploadPic, NSLocalizedDescription=A server with the specified hostname could not be found., _kCFStreamErrorDomainKey=12, NSUnderlyingError=0x7b6be260 "A server with the specified hostname could not be found."
}
如果演示比实际应用程序中的 yi 代码不起作用,我仍在开发演示 B'coz。在我在 twitter 开发者网站上创建应用程序并获取客户端、令牌和应用程序 ID 并在示例代码中设置它之后,示例代码不起作用,但它仍然会给出上述错误 Y?我不知道。
如果有人这样做,请给我任何建议。