forked from facebookarchive/powereditor
-
Notifications
You must be signed in to change notification settings - Fork 1
/
index.html
24 lines (24 loc) · 788 Bytes
/
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
<!DOCTYPE html>
<html>
<head>
<meta http-equiv="Content-type" content="text/html; charset=utf-8">
<title>Power Editor</title>
</head>
<body id="facebook">
<script type="text/javascript" charset="utf-8">Env = {gk:{}};__DEV__=1;</script>
<div id="fb-root"></div>
<script src="//connect.facebook.net/en_US/api/init.js"></script>
<script src="/app.js" type="text/javascript"></script>
<script>
var appId = location.host.match(/localhost/) ? '145628035517241' : '151391901605088';
FB.init({appId: appId, xfbml: false });
FB.getLoginStatus(function(response) {
if (!response.perms) {
location.href = '/login.html';
} else {
App.init(FB.getSession().uid);
}
});
</script>
</body>
</html>