Repository navigation
Expand file tree
/
Copy pathindex.php
More file actions
63 lines (58 loc) · 2.45 KB
/
Copy pathindex.php
File metadata and controls
63 lines (58 loc) · 2.45 KB
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
<html>
<header>
<link rel="stylesheet" href="/src/material.min.css">
<link rel="stylesheet" href="/src/material.indigo-pink.min.css">
<script src="/src/material.min.js"></script>
<link rel="stylesheet" href="/src/icon.css">
<meta name="viewport" content="width=device-width, initial-scale=1.0">
<title>Twitter API Token Generator</title>
</header>
<body style="width: calc(100% - 4px); margin-right: auto; margin-left : auto;">
<br>
<form action="./tokenGet.php" method="post">
Consumer API key
<br>
<div class="mdl-textfield mdl-js-textfield mdl-textfield--floating-label" style="width: 100%;">
<input class="mdl-textfield__input" type="text" id="a1" name="a1">
<label class="mdl-textfield__label">Key...</label>
</div>
<br>
Consumer API secret key
<br>
<div class="mdl-textfield mdl-js-textfield mdl-textfield--floating-label" style="width: 100%;">
<input class="mdl-textfield__input" type="text" id="a2" name="a2">
<label class="mdl-textfield__label">Secret...</label>
</div>
<br>
Callback URL
<br>
<div class="mdl-textfield mdl-js-textfield mdl-textfield--floating-label" style="width: 100%;">
<input class="mdl-textfield__input" type="text" id="a3" name="a3"
value="https://twtokengenerator.herokuapp.com/tokenCallback.php">
<label class="mdl-textfield__label">Callback URL...</label>
</div>
<br>
<button class="mdl-button mdl-js-button mdl-button--raised mdl-button--colored" style="width: 100%;">
Proceed
</button>
</form>
<br>
<br>
<button class="mdl-button mdl-js-button mdl-button--raised mdl-button--colored" style="width: 100%;"
onclick="document.getElementById('a1').value='';document.getElementById('a2').value='';">
Clear CK/CS
</button>
<br>
<br>
<button class="mdl-button mdl-js-button mdl-button--raised mdl-button--colored" style="width: 100%;"
onclick="document.getElementById('a3').value='https://twtokengenerator.herokuapp.com/tokenCallback.php';">
Callback reset to default
</button>
<br>
<br>
<button class="mdl-button mdl-js-button mdl-button--raised mdl-button--colored" style="width: 100%;"
onclick="document.getElementById('a3').value='oob';">
Callback set to out-of-band('oob')
</button>
</body>
</html>