/
index.html
48 lines (42 loc) · 1.13 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
<!DOCTYPE html>
<html lang="en">
<head>
<meta charset=utf-8 />
<title>Facebook Event Picker</title>
</head>
<body>
facebook event picker
<input id="fbep-pull" type="button" value="Pull My Facebook Events" />
<div id="fbep-container">
<ul id="fbep-eventlist">
</ul>
<input type="button" id="fbep-toCSV" value="Output as CSV" /><br />
<textarea id="fbep-CSVoutput" row="40" col="200" style="width:800px;height:100px;"></textarea>
</div>
<div id="fb-root"></div>
<script src="http://ajax.googleapis.com/ajax/libs/jquery/1.4/jquery.min.js"></script>
<script src="js/fbeventpicker.js"></script>
<script>
window.fbAsyncInit = function() {
FB.init({
appId: '131096923589751',
status: true,
cookie: true,
xfbml: false
});
jQuery(function(){
$('#fbep-pull').click(function(){
window.fbeventpicker.init(FB);
return false;
});
});
};
(function(d) {
var e = d.createElement('script');
e.async = true;
e.src = d.location.protocol + '//connect.facebook.net/en_US/all.js';
d.getElementById('fb-root').appendChild(e);
}(document));
</script>
</body>
</html>