I'm using this npm package to do OAuth Echo verification of users against twitter: https://github.com/ciaranj/node-oauth
Does anyone have an example of how to use this package to verify a users credentials?
I'm getting the X-Auth-Service-Provider & X-Verify-Credentials-Authorization from the iOS app correctly as far as I can tell, but I'm having trouble using those headers with this package.
Here's the OAuthEcho constructor:
var oauthEcho = new OAuthEcho(
"https://twitter.com",
"https://api.twitter.com/1.1/account/verify_credentials.json",
app.config.twitter.consumer_key,
app.config.twitter.consumer_private_key,
"1.0A",
"HMAC-SHA1"
);
Any help would really be appreciated!
Thanks!!