-
Notifications
You must be signed in to change notification settings - Fork 11
/
Copy pathindex.html
53 lines (44 loc) · 1.44 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
<!DOCTYPE html>
<html>
<head>
<meta http-equiv="content-type" content="text/html;charset=utf-8" />
<meta name="viewport" content="width=device-width initial-scale=1.0 maximum-scale=1.0 user-scalable=yes" />
<title>jQuery Google Plus Stream</title>
<!-- Include Font Awesome v4.1.0 -->
<link href="//cdnjs.cloudflare.com/ajax/libs/font-awesome/4.7.0/css/font-awesome.min.css" rel="stylesheet">
<!-- Custom your style -->
<link type="text/css" rel="stylesheet" href="css/GPstream.css" />
<!-- Demo -->
<link href="//fonts.googleapis.com/css?family=Roboto:100italic,100,300italic,300,400italic,400,500italic,500,700italic,700,900italic,900" rel="stylesheet">
<style>
body {
background: #eee;
font-family: "Roboto", "Helvetica", "Arial", sans-serif;
font-weight: 300;
line-height: 24px;
}
.demo {
width: auto;
min-width: 320px;
max-width: 500px;
margin: 20px auto
}
</style>
</head>
<body>
<div class="demo">
<!-- Display all google+ timeline -->
<div id="GPstream"></div>
</div>
<!-- Include jQuery -->
<script src="//code.jquery.com/jquery-2.1.1.min.js"></script>
<!-- Include jquery.ibacor-gp-streaming -->
<script src="js/GPstream.js"></script>
<script>
GPstream({
user: '+RockstarGames', // +username or userID
key: 'API KEY' // => you can get it in https://developers.google.com/api-client-library/python/guide/aaa_apikeys
});
</script>
</body>
</html>