I’m using Twitter’s OAuth protocol for the first time with VB.net, and I followed the instructions here to create my request:
In the docs, it indicates that a callback URL is required:
For OAuth 1.0a compliance this parameter is required. The value you specify here will be used as the URL a user is redirected to should they approve your application's access to their account. Set this to oob for out-of-band pin mode. This is also how you specify custom callbacks for use in desktop/mobile applications.However, I kept running into a 401 unauthorized error until I removed the callback URL. I put it back in and received the 401 unauthorized error again.
Always send an oauth_callback on this step, regardless of a pre-registered callback.
Removing it actually makes some sense, since there’s already one specified in the app when I had to sign up. However, I can also see the need to override it. So I’m not sure as a result if this is a bug or a case where the documentation needs to be updated or it’s something completely different.
Anyone else run into this?