Hi,
I've got a Ruby on Rails application that offers API access via OAuth
using
http://github.com/pelle/oauth-plugin with a test PHP script
working perfectly to login and consume services. In order to see if I
could create an iPhone client for it I downloaded OAuthSampleTouch and
modified the signInToTwitter method filling in myConsumerKey,
myConsumerSecret and relevant URL variables too.
The flow seems correct with it going from sign in, clicking
authorisation and then being returned to the main screen. mTokenField
is set from [mAuth token] and my API method called. However quitting
the application and going back in shows a "HTTP Basic: Access denied."
response to trying to execute a API call. No matter what I do it will
not re-authenticate using the token despite [mAuth canAuthorize]
returning true.
A test PHP script using Zend_OAuth works perfectly so am quite
confident that the web application itself is fine. Any ideas on how to
go about debugging this?
Any and all suggestions welcome!
Thanks,
Alistair
--
You received this message because you are subscribed to the Google Groups "Google Data APIs Objective-C Client Library Discussion" group.
To post to this group, send email to
gdata-objec...@googlegroups.com.
To unsubscribe from this group, send email to
gdata-objectivec-...@googlegroups.com.
For more options, visit this group at
http://groups.google.com/group/gdata-objectivec-client?hl=en.