-
-
Notifications
You must be signed in to change notification settings - Fork 1
/
index.html
91 lines (76 loc) · 2.56 KB
/
index.html
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
64
65
66
67
68
69
70
71
72
73
74
75
76
77
78
79
80
81
82
83
84
85
86
87
88
89
90
91
<!DOCTYPE html>
<html>
<head>
<title>Microaggression Bingo</title>
<meta name="viewport" content="user-scalable=no, width=device-width">
<link href="css/style.css" rel="stylesheet" type="text/css">
<script src="js/jquery.js" type="text/javascript"></script>
<script src="js/jquery.tappable.js" type="text/javascript"></script>
<script src="js/data.js" type="text/javascript"></script>
<script src="js/script.js" type="text/javascript"></script>
</head>
<body>
<script src="https://connect.facebook.net/en_US/fbinstant.6.3.js">
// Importing the Instant Games SDK
</script>
<div id="fb-root"></div>
<script async defer crossorigin="anonymous" src="https://connect.facebook.net/en_US/sdk.js#xfbml=1&version=v4.0&appId=411268966406901&autoLogAppEvents=1"></script>
<script>
// Facebook Login - Setup SDK for Javascript
window.fbAsyncInit = function() {
FB.init({
appId : '411268966406901',
cookie : true,
xfbml : true,
version : 'v4.0'
});
FB.AppEvents.logPageView();
};
(function(d, s, id){
var js, fjs = d.getElementsByTagName(s)[0];
if (d.getElementById(id)) {return;}
js = d.createElement(s); js.id = id;
js.src = "https://connect.facebook.net/en_US/sdk.js";
fjs.parentNode.insertBefore(js, fjs);
}(document, 'script', 'facebook-jssdk'));
//Check login status
FB.getLoginStatus(function(response) {
statusChangeCallback(response);
});
// Add FB login button
<fb:login-button
scope="public_profile,email"
onlogin="checkLoginState();">
</fb:login-button>
function checkLoginState() {
FB.getLoginStatus(function(response) {
statusChangeCallback(response);
});
}
</script>
<script>
window.fbAsyncInit = function() {
FB.init({
appId : '411268966406901',
xfbml : true,
version : 'v4.0'
});
// ADD ADDITIONAL FACEBOOK CODE HERE
};
(function(d, s, id){
var js, fjs = d.getElementsByTagName(s)[0];
if (d.getElementById(id)) {return;}
js = d.createElement(s); js.id = id;
js.src = "https://connect.facebook.net/en_US/sdk.js";
fjs.parentNode.insertBefore(js, fjs);
}(document, 'script', 'facebook-jssdk'));
</script>
<div id="container">
<div id="header"></div>
<p> How to explain privilege to those who do not see it? </p>
<div class="fb-login-button" data-width="" data-size="large" data-button-type="continue_with" data-auto-logout-link="false" data-use-continue-as="true"></div>
<div id="board"></div>
<div id="footer"></div>
</div>
</body>
</html>