Code 215 Bad Authentication data


#1

I am trying to login simply using Fabric Twitter API. It gives me error as mentioned in the topic. Session returned is nil.

[[Twitter sharedInstance] logInWithCompletion:^
     (TWTRSession *session, NSError *error) {
         if (session) {
             NSLog(@"signed in as %@", [session userName]);
                              
         } else {
             NSLog(@"error: %@", [error localizedDescription]);
         }
     }];

Is there something important I need to do? Please help me since I am stuck in this issue for many days. Thanks.


#2