Skip to content
This repository has been archived by the owner on May 3, 2018. It is now read-only.

Commit

Permalink
output app data
Browse files Browse the repository at this point in the history
  • Loading branch information
Colm Doyle committed Dec 4, 2012
1 parent d716a17 commit d5fe540
Showing 1 changed file with 8 additions and 2 deletions.
10 changes: 8 additions & 2 deletions page-tab/index.php
Expand Up @@ -34,6 +34,12 @@
$age_range = 'Unsure of age';
}

if ($signed_request['app_data']) {
$app_data = htmlspecialchars($signed_request['app_data']);
} else {
$app_data = 'No app_data supplied';
}

if ($signed_request['oauth_token']) {
$token = $signed_request['oauth_token'];
} else {
Expand Down Expand Up @@ -85,8 +91,8 @@
<td><?php echo $signed_request['issued_at'];?></td>
</tr>
<tr>
<td></td>
<td></td>
<td>App Data</td>
<td><?php echo $app_data; ?></td>
</tr>
</table>
</div>
Expand Down

0 comments on commit d5fe540

Please sign in to comment.