Ti.Yahoo.yql and oauth help

You must Login before you can answer or comment on any questions.

I'm starting a project using Yahoo YQL, but I'm finding very limited support on this for Titanium Mobile.

I've seen some references to this: Ti.Yahoo.setOAuthParameters(consumerKey, sharedSecret); Which has zero documentation, but I imagine that it's pretty important. How is this used?

I also would love to see an example of using that function (if I need it) in conjunction with Ti.Yahoo.yql. I'm attempting to use Yahoo's Fantasy Sports API, but it requires Oauth2.

Any help? Thanks

— asked 11 months ago by Freddie C
0 Comments

2 Answers

Accepted Answer

There is a lot of OAUTH-Libraries. In my last project I used successfull JSoauth from Rob Griffith. Ti.Yahoo.yql is a nice shortcut, but the lib doesnt work for all wishes. You cannot increase the timeout or send Oauth. I'am afraid you have to use a xhr client or use Robs Lib.

Hope this helps.

rainer

Your Answer

Think you can help? Login to answer this question!