OAuth error in Xcode 8 , total noob here


Hi! I am following along with a youtube tutorial for twitter authentication in Xcode / swift.

Problem I am getting is this :

did encounter error with message “Error obtaining user auth token.”: Error Domain=TWTRLogInErrorDomain Code=-1 "<?xml version="1.0" encoding="UTF-8"?>

Desktop applications only support the oauth_callback value ‘oob’

I have no idea where to find oauth or where to put it in Xcode. I googled some stuff, but the answers look like pages and pages of code for one thing? And the twitter / fabric sites, don’t have the answer in a clear format.

Help! Thank you!!


Are you able to provide a link to the tutorial you’re trying to follow? Is this using Twitter Kit in Fabric, or something else?


Oops! Sorry! Here you go:


I did the method posted in this youtube video. And the issue is this oauth error that code gives me. Everything else is working cool. If I can fix this, that would be great. IT’s a nice easy tut for starters.