标签: node.js
我的回调网址是
http://localhost:3000/socialAuth#access_token=2922715534e68b9fa5e749693f0e6
我使用以下方式在nodejs中收到此请求
app.get('/', function (req, res) { console.log(req); });
在控制台中,我得到“ / socialAuth”。但是如何在“#”之后获取价值。我需要URL中的“ access_token”值。