Created
January 2, 2017 08:49
-
-
Save white5168/81e5281ecce8e82c9d282df84d58acfc to your computer and use it in GitHub Desktop.
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
<html> | |
<head> | |
<title>連結到LineNotify</title> | |
<meta charset="big-5" /> | |
<script> | |
function oAuth2() { | |
var URL = 'https://notify-bot.line.me/oauth/authorize?'; | |
URL += 'response_type=code'; | |
URL += '&client_id=AkGjwZTlY8VUJ63CQVhkor'; | |
URL += '&redirect_uri=http://localhost:8080/index.php'; | |
URL += '&scope=notify'; | |
URL += '&state=abcde'; | |
window.location.href = URL; | |
} | |
</script> | |
</head> | |
<body> | |
<button onclick="oAuth2();">連結到LineNotify按鈕</button> | |
</body> | |
</html> |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment