``` javascript duoshuo.auth(code, function(err,token){ console.log(token) // to sth with token }); ``` 参数`code`是什么来的?
Activity
[-]auth方法中的code参数是什么?[/-][+]auth方法中的参数code是什么?[/+]SunPeter commentedon Mar 4, 2015
同问
guo-yu commentedon Mar 6, 2015
是 oauth2 返回到 callback uri 的 code,在 query string 中
xiaoyang4011 commentedon Jan 19, 2016
大神能否详细写下demo,好多地儿看不懂