skip to Main Content

iOS: error message "[TwitterKit] did encounter error with message "Error obtaining user auth token.": Error Domain=TWTRLogInErrorDomain Code=-1 " – Twitter API

I don't success to use the Twitter API connection in iOS with Objective-C. I use that codes: [[Twitter sharedInstance] logInWithCompletion:^ (TWTRSession *session, NSError *error) { if (session) { NSLog(@""); }}]; In my AppDelegate: - (BOOL)application:(UIApplication *)application didFinishLaunchingWithOptions:(NSDictionary *)launchOptions { //Twitter…

VIEW QUESTION

How to pass to URLSession.shared.dataTask called in a loop? – Plesk

I am downloading image from server and when image is downloaded I have to save that image in coredata with id. Here is the code for actionDict:JSON in actionData { if(actionDict["ProtocolImage"].stringValue.isValidURL()) { URLSession.shared.sessionDescription = "(actionDict["Id"].intValue)" URLSession.shared.dataTask(with: URL(string: actionDict["ProtocolImage"].stringValue)!, completionHandler: {…

VIEW QUESTION
Back To Top
Search