Ovesh
Ovesh

Reputation: 5379

Can I share a web application's consumer key and secret using SA_OAuthTwitterEngine?

I'd like to enable users of my app to associate their twitter accounts so that some application interaction is automatically tweeted.

Users can already associate their twitter accounts via the web interface, and I'd like them to be able to do the same from the mobile (iOS) app.

The problem is, when the application is registered as a web app, a callback URL is specified. So when users log into twitter using SA_OAuthTwitterEngine, the response is redirected to that URL, and the callback events on the client never fire.

Can I use SA_OAuthTwitterEngine, and override the callback parameter (nullify it) so that I get the same interaction (PIN) as a desktop client?

Upvotes: 0

Views: 258

Answers (1)

freespace
freespace

Reputation: 16701

For a mobile client, best to use xAuth. Using the pin method is suboptimal for mobile. After all your application isn't a web app.

The new MGTwitterEngine has xAuth support, so switching should be painless :)

Upvotes: 1

Related Questions