forked from Whelton/Gramgrab
/
index.php
252 lines (243 loc) · 17.6 KB
/
index.php
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
92
93
94
95
96
97
98
99
100
101
102
103
104
105
106
107
108
109
110
111
112
113
114
115
116
117
118
119
120
121
122
123
124
125
126
127
128
129
130
131
132
133
134
135
136
137
138
139
140
141
142
143
144
145
146
147
148
149
150
151
152
153
154
155
156
157
158
159
160
161
162
163
164
165
166
167
168
169
170
171
172
173
174
175
176
177
178
179
180
181
182
183
184
185
186
187
188
189
190
191
192
193
194
195
196
197
198
199
200
201
202
203
204
205
206
207
208
209
210
211
212
213
214
215
216
217
218
219
220
221
222
223
224
225
226
227
228
229
230
231
232
233
234
235
236
237
238
239
240
241
242
243
244
245
246
247
248
249
250
251
252
<!doctype html>
<!--[if lt IE 7]> <html class="no-js lt-ie9 lt-ie8 lt-ie7" lang="en"> <![endif]-->
<!--[if IE 7]> <html class="no-js lt-ie9 lt-ie8" lang="en"> <![endif]-->
<!--[if IE 8]> <html class="no-js lt-ie9" lang="en"> <![endif]-->
<!--[if gt IE 8]><!--> <html class="no-js" lang="en"> <!--<![endif]-->
<head>
<meta charset="utf-8">
<meta http-equiv="X-UA-Compatible" content="IE=edge,chrome=1">
<title>GramGrab - Instagram viewing and downloading tool</title>
<meta name="description" content="Easily view and download all your Instgrams pics in a kick ass fashion!">
<meta name="viewport" content="width=device-width">
<link rel="stylesheet" href="css/style.css">
<script src="js/libs/modernizr-2.5.3.min.js"></script>
</head>
<body>
<!--[if lt IE 7]><p class=chromeframe>Your browser is <em>ancient!</em> <a href="http://browsehappy.com/">Upgrade to a different browser</a> or <a href="http://www.google.com/chromeframe/?redirect=true">install Google Chrome Frame</a> to experience this site.</p><![endif]-->
<a href="http://github.com/jwhelton/gramgrab"><img style="position: absolute; top: 0; right: 0; border: 0;" src="https://a248.e.akamai.net/assets.github.com/img/e6bef7a091f5f3138b8cd40bc3e114258dd68ddf/687474703a2f2f73332e616d617a6f6e6177732e636f6d2f6769746875622f726962626f6e732f666f726b6d655f72696768745f7265645f6161303030302e706e67" alt="Fork me on GitHub"></a>
<header>
<div id="inner">
<div id="instruct"></div>
<img src="img/logo.png" class="logo" />
<div class="follow">
<a href="https://twitter.com/jwhelton" class="twitter-follow-button" data-show-count="false">Follow @jwhelton</a>
<script>!function(d,s,id){var js,fjs=d.getElementsByTagName(s)[0];if(!d.getElementById(id)){js=d.createElement(s);js.id=id;js.src="//platform.twitter.com/widgets.js";fjs.parentNode.insertBefore(js,fjs);}}(document,"script","twitter-wjs");</script>
</div>
<div class="tweet">
<a href="https://twitter.com/share" class="twitter-share-button" data-url="http://gramgrab.com" data-text="Awesome Instagram pic viewing and saving tool" data-via="jwhelton">Tweet</a>
<script>!function(d,s,id){var js,fjs=d.getElementsByTagName(s)[0];if(!d.getElementById(id)){js=d.createElement(s);js.id=id;js.src="//platform.twitter.com/widgets.js";fjs.parentNode.insertBefore(js,fjs);}}(document,"script","twitter-wjs");</script>
</div>
<div class="like">
<iframe src="//www.facebook.com/plugins/like.php?href=http%3A%2F%2Fgramgrab.com&send=false&layout=box_count&width=450&show_faces=false&action=like&colorscheme=light&font&height=90&appId=162166313824216" scrolling="no" frameborder="0" style="border:none; overflow:hidden; width:60px; height:90px;" allowTransparency="true"></iframe>
</div>
</div>
</header>
<div id="main">
<div id="welcome">
<div class="login_button"><a href="https://instagram.com/oauth/authorize/?client_id=client_id&redirect_uri=redirect_uri&response_type=code"><img src="img/login.png" /></a></div>
</div>
<div class="gram">
<img src="http://distilleryimage0.instagram.com/21b528a482a611e18bb812313804a181_6.jpg" class="image" />
<input type="hidden" value="http://distilleryimage0.instagram.com/21b528a482a611e18bb812313804a181_7.jpg" class="url"/>
<div class="dim"></div>
<div class="meta">
<div class="caption">Hackity hack</div>
<div class="likes">Likes: 2</div>
<div class="comments">Comments: 0</div>
<div class="filter">Filter: X-Pro II</div>
<div class="created"><a href="http://instagr.am/p/JOCwrhC-tk/" TARGET="_blank">10/4/12 43:01</a></div>
</div>
</div><div class="gram">
<img src="http://distilleryimage7.instagram.com/b0de6af281d611e18bb812313804a181_6.jpg" class="image" />
<input type="hidden" value="http://distilleryimage7.instagram.com/b0de6af281d611e18bb812313804a181_7.jpg" class="url"/>
<div class="dim"></div>
<div class="meta">
<div class="caption">No Caption</div>
<div class="likes">Likes: 2</div>
<div class="comments">Comments: 2</div>
<div class="filter">Filter: Lo-fi</div>
<div class="created"><a href="http://instagr.am/p/JLY0zui-kP/" TARGET="_blank">9/4/12 58:00</a></div>
</div>
</div><div class="gram">
<img src="http://distilleryimage8.instagram.com/e0cbe95481ba11e180c9123138016265_6.jpg" class="image" />
<input type="hidden" value="http://distilleryimage8.instagram.com/e0cbe95481ba11e180c9123138016265_7.jpg" class="url"/>
<div class="dim"></div>
<div class="meta">
<div class="caption">No Caption</div>
<div class="likes">Likes: 1</div>
<div class="comments">Comments: 0</div>
<div class="filter">Filter: Valencia</div>
<div class="created"><a href="http://instagr.am/p/JLCCnji-nk/" TARGET="_blank">8/4/12 39:21</a></div>
</div>
</div><div class="gram">
<img src="http://distilleryimage4.instagram.com/a50df368810511e181bd12313817987b_6.jpg" class="image" />
<input type="hidden" value="http://distilleryimage4.instagram.com/a50df368810511e181bd12313817987b_7.jpg" class="url"/>
<div class="dim"></div>
<div class="meta">
<div class="caption">No Caption</div>
<div class="likes">Likes: 4</div>
<div class="comments">Comments: 1</div>
<div class="filter">Filter: Earlybird</div>
<div class="created"><a href="http://instagr.am/p/JItkxQi-sE/" TARGET="_blank">8/4/12 01:00</a></div>
</div>
</div><div class="gram">
<img src="http://distilleryimage7.instagram.com/439188c280d611e1989612313815112c_6.jpg" class="image" />
<input type="hidden" value="http://distilleryimage7.instagram.com/439188c280d611e1989612313815112c_7.jpg" class="url"/>
<div class="dim"></div>
<div class="meta">
<div class="caption">My friends rock</div>
<div class="likes">Likes: 2</div>
<div class="comments">Comments: 0</div>
<div class="filter">Filter: Rise</div>
<div class="created"><a href="http://instagr.am/p/JIGwpqi-qP/" TARGET="_blank">7/4/12 22:18</a></div>
</div>
</div><div class="gram">
<img src="http://distilleryimage6.instagram.com/8e7aae6880b811e19e4a12313813ffc0_6.jpg" class="image" />
<input type="hidden" value="http://distilleryimage6.instagram.com/8e7aae6880b811e19e4a12313813ffc0_7.jpg" class="url"/>
<div class="dim"></div>
<div class="meta">
<div class="caption">No Caption</div>
<div class="likes">Likes: 3</div>
<div class="comments">Comments: 1</div>
<div class="filter">Filter: Rise</div>
<div class="created"><a href="http://instagr.am/p/JHubIPC-gm/" TARGET="_blank">7/4/12 49:14</a></div>
</div>
</div><div class="gram">
<img src="http://distilleryimage1.instagram.com/349bf23c80b611e1abb01231381b65e3_6.jpg" class="image" />
<input type="hidden" value="http://distilleryimage1.instagram.com/349bf23c80b611e1abb01231381b65e3_7.jpg" class="url"/>
<div class="dim"></div>
<div class="meta">
<div class="caption">Found one of them "Sea Computers"</div>
<div class="likes">Likes: 5</div>
<div class="comments">Comments: 0</div>
<div class="filter">Filter: Lo-fi</div>
<div class="created"><a href="http://instagr.am/p/JHsf3eC-gF/" TARGET="_blank">7/4/12 33:14</a></div>
</div>
</div><div class="gram">
<img src="http://distilleryimage4.s3.amazonaws.com/8e29b49c802f11e1989612313815112c_6.jpg" class="image" />
<input type="hidden" value="http://distilleryimage4.s3.amazonaws.com/8e29b49c802f11e1989612313815112c_7.jpg" class="url"/>
<div class="dim"></div>
<div class="meta">
<div class="caption">Hey look it's @RDbeccaX</div>
<div class="likes">Likes: 1</div>
<div class="comments">Comments: 1</div>
<div class="filter">Filter: Sutro</div>
<div class="created"><a href="http://instagr.am/p/JF-MUYC-tY/" TARGET="_blank">6/4/12 29:22</a></div>
</div>
</div><div class="gram">
<img src="http://distilleryimage0.s3.amazonaws.com/ea886f407f2f11e18cf91231380fd29b_6.jpg" class="image" />
<input type="hidden" value="http://distilleryimage0.s3.amazonaws.com/ea886f407f2f11e18cf91231380fd29b_7.jpg" class="url"/>
<div class="dim"></div>
<div class="meta">
<div class="caption">I really gotta stop photoshop the results of conversations with my friends</div>
<div class="likes">Likes: 12</div>
<div class="comments">Comments: 2</div>
<div class="filter">Filter: Lo-fi</div>
<div class="created"><a href="http://instagr.am/p/JCsxdpC-nI/" TARGET="_blank">5/4/12 59:15</a></div>
</div>
</div><div class="gram">
<img src="http://distilleryimage0.s3.amazonaws.com/7db3ecfc7e7e11e1ab011231381052c0_6.jpg" class="image" />
<input type="hidden" value="http://distilleryimage0.s3.amazonaws.com/7db3ecfc7e7e11e1ab011231381052c0_7.jpg" class="url"/>
<div class="dim"></div>
<div class="meta">
<div class="caption">Leaving Arizona</div>
<div class="likes">Likes: 3</div>
<div class="comments">Comments: 0</div>
<div class="filter">Filter: X-Pro II</div>
<div class="created"><a href="http://instagr.am/p/JAbbRti-uw/" TARGET="_blank">4/4/12 49:18</a></div>
</div>
</div><div class="gram">
<img src="http://distilleryimage10.s3.amazonaws.com/9a8fec2a7d5911e1af7612313813f8e8_6.jpg" class="image" />
<input type="hidden" value="http://distilleryimage10.s3.amazonaws.com/9a8fec2a7d5911e1af7612313813f8e8_7.jpg" class="url"/>
<div class="dim"></div>
<div class="meta">
<div class="caption">Here's @paul_irish killing it on the mechanical bull</div>
<div class="likes">Likes: 5</div>
<div class="comments">Comments: 0</div>
<div class="filter">Filter: Lo-fi</div>
<div class="created"><a href="http://instagr.am/p/I8rfjGi-o2/" TARGET="_blank">3/4/12 52:07</a></div>
</div>
</div><div class="gram">
<img src="http://distilleryimage6.s3.amazonaws.com/4c0aab507c9e11e1af7612313813f8e8_6.jpg" class="image" />
<input type="hidden" value="http://distilleryimage6.s3.amazonaws.com/4c0aab507c9e11e1af7612313813f8e8_7.jpg" class="url"/>
<div class="dim"></div>
<div class="meta">
<div class="caption">Under the starry sky</div>
<div class="likes">Likes: 1</div>
<div class="comments">Comments: 0</div>
<div class="filter">Filter: Earlybird</div>
<div class="created"><a href="http://instagr.am/p/I6SDSCi-vy/" TARGET="_blank">2/4/12 31:09</a></div>
</div>
</div><div class="gram">
<img src="http://distilleryimage5.s3.amazonaws.com/7dee082a7be911e1a87612313804ec91_6.jpg" class="image" />
<input type="hidden" value="http://distilleryimage5.s3.amazonaws.com/7dee082a7be911e1a87612313804ec91_7.jpg" class="url"/>
<div class="dim"></div>
<div class="meta">
<div class="caption">Onwards</div>
<div class="likes">Likes: 7</div>
<div class="comments">Comments: 1</div>
<div class="filter">Filter: X-Pro II</div>
<div class="created"><a href="http://instagr.am/p/I3974uC-vR/" TARGET="_blank">1/4/12 57:11</a></div>
</div>
</div><div class="gram">
<img src="http://distilleryimage1.s3.amazonaws.com/cb4825d67a9c11e181bd12313817987b_6.jpg" class="image" />
<input type="hidden" value="http://distilleryimage1.s3.amazonaws.com/cb4825d67a9c11e181bd12313817987b_7.jpg" class="url"/>
<div class="dim"></div>
<div class="meta">
<div class="caption">No Caption</div>
<div class="likes">Likes: 1</div>
<div class="comments">Comments: 2</div>
<div class="filter">Filter: Earlybird</div>
<div class="created"><a href="http://instagr.am/p/IztY7_C-ox/" TARGET="_blank">30/3/12 16:20</a></div>
</div>
</div><div class="gram">
<img src="http://distilleryimage2.s3.amazonaws.com/d9ee2e367a6b11e1abb01231381b65e3_6.jpg" class="image" />
<input type="hidden" value="http://distilleryimage2.s3.amazonaws.com/d9ee2e367a6b11e1abb01231381b65e3_7.jpg" class="url"/>
<div class="dim"></div>
<div class="meta">
<div class="caption">At CorkBIC's entrepreneur experience event in Kinsale</div>
<div class="likes">Likes: 1</div>
<div class="comments">Comments: 0</div>
<div class="filter">Filter: Lo-fi</div>
<div class="created"><a href="http://instagr.am/p/IzFS7Ui-hq/" TARGET="_blank">30/3/12 25:14</a></div>
</div>
</div><div class="gram">
<img src="http://distilleryimage4.s3.amazonaws.com/2dfc58567a0611e19e4a12313813ffc0_6.jpg" class="image" />
<input type="hidden" value="http://distilleryimage4.s3.amazonaws.com/2dfc58567a0611e19e4a12313813ffc0_7.jpg" class="url"/>
<div class="dim"></div>
<div class="meta">
<div class="caption">The most freakin terrifying building I pass every night after work</div>
<div class="likes">Likes: 11</div>
<div class="comments">Comments: 2</div>
<div class="filter">Filter: Sutro</div>
<div class="created"><a href="http://instagr.am/p/IxyAZ1i-k4/" TARGET="_blank">30/3/12 17:02</a></div>
</div>
</div>
</div>
<div id="popular">
<div class="bg"></div>
<div class="title">@JWhelton's Most Popular Instagram</div>
<div class="likes">Likes: 100</div>
<div class="comments">Comments: 200</div>
<div class="filter">Filter: Lo-Fi</div>
<div class="date">Taken: 1/1/11 11:11</div>
<div class="gram"><img src="http://distilleryimage0.s3.amazonaws.com/ea886f407f2f11e18cf91231380fd29b_6.jpg" class="image" /></div>
<div class="tweet"><a href="https://twitter.com/intent/tweet?related=jwhelton&text=My%20most%20popular%20Instagram%3A%20http%3A%2F%2Finstagr.am%2Fp%2FJCsxdpC-nI%2F%20with%20100%20likes%2C%20200%20comments.%20Find%20yours%20here%20http%3A%2F%2Fgramgrab.com "style="color: #fff; font-size:25px;">Click here to tweet this with link to the Instagram...</a></div>
</div>
<footer>
<div class="inner">
Hacked togther in a couple of hours by <a href="http://twitter.com/jwhelton" style="color: #fff; text-decoration:underline;">@JWhelton</a> while he had the flu. <br />This site isn't gonna exit for $1 Billion, but please buy me some chicken soup: <a href="https://www.paypal.com/cgi-bin/webscr?cmd=_donations&business=GAMRXNR9T2PJG&lc=IE&item_name=James%20Whelton%20Chicken%20Soup%20Fund¤cy_code=EUR&bn=PP%2dDonationsBF%3abtn_donate_SM%2egif%3aNonHosted" style="color: #fff; text-decoration:underline;">Donate on PayPal</a>
</div>
</footer>
<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 src="js/plugins.js"></script>
<script src="js/script.js"></script>
<script>
var _gaq=[['_setAccount','UA-30729619-1'],['_trackPageview']];
(function(d,t){var g=d.createElement(t),s=d.getElementsByTagName(t)[0];
g.src=('https:'==location.protocol?'//ssl':'//www')+'.google-analytics.com/ga.js';
s.parentNode.insertBefore(g,s)}(document,'script'));
</script>
</body>
</html>