Twitter warning log “TwitterKit must be used only from the main thread” Fabric SDK?


I am integrate twitter using fabric SDK. I am successfully integrate it
in my apps also login and get token,names of user from twitter. But in
my apps one Warning is display when checking of twitter session for login.

 if (Twitter.sharedInstance().session() == nil)
          twitterToken = ""
          twitterSecret = ""
          twitterToken = Twitter.sharedInstance().session().authToken
          twitterSecret = Twitter.sharedInstance().session().authTokenSecret     

The warning log display on console shows:

TwitterKit must be used only from the main thread. Use from background
threads will lead to unexpected behavior and crashes. Set a symbolic
breakpoint in +[TWTRMultiThreadUtil warnForBackgroundThreadUsage] to
debug this.

closed #2