If you have set up an app on https://dev.twitter.com/apps/ and receive this error:
Desktop applications only support the oauth_callback value 'oob'
Simply set a Callback URL in your app settings to resolve it. Even if you are developing on a local machine ("localhost" is rejected); just use a live URL such as your blog and it should work fine. Source: https://dev.twitter.com/discussions/392