Hello,
I am using below APIS link to send direct message(Private Message) in iOS
App but getting bellow error message
URL I am getting issue
https://api.twitter.com/1.1/direct_messages/new.json
Error :
1. Twitter response, HTTP response: 401
2 . Printing description of error:
Error Domain=NSURLErrorDomain Code=-1012 “The operation couldn’t be
completed. (NSURLErrorDomain error -1012.)” UserInfo=0x1771fa60
{NSErrorFailingURLKey=https://api.twitter.com/1.1/direct_messages/new.json?,
NSErrorFailingURLStringKey=https://api.twitter.com/1.1/
direct_messages/new.json?, NSUnderlyingError=0x18b5a470 “The operation
couldn’t be completed. (kCFErrorDomainCFNetwork error -1012.)”}
Please give me proper solution to send message to another person(Private
message not twit) throw iOS app.
Thanks
Ganesh