Today at 6pm EST Twitter pushed a new OAuth update for the mobile web page that users use to authorize an application to send tweets on their behave. This is great since they made the user experience on mobile devices and specifically the iPhone better.
I am using Ben Gottlieb’s Twitter-OAuth-iPhone library to handle the retrieving of the pin that Twitter assigns to the an app for the requesting user. Ben’s library is great and makes it very easy for a dev to drop OAuth support into a Twitter enabled application.
There was a small problem with this mobile update. The web page element that contains the oauth pin was changed from oauth_pin to oauth-pin. This broke any app using the Twitter-OAuth-iPhone library.
The fix is simple. Go into your code and so a search for oauth_pin and change that to oauth-pin. Here are the files from Ben’s library that are impacted by today’s change:
- Libraries & Headers/jQueryInject.txt
Make the change, recompile, and retest your app. You should be sending tweets again in no time.
PhotoShake was updated (submitted to Apple for review) to version 1.0.3 tomorrow as part of this fix. I’ll send an update when the fix is pushed to the App Store.