forked from facebookarchive/web-friend-smash
-
Notifications
You must be signed in to change notification settings - Fork 0
/
share.php
22 lines (21 loc) · 875 Bytes
/
share.php
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
<?php require __DIR__ . '/config.php'; ?>
<!DOCTYPE html>
<html>
<head>
<title>Your comrades need you!</title>
<meta property="og:title" content="Your comrades need you!" />
<meta property="og:description" content="Stop staring at your friends, and start smashing them! Play Friend Smash!" />
<meta property="og:type" content="website" />
<meta property="og:url" content="http://apps.facebook.com/<?= $appNamespace ?>/share.php" />
<meta property="og:image" content="<?= $serverUrl ?>/images/share.png" />
<meta property="fb:app_id" content="<?= $appId ?>" />
</head>
<body>
<script>
window.location = '<?= $serverUrl ?>';
</script>
<h1>Your comrades need you!</h1>
<p>Stop staring at your friends, and start smashing them! Play Friend Smash!</p>
<img src="<?= $serverUrl ?>/images/share.png" />
</body>
</html>