1.0.6 • Published 9 years ago

mp-token v1.0.6

Weekly downloads
1
License
MIT
Repository
github
Last release
9 years ago

mp-token

Programmatically get a new access_token for moneypot.com ###Note: the app must have https://www.moneypot.com/oauth/debug as one of their redirect uris ##Example

var mp = require('mp-token');
var args = {
    app_id:1091, // the app id
    session_id:'be324ef0-7662-4757-8a47-15e2eaf6a951'
    //your unexpired moneypot.com sessionid you can get this from your browser cookies
}

mp(args,function(error,token){
 if(error)
        throw (error);
    console.log(token); //will return a JSON Object {access_token:newToken,expires_in:expirationDate}
});
1.0.6

9 years ago

1.0.5

9 years ago

1.0.4

9 years ago

1.0.3

9 years ago

1.0.2

9 years ago

1.0.1

9 years ago

1.0.0

9 years ago