Compatibility-Patch for Yahoo APIs

9 views
Skip to first unread message

rpitting

unread,
Dec 8, 2009, 6:29:26 AM12/8/09
to OAuth Objective-C
Hi Karl,

let's continue our conversation on the mailing list.

I have modified the source-code to work with the Yahoo OAuth APIs, as
I needed to connect to Delicious.com.

The changes include:

- Commenting out [self authentication] in the init-method in
MPOAuthAPI.m, as some parameters (e.g. the signatureScheme) need to be
changed. I would propose to leave it commented out, because otherwise
the first issued request may always fail due to wrong settings.
- Added support for the "oauth_callback" parameter that is required in
OAuth 1.0a (as the comment on http://code.google.com/p/mpoauthconnection/wiki/GettingStarted
by nik.burns assumes).

For the last change, quite a lot of modification and deep crawling
into the sourcecode was necessary, including MPOAuthAPI,
MPOAuthCredentialConcreteStore, MPOAuthParameterFactory and even
MPOAuthURLRequest (to avoid url-encoding urls).

@Karl: until the project is moved to a new repo, shouldn't I commit
the patch to the Google code repo?

Regards,


Reiner

Karl Adam

unread,
Dec 9, 2009, 9:07:59 PM12/9/09
to oauth-ob...@googlegroups.com, OAuth Objective-C
Yes, it is best that everyone get the necessary changes. When I get
back to my desk I'll add you to the committers. I was advocating
submitting it as a patch to quickly review and then add in the changes.

_Karl
Sent from my iPhone
> --
>
> You received this message because you are subscribed to the Google
> Groups "OAuth Objective-C" group.
> To post to this group, send email to oauth-ob...@googlegroups.com
> .
> To unsubscribe from this group, send email to oauth-objectiv...@googlegroups.com
> .
> For more options, visit this group at http://groups.google.com/group/oauth-objective-c?hl=en
> .
>
>

Karl Adam

unread,
Dec 10, 2009, 12:32:52 AM12/10/09
to oauth-ob...@googlegroups.com
So, do you have a diff prepared that I can review?

_Karl
Reply all
Reply to author
Forward
0 new messages