node.js - NodeJs linkedin ,the client is not authorized error -
var linkedin = require('node-linkedin')(clientid, clientsecret); app.get('/linked',function(req, res){ linkedin.auth.authorize(res,scope); linkedin.auth.getaccesstoken(res, req.query.code, req.query.state, function(err, results){ if(err){ console.log('error : ' + err); } console.log('results : ' + results); return; }); }); return error code : unauthorized_client: client not authorized. results:null. me problem
Comments
Post a Comment