Hide OAuth secret token.
darkmorford -
e8e6e71c5975
Not Reviewed
Show More
Add another comment
TODOs: 0 unresolved 0 Resolved
COMMENTS: 0 General 0 Inline
@@ -98,7 +98,6 adminmenu();
98 <th scope="col" style="text-align: center;">ID #</th>
98 <th scope="col" style="text-align: center;">ID #</th>
99 <th scope="col">Twitter.com Username</th>
99 <th scope="col">Twitter.com Username</th>
100 <th scope="col">oauth_token</th>
100 <th scope="col">oauth_token</th>
101 <th scope="col">oauth_token_secret</th>
102 <th scope="col">Authorized</th>
101 <th scope="col">Authorized</th>
103 <th scope="col"></th>
102 <th scope="col"></th>
104 </tr>
103 </tr>
@@ -115,7 +114,6 adminmenu();
115 <th scope="row" style="text-align: center;"><?php echo $s->id; ?></th>
114 <th scope="row" style="text-align: center;"><?php echo $s->id; ?></th>
116 <td><?php echo htmlentities($s->username); ?></td>
115 <td><?php echo htmlentities($s->username); ?></td>
117 <td><?php echo htmlentities($s->oauth_token); ?></td>
116 <td><?php echo htmlentities($s->oauth_token); ?></td>
118 <td><?php echo htmlentities($s->oauth_token_secret); ?></td>
119 <td><?php
117 <td><?php
120 $connection = new TwitterOAuth(CONSUMER_KEY, CONSUMER_SECRET, $s->oauth_token, $s->oauth_token_secret);
118 $connection = new TwitterOAuth(CONSUMER_KEY, CONSUMER_SECRET, $s->oauth_token, $s->oauth_token_secret);
121 $content = $connection->get('account/verify_credentials');
119 $content = $connection->get('account/verify_credentials');
Comments 0
You need to be logged in to leave comments. Login now