我得到這個網址我驗證到谷歌如何從URL
http://localhost:3000/_oauth/google#access_token=ya29.5HxuYol1Io8JLeGePDznbfkkwu_PC4uodKwG8_1clFYAn9AgdOV1WGpOTNQP3s76HAsn7Y4zWw&token_type=Bearer&expires_in=3600
後,如何從這個網址access_token
值獲得訪問令牌?
我試圖解決方案在下面的網址,他們都不工作
How can I get query string values in JavaScript?
在JSHow to get the value from the GET parameters?
Using the GET parameter of a URL in JavaScript
我也喜歡Regex!很好的答案 –