-
Notifications
You must be signed in to change notification settings - Fork 0
Expand file tree
/
Copy pathindex.html
More file actions
29 lines (24 loc) · 749 Bytes
/
index.html
File metadata and controls
29 lines (24 loc) · 749 Bytes
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
<!DOCTYPE html>
<html>
<head>
<title>Facebook</title>
</head>
<body>
<div id="fb-root"></div>
<script type="text/javascript" src="js/fb.js"></script>
<a id="login" href="">Login</a>
<div id="wall"></div>
<!-- Grab Google CDN's jQuery, with a protocol relative URL; fall back to local if offline -->
<script src="//ajax.googleapis.com/ajax/libs/jquery/1.7.1/jquery.min.js"></script>
<script>window.jQuery || document.write('<script src="js/libs/jquery-1.7.1.min.js"><\/script>')</script>
<script type="text/javascript">
$(function(){
$('#login').on('click',function(){
FB.login(function(response) {
}, {scope: 'friends_relationships'});
return false;
});
});
</script>
</body>
</html>