Last active
August 15, 2021 10:07
-
-
Save poychang/61e48339d95f11fe94b86b136f87521f to your computer and use it in GitHub Desktop.
LineNotify 連結頁面
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
<!DOCTYPE html> | |
<html lang="tw"> | |
<head> | |
<title></title> | |
<meta charset="UTF-8"> | |
<meta name="viewport" content="width=device-width, initial-scale=1"> | |
<script> | |
function oAuth2() { | |
var URL = 'https://notify-bot.line.me/oauth/authorize?'; | |
URL += 'response_type=code'; | |
URL += '&client_id=[YOUR_CLIENT_ID]'; | |
URL += '&redirect_uri=[YOUR_CALLBACK_URL]'; | |
URL += '&scope=notify'; | |
URL += '&state=NO_STATE'; | |
window.location.href = URL; | |
} | |
</script> | |
</head> | |
<body> | |
<button onclick="oAuth2();"> 連結到 LineNotify 按鈕 </button> | |
</body> | |
</html> |
mr08781
commented
Oct 24, 2018
<title></title>
<script>
function oAuth2() {
var URL = 'https://notify-bot.line.me/oauth/authorize?';
URL += 'response_type=code';
URL += '&client_id=[GRB2g9bEs7d6PX9z8Uixk7]';
URL += '&redirect_uri=[http://localhost:3000/]';
URL += '&scope=notify';
URL += '&state=NO_STATE';
window.location.href = URL;
}
</script>
連結到 LineNotify 按鈕
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment