Anyone know how to sign an authorized request using KQOAuth Library??
-
When sending an authenticated request I do these steps:
@ oauthRequest->setConsumerKey(CONSUMER_KEY);
oauthRequest->setConsumerSecretKey(CONSUMER_SECRET);
oauthRequest->setToken(ACCESS_TOKEN);
oauthRequest->setTokenSecret(ACCESS_TOKEN_SECRET);
oauthRequest->setHttpMethod(KQOAuthRequest::GET);
oauthRequest->setSignatureMethod(KQOAuthRequest::HMAC_SHA1);QUrl requestEndpoint("https://stream.tradeking.com/v1/market/quotes.xml?symbols=TSLA");
KQOAuthParameters params;
params.insert("blah", "blah, blah!");HOW DO I SIGN THE REQUEST AT THIS POINT? (already set the signature method above)
oauthManager->sendAuthorizedRequest(requestEndpoint, requestParameters);@
-
http://www.johanpaul.com/blog/2010/10/introducing-kqoauth-easy-and-powerful-oauth-library-for-qt/
http://www.johanpaul.com/blog/2010/11/advanced-use-of-kqoauth/It's a third-party library, not affiliated with the Qt Project. Try asking its developer.