-
Notifications
You must be signed in to change notification settings - Fork 129
/
index.php
executable file
·938 lines (934 loc) · 62.1 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
253
254
255
256
257
258
259
260
261
262
263
264
265
266
267
268
269
270
271
272
273
274
275
276
277
278
279
280
281
282
283
284
285
286
287
288
289
290
291
292
293
294
295
296
297
298
299
300
301
302
303
304
305
306
307
308
309
310
311
312
313
314
315
316
317
318
319
320
321
322
323
324
325
326
327
328
329
330
331
332
333
334
335
336
337
338
339
340
341
342
343
344
345
346
347
348
349
350
351
352
353
354
355
356
357
358
359
360
361
362
363
364
365
366
367
368
369
370
371
372
373
374
375
376
377
378
379
380
381
382
383
384
385
386
387
388
389
390
391
392
393
394
395
396
397
398
399
400
401
402
403
404
405
406
407
408
409
410
411
412
413
414
415
416
417
418
419
420
421
422
423
424
425
426
427
428
429
430
431
432
433
434
435
436
437
438
439
440
441
442
443
444
445
446
447
448
449
450
451
452
453
454
455
456
457
458
459
460
461
462
463
464
465
466
467
468
469
470
471
472
473
474
475
476
477
478
479
480
481
482
483
484
485
486
487
488
489
490
491
492
493
494
495
496
497
498
499
500
501
502
503
504
505
506
507
508
509
510
511
512
513
514
515
516
517
518
519
520
521
522
523
524
525
526
527
528
529
530
531
532
533
534
535
536
537
538
539
540
541
542
543
544
545
546
547
548
549
550
551
552
553
554
555
556
557
558
559
560
561
562
563
564
565
566
567
568
569
570
571
572
573
574
575
576
577
578
579
580
581
582
583
584
585
586
587
588
589
590
591
592
593
594
595
596
597
598
599
600
601
602
603
604
605
606
607
608
609
610
611
612
613
614
615
616
617
618
619
620
621
622
623
624
625
626
627
628
629
630
631
632
633
634
635
636
637
638
639
640
641
642
643
644
645
646
647
648
649
650
651
652
653
654
655
656
657
658
659
660
661
662
663
664
665
666
667
668
669
670
671
672
673
674
675
676
677
678
679
680
681
682
683
684
685
686
687
688
689
690
691
692
693
694
695
696
697
698
699
700
701
702
703
704
705
706
707
708
709
710
711
712
713
714
715
716
717
718
719
720
721
722
723
724
725
726
727
728
729
730
731
732
733
734
735
736
737
738
739
740
741
742
743
744
745
746
747
748
749
750
751
752
753
754
755
756
757
758
759
760
761
762
763
764
765
766
767
768
769
770
771
772
773
774
775
776
777
778
779
780
781
782
783
784
785
786
787
788
789
790
791
792
793
794
795
796
797
798
799
800
801
802
803
804
805
806
807
808
809
810
811
812
813
814
815
816
817
818
819
820
821
822
823
824
825
826
827
828
829
830
831
832
833
834
835
836
837
838
839
840
841
842
843
844
845
846
847
848
849
850
851
852
853
854
855
856
857
858
859
860
861
862
863
864
865
866
867
868
869
870
871
872
873
874
875
876
877
878
879
880
881
882
883
884
885
886
887
888
889
890
891
892
893
894
895
896
897
898
899
900
901
902
903
904
905
906
907
908
909
910
911
912
913
914
915
916
917
918
919
920
921
922
923
924
925
926
927
928
929
930
931
932
933
934
935
936
937
938
<?php
$show_account = true;
$cdn_server_url = "//cdnjs.cloudflare.com/ajax";
$app_version = '2.6';
?>
<!DOCTYPE html>
<html lang="en">
<head>
<meta charset="utf-8">
<!-- Global site tag (gtag.js) - Google Analytics -->
<script async src="https://www.googletagmanager.com/gtag/js?id=UA-38328701-1"></script>
<script>
window.dataLayer = window.dataLayer || [];
function gtag() {
dataLayer.push(arguments);
}
gtag('js', new Date());
gtag('config', 'UA-38328701-1');
</script>
<meta charset="utf-8">
<meta name="robots" content="noindex, nofollow">
<meta name="viewport" content="width=device-width, initial-scale=1">
<meta name="description" content="Instagram Data Scraper | Web Scraper | Post Scraper | Scraper | Content Scraper | Super Scraper | Page Scraper | Scarpe Instagram Data">
<meta name="keywords" content="Instagram Data Scraper, Instagram Scraper, Instagram Content Scraper, Instagram Web Scraper">
<meta name="author" content="Neeraj Singh">
<title>Instagram | Instagram Data Scraper | Data Scraper | Scrape Instagram Data</title>
<!--[if lt IE 9]>
<script src="https://oss.maxcdn.com/libs/html5shiv/3.7.0/html5shiv.js"></script>
<script src="https://oss.maxcdn.com/libs/respond.js/1.4.2/respond.min.js"></script>
<![endif]-->
<meta name="viewport" content="width=device-width, initial-scale=1">
<link type="text/css" href="<?php echo $cdn_server_url; ?>/libs/twitter-bootstrap/3.3.0/css/bootstrap.min.css" rel="stylesheet" />
<link type="text/css" href="<?php echo $cdn_server_url; ?>/libs/font-awesome/4.7.0/css/font-awesome.min.css" rel="stylesheet" />
<link type="text/css" href="<?php echo $cdn_server_url; ?>/libs/jqcloud/1.0.4/jqcloud.min.css" rel="stylesheet" />
<link type="text/css" href="./public/core/css/core.min.css" rel="stylesheet">
<style>
.se-pre-con {
position: fixed;
left: 0px;
top: 0px;
width: 100%;
height: 100%;
z-index: 9999;
background: url(./public/core/images/loader.gif) center no-repeat #fff;
}
</style>
</head>
<body>
<div id="popup" style="display:none" class="alert alert-warning text-center" role="alert"> <button type="button" class="close" data-dismiss="alert">×</button> <strong>Namaste!!</strong> If you are facing any error, simple reload the page else please open an issue ticket <a class="alert-link" href="https://github.com/neerajsinghsonu/Instagram-Data-Scraper" target="_new">Github</a>.<br />Thank you very much.. you are wonderful! :) </div>
<div class="se-pre-con"></div>
<div class="wrapper">
<div class="navbar navbar-default navbar-static-top">
<div class="container-fluid">
<div class="navbar-header">
<button type="button" class="navbar-toggle" data-toggle="collapse" data-target=".navbar-collapse">
<span class="icon-bar"></span>
<span class="icon-bar"></span>
<span class="icon-bar"></span>
</button>
<a class="navbar-brand" href="javascript:void(0);">
<span>
<img width="30px" src="./public/core/images/logo.png">
</span>Instagram Data Scraper <?= $app_version; ?>
</a>
</div>
<div class="navbar-collapse collapse">
<ul class="nav navbar-nav navbar-right">
<li>
<a href="javascript:void(0);">
<e aria-expanded="false" data-placement="bottom" id="CountSearchAccounts" rel="tooltip" data-original-title="Total Account Links"> <i class="txt-blue fa fa-link"> </i> <span class="badge badge-pill"> 0 </span></e>
</a>
</li>
<li>
<a href="javascript:void(0);">
<e aria-expanded="false" data-placement="bottom" id="CountSearchHashtags" rel="tooltip" data-original-title="Total Hashtags"> <i class="txt-important fa fa-hashtag"> </i> <span class="badge badge-pill"> 0 </span></e>
</a>
</li>
<li>
<a href="javascript:void(0);">
<e aria-expanded="false" data-placement="bottom" id="SumOfTotalLikes" rel="tooltip" data-original-title="Total likes"> <i class="txt-pink fa fa-heart"> </i> <span class="badge badge-pill"> 0 </span></e>
</a>
</li>
<li>
<a href="javascript:void(0);">
<e aria-expanded="false" data-placement="bottom" id="SumOfVideoViews" rel="tooltip" data-original-title="Total Video Views"> <i class="txt-warning fa fa-video-camera"> </i> <span class="badge badge-pill"> 0 </span></e>
</a>
</li>
<li>
<a href="javascript:void(0);">
<e aria-expanded="false" data-placement="bottom" id="SumOfTotalComments" rel="tooltip" data-original-title="Total comments"> <i class="txt-info fa fa-comments"> </i> <span class="badge badge-pill"> 0 </span></e>
</a>
</li>
<li>
<a href="javascript:void(0);">
<e aria-expanded="false" data-placement="bottom" id="SumOfTotalShare" rel="tooltip" title="Total Keywords"> <i class="txt-success fa fa-users"> </i> <span class="badge badge-pill"> 0 </span></e>
</a>
</li>
<li>
<a href="javascript:void(0);">
<e aria-expanded="false" data-placement="bottom" id="SumOfTotalPosts" rel="tooltip" title="Total posts"> <i class="txt-important fa fa-bullhorn"> </i> <span class="badge badge-pill"> 0 </span> </e>
</a>
</li>
</ul>
<form class="navbar-form">
<div class="form-group" style="display:inline;">
<div class="input-group" style="display:table;">
<input class="form-control" id="txtSearch" name="txtSearch" placeholder="Use single space to seprate multiple keyword as #hashtag or @account or both..." autocomplete="off" autofocus="autofocus" type="text" value="@lionking #Covid19 @demimoore #instagramreels @evalongoria" />
<span id="btnSearch" class="input-group-addon" style="width:1%; cursor: pointer;">
<i class="glyphicon glyphicon-search"></i>
</span>
</div>
</div>
</form>
</div>
<!--/.nav-collapse -->
</div>
</div>
<div class="row error-handling hide">
<div class="container-fluid">
</div>
</div>
<!-- Top Nav Bar -->
<!-- preloader -->
<div class="container preloader hide">
<div class="progress">
<div class="progress-bar progress-bar-striped active" role="progressbar" aria-valuenow="100" aria-valuemin="0" aria-valuemax="100" style="width: 100%">
<span>Please wait<span class="dotdotdot"></span></span>
</div>
</div>
</div>
<!-- End preloader -->
<div id="wrapper">
<div class="main-container">
<!-- Form Inline -->
<div class="container-fluid">
<div class="row">
<div class="panel panel-default">
<div class="panel-heading clearfix">
<i class="fa fa-dashboard"></i> User @account details
<div class="btn-group pull-right">
<a href="#" data-toggle="modal" data-target="#insta-session-id" class="btn btn-default btn-sm">Set Session</a>
<a href="javascript:void(0);" data-val='account-basic' class="account-filters btn btn-default btn-sm active">Basic Details</a>
<a href="javascript:void(0);" data-val='account-full' class="account-filters btn btn-default btn-sm">Full Details</a>
<a href="#" class="btn btn-danger btn-sm" onclick="javascript:alert('Close, the browser and cookie will be deleted automatically.');">Clear Session</a>
<input type="hidden" value="account-basic" id="info-toggle" name="info-toggle" />
</div>
</div>
<div class="panel-body">
<!-- Social Details -->
<div class="container-fluid">
<div class="col col-md-12">
<div class="row">
<div class="modal-body">
<div id="search-form-section">
<!-- section -->
</div>
</div>
</div>
</div>
</div>
<!-- End Social Details -->
</div>
</div>
</div>
<div class="row">
<div class="panel panel-default">
<div class="panel-heading">
<i class="fa fa-pie-chart"></i> Hashworld graph
</div>
<div class="panel-body">
<!-- Social Details -->
<div class="container-fluid">
<div class="col col-md-12">
<div class="row">
<div class="modal-body">
<div id="search-form-chart-section">
<!-- section -->
</div>
</div>
</div>
</div>
</div>
<!-- End Social Details -->
</div>
</div>
</div>
</div>
<!-- Start Table Section-->
<?php if ($show_account) : ?>
<div class="container-fluid">
<div class="row">
<div class="panel panel-default">
<div class="panel-heading">
<i class="fa fa-user-circle"></i> Instagram account details
</div>
<div class="panel-body">
<!-- Social Details -->
<div class="container-fluid">
<div class="row">
<div class="col-md-6"></div>
<div class="col-md-6 text-right">
<a data-id="search-account-table" href="javascript:void(0);" class="btn btn-default download"><i class="fa fa-download"></i> Download Data in Excel</a>
</div>
</div>
<div class="row">
<div class="col-md-12">
<div class="table-responsive">
<table id="search-account-table" class="table table-bordred table-striped">
<thead>
<th>
<input type="checkbox" id="checkall" />
</th>
<th>Link</th>
<th>Biography</th>
<th>Followers</th>
<th>Following</th>
<th>Posts</th>
<th>Likes</th>
<th>Comments</th>
<th>Views</th>
<th>Actions</th>
</thead>
<tbody></tbody>
</table>
<div class="clearfix"></div>
</div>
</div>
</div>
</div>
<div class="modal fade" id="edit" tabindex="-1" role="dialog" aria-labelledby="edit" aria-hidden="true">
<div class="modal-dialog">
<div class="modal-content">
<div class="modal-header">
<button type="button" class="close" data-dismiss="modal" aria-hidden="true"><span class="glyphicon glyphicon-remove" aria-hidden="true"></span></button>
<h4 class="modal-title custom_align" id="Heading">Edit Your Detail</h4>
</div>
<div class="modal-body">
<div class="form-group">
<input class="form-control " type="text" placeholder="World">
</div>
<div class="form-group">
<input class="form-control " type="text" placeholder="is">
</div>
<div class="form-group">
<textarea rows="2" class="form-control" placeholder="Beautiful"></textarea>
</div>
</div>
<div class="modal-footer ">
<button type="button" class="btn btn-warning btn-lg" style="width: 100%;"><span class="glyphicon glyphicon-ok-sign"></span> Update</button>
</div>
</div>
<!-- /.modal-content -->
</div>
<!-- /.modal-dialog -->
</div>
<div class="modal fade" id="delete" tabindex="-1" role="dialog" aria-labelledby="edit" aria-hidden="true">
<div class="modal-dialog">
<div class="modal-content">
<div class="modal-header">
<button type="button" class="close" data-dismiss="modal" aria-hidden="true"><span class="glyphicon glyphicon-remove" aria-hidden="true"></span></button>
<h4 class="modal-title custom_align" id="Heading">Delete this entry</h4>
</div>
<div class="modal-body">
<div class="alert alert-danger"><span class="glyphicon glyphicon-warning-sign"></span> Are you sure you want to delete this Record?</div>
</div>
<div class="modal-footer ">
<button type="button" class="btn btn-success"><span class="glyphicon glyphicon-ok-sign"></span> Yes</button>
<button type="button" class="btn btn-default" data-dismiss="modal"><span class="glyphicon glyphicon-remove"></span> No</button>
</div>
</div>
<!-- /.modal-content -->
</div>
<!-- /.modal-dialog -->
</div>
<!-- End Social Details -->
</div>
</div>
</div>
</div>
<?php endif ?>
<!-- End Table Section-->
<!-- End Form In line -->
<div class="container-fluid">
<div class="row">
<div class="panel panel-default">
<div class="panel-heading">
<i class="fa fa-list-ul"></i> EmoTrends (in development)
</div>
<div class="panel-body">
<!-- Social Details -->
<div class="container-fluid">
<div class="col col-md-12">
<div class="row text-center">
<div class="col col-md-6">
<h4>Trending Now</h4>
<div class="wow jqcloud"></div>
</div>
<div class="col col-md-6">
<h4>Top Search</h4>
<div class="oh jqcloud"></div>
</div>
</div>
</div>
</div>
<!-- End Social Details -->
</div>
</div>
</div>
</div>
<!-- Start Account Analytics -->
<div class="container-fluid">
<div class="row">
<div class="panel panel-default">
<div class="panel-heading">
<i class="fa fa-list-ul"></i> Keywords analytics (in development)
</div>
<div class="panel-body">
<!-- Social Details -->
<div class="container-fluid">
<div class="col col-md-12">
<div class="row">
<div class="col-md-6"></div>
<div class="col-md-6 text-right">
<a data-id="your-table-id-here" href="javascript:void(0);" class="btn btn-default download"><i class="fa fa-download"></i> Download Data in Excel</a>
</div>
</div>
<div class="row">
<div class="col col-md-4">
<h4>Today Stats:</h4> Comments
<span class="pull-right strong">- 15%</span>
<div class="progress">
<div class="progress-bar progress-bar-danger" role="progressbar" aria-valuenow="15" aria-valuemin="0" aria-valuemax="100" style="width:15%">15%</div>
</div>
Likes<span class="pull-right strong">+ 30%</span>
<div class="progress">
<div class="progress-bar progress-bar-success" role="progressbar" aria-valuenow="30" aria-valuemin="0" aria-valuemax="100" style="width:30%">30%</div>
</div>
Views<span class="pull-right strong">+ 8%</span>
<div class="progress">
<div class="progress-bar progress-bar-warning" role="progressbar" aria-valuenow="8" aria-valuemin="0" aria-valuemax="100" style="width:8%">8%</div>
</div>
</div>
<div class="col col-md-4">
<h4>Last 7 Days Stats:</h4> Comments
<span class="pull-right strong">- 15%</span>
<div class="progress">
<div class="progress-bar progress-bar-danger" role="progressbar" aria-valuenow="15" aria-valuemin="0" aria-valuemax="100" style="width:15%">15%</div>
</div>
Likes<span class="pull-right strong">+ 30%</span>
<div class="progress">
<div class="progress-bar progress-bar-success" role="progressbar" aria-valuenow="30" aria-valuemin="0" aria-valuemax="100" style="width:30%">30%</div>
</div>
Views<span class="pull-right strong">+ 8%</span>
<div class="progress">
<div class="progress-bar progress-bar-warning" role="progressbar" aria-valuenow="8" aria-valuemin="0" aria-valuemax="100" style="width:8%">8%</div>
</div>
</div>
<div class="col col-md-4">
<h4>This Month Stats:</h4> Comments
<span class="pull-right strong">+ 45%</span>
<div class="progress">
<div class="progress-bar progress-bar-success" role="progressbar" aria-valuenow="45" aria-valuemin="0" aria-valuemax="100" style="width:45%">45%</div>
</div>
Likes<span class="pull-right strong">+ 57%</span>
<div class="progress">
<div class="progress-bar progress-bar-success" role="progressbar" aria-valuenow="57" aria-valuemin="0" aria-valuemax="100" style="width:57%">57%</div>
</div>
Views<span class="pull-right strong">+ 25%</span>
<div class="progress">
<div class="progress-bar progress-bar-success" role="progressbar" aria-valuenow="25" aria-valuemin="0" aria-valuemax="100" style="width:25%">25%</div>
</div>
</div>
</div>
</div>
</div>
<!-- End Social Details -->
</div>
</div>
</div>
</div>
<!-- End Account Analytics -->
</div>
</div>
<footer class="footer">
<div class="container-fluid">
<div class="col-md-12">
<div class="col-md-6 pull-left">
<a class="label label-danger" href="#" data-toggle="modal" data-target="#console">Debug Console</a> | <a class="label label-success" href="#" data-toggle="modal" data-target="#credit">Credits</a> | <a class="label label-warning" href="#" data-toggle="modal" data-target="#tnc">Terms of Service</a> | <a class="label label-info" href="#" data-toggle="modal" data-target="#tnc">Privacy</a>
</div>
<div class="col-md-6 pull-right text-right">
<p class="muted">© <?php echo date('Y'); ?> Company Name. All rights reserved</p>
</div>
</div>
</div>
</footer>
<!-- Modal SESSION-ID -->
<div class="modal fade" id="insta-session-id" role="dialog">
<div class="modal-dialog modal-lg">
<div class="modal-content">
<div class="modal-header">
<button type="button" class="close" data-dismiss="modal">×</button>
<h4 class="modal-title"><i class="fa fa-instagram"></i> Instagram Session Form</h4>
</div>
<div class="modal-body">
<div class="bs-example">
<div class="panel-group" id="accordion">
<div class="panel panel-default">
<div class="panel-heading">
<a class="text-muted deco-none" data-toggle="collapse" data-parent="#accordion" href="#collapseOne">
<h4 class="panel-title">
A - Paste your Instagram session id here
</h4>
</a>
</div>
<div id="collapseOne" class="panel-collapse collapse in">
<div class="panel-body">
<form class="form-horizontal">
<fieldset>
<div class="form-group">
<div class="col-md-6">
<div class="input-group">
<span class="input-group-addon">Session ID:</span>
<input type="text" class="form-control" name="insta-session-id-val" id="insta-session-id-val" value="" placeholder="Paste Instagram SESSION ID Here">
</div>
</div>
</div>
</fieldset>
</form>
</div>
</div>
</div>
<div class="panel panel-default">
<div class="panel-heading">
<a class="text-muted deco-none" data-toggle="collapse" data-parent="#accordion" href="#collapseTwo">
<h4 class="panel-title">
B - How to get Instagram session id?
</h4>
</a>
</div>
<div id="collapseTwo" class="panel-collapse collapse">
<div class="panel-body">
<div class="panel panel-default">
<div class="panel-heading">
<h5>Q. How to get the Instagram sessionid cookie?</h5>
</div>
<div class="panel-body">
<div class="row">
<ol>
<li>
<p>Open Google Chrome, Firefox, Safari or Edge</p>
</li>
<li>
<p>Open an incognito window in Google Chrome (in Firefox it is called
private window).</p>
</li>
<li>
<p>Go to https://www.instagram.com/</p>
</li>
<li>
<p>Open Development console by doing a right click on the webpage and
select “Inspect” or “Inspect Element” from the menu.
</p>
</li>
<li>
<p>Open a tab with stored page items. That tab called “Storage” in
Firefox, “Application” in Google Chrome and “Debugger” in MS Edge.</p>
</li>
<li>
<p>Click on “Cookies”, then on “https://www.instagram.com/”</p>
</li>
<li>
<p>Find a cookie with the name “sessionid”. Double click on the value
and copy it.</p>
</li>
</ol>
</div>
<hr />
<div class="alert alert-primary">
<strong>Safari:</strong>
If you are not able to see 'Inspect Element' on right click, follow the below instruction to get this enable.<br />
Click on Safari >> Preference >> Advanced >> Show Develop menu in menu bar,
Now you can see 'Inspect Element' on right click.
</div>
<div class="alert alert-primary">
<strong>IE-Edge:</strong>
If you are not able to see 'Inspect element' on right click, follow the below instruction to get this enable.<br />
Click on 3 dots on very right side '...' and click on 'Developer Tools',
Now you can see 'Inspect element' on right click.
</div>
</div>
</div>
</div>
</div>
</div>
<div class="panel panel-default">
<div class="panel-heading">
<a class="text-muted deco-none" data-toggle="collapse" data-parent="#accordion" href="#collapseThree">
<h4 class="panel-title">
C - Screenshot help
</h4>
</a>
</div>
<div id="collapseThree" class="panel-collapse collapse">
<div class="panel-body">
<div id="insta-session-tab">
<ul class="nav nav-tabs">
<li class="active">
<a href="#1" data-toggle="tab"><i class="fa fa-firefox"></i> Firefox</a>
</li>
<li>
<a href="#2" data-toggle="tab"><i class="fa fa-chrome"></i> Chrome</a>
</li>
<li>
<a href="#3" data-toggle="tab"><i class="fa fa-safari"></i> Safari</a>
</li>
<li>
<a href="#4" data-toggle="tab"><i class="fa fa-edge"></i> IE Edge</a>
</li>
</ul>
<div class="tab-content ">
<div class="tab-pane active" id="1">
<img src="./public/core/images/browser-sessionid/Firefox.png" alt="Firefox Instagram Session ID" class="img-responsive">
</div>
<div class="tab-pane" id="2">
<img src="./public/core/images/browser-sessionid/Chrome.png" alt="Chrome Instagram Session ID" class="img-responsive">
</div>
<div class="tab-pane" id="3">
<img src="./public/core/images/browser-sessionid/Safari.png" alt="Safari Instagram Session ID" class="img-responsive">
</div>
<div class="tab-pane" id="4">
<img src="./public/core/images/browser-sessionid/IE-Edge.png" alt="IE-Edge Instagram Session ID" class="img-responsive">
</div>
</div>
<hr />
</div>
</div>
</div>
</div>
</div>
</div>
</div>
<div class="modal-footer">
<button type="button" class="btn btn-default" data-dismiss="modal">Close</button>
</div>
</div>
</div>
</div>
<!-- End - Modal SESSION-ID -->
<!-- Modal Credit -->
<div class="modal fade" id="credit" role="dialog">
<div class="modal-dialog modal-lg">
<div class="modal-content">
<div class="modal-header">
<button type="button" class="close" data-dismiss="modal">×</button>
<h4 class="modal-title"><i class="fa fa-trophy"></i> Real Heroes, Million Thanks</h4>
</div>
<div class="modal-body">
<div class="row">
<div class="col card card-block col-md-4">
<a target="_new" style="margin-top: 15px;" class="navbar-left text-muted" href="https://jquery.com/">
<span><img src="./public/core/images/jQuery.png" /></span> jQuery
</a>
</div>
<div class="col card card-block col-md-4">
<a target="_new" style="margin-top: 15px;" class="navbar-left text-muted" href="http://www.getbootstrap.com">
<span><img src="./public/core/images/bootstrap.png" /></span> Bootstrap
</a>
</div>
<div class="col card card-block col-md-4">
<a target="_new" style="margin-top: 15px;" class="navbar-left text-muted" href="http://www.fontawesome.io">
<span><img src="./public/core/images/font-awesome.png" /></span> Font Awesome
</a>
</div>
<div class="col card card-block col-md-4">
<a target="_new" style="margin-top: 15px;" class="navbar-left text-muted" href="https://www.instagram.com">
<span><img src="./public/core/images/Instagram.png" /></span> Instagram
</a>
</div>
<div class="col card card-block col-md-4">
<a target="_new" style="margin-top: 15px;" class="navbar-left text-muted" href="https://canvasjs.com/">
<span><img src="./public/core/images/canvasjs.png" /></span> Canvas JS
</a>
</div>
<div class="col card card-block col-md-4">
<a target="_new" style="margin-top: 15px;" class="navbar-left text-muted" href="https://mustache.github.io/">
<span><img src="./public/core/images/mustaches.png" /></span> Mustache
</a>
</div>
<div class="col card card-block col-md-4">
<a target="_new" style="margin-top: 15px;" class="navbar-left text-muted" href="https://twitter.github.io/typeahead.js/">
<span><img src="./public/core/images/typeahead.png" /></span> Twitter Typeahead
</a>
</div>
<div class="col card card-block col-md-4">
<a target="_new" style="margin-top: 15px;" class="navbar-left text-muted" href="http://mistic100.github.io/jqcloud/demo.html">
<span><img src="./public/core/images/jQCloud.png" /></span> jQCloud
</a>
</div>
<div class="col card card-block col-md-4">
<a target="_new" style="margin-top: 15px;" class="navbar-left text-muted" href="https://github.com/petewarden/ParallelCurl">
<span><img src="./public/core/images/pw.png" /></span> ParallelCurl - (Pete Warden)
</a>
</div>
<div class="col card card-block col-md-4">
<a target="_new" style="margin-top: 15px;" class="navbar-left text-muted" href="https://github.com/neerajsinghsonu">
<span><img src="./public/core/images/me.png" /></span> Me :|
</a>
</div>
</div>
</div>
<div class="modal-footer">
<button type="button" class="btn btn-default" data-dismiss="modal">Close</button>
</div>
</div>
</div>
</div>
<!-- End Modal Credit -->
<div class="modal fade" id="tnc">
<div class="modal-dialog modal-lg">
<div class="modal-content">
<div class="modal-header">
<a href="javascript:void(0);" data-dismiss="modal" class="class pull-right"><span class="glyphicon glyphicon-remove"></span></a>
<h5 class="modal-title"><i class="fa fa-star-o"></i>Instagram Data Scraper T&C</h5>
</div>
<div class="modal-body">
<div class="row">
<div class="col-md-6">
<img src="./public/core/images/tnc.png" class="img-responsive">
</div>
<div class="col-md-6 text-justify">
<h4>Privacy Policy | Terms & Conditions</h4>
<p>
Instagram Data Scraper, is a learning piece of code. It's developed as a sample to help the people who want to build Instagram data scraper or using their APIs to get Instagram information. It may help people who want some data from Instagram. This is not for any Commercial Product or not for Sale or not for Product Build. By using the script/application/code you accepting the application's terms & conditions.
</p>
<p>
If you like this application and want to build or want to use it with your commercial product then kindly get a valid <a href="https://www.instagram.com/developer/" target="_new"><i class="fa fa-external-link"></i> Instagram APP ID</a> and then use it without any worry. Follow all the <a href="https://www.instagram.com/about/legal/terms/api/"><i class="fa fa-external-link"></i> Platform Policy</a> & <a href="https://css-tricks.com/everything-need-know-instagram-api-integration/"><i class="fa fa-external-link"></i> Instagram API Practices</a> to make your own candy.
</p>
<p>
In this application, all used brand's name and logo are their properties.
</p>
<p>
Kindly don't take an interest in break something.
</p>
<p>
Build with Love for Love
<br>
<br> <i class="fa fa-handshake-o"></i> Thanks a lot you lovely people
</p>
<div class="space-ten"></div>
</div>
</div>
</div>
<div class="modal-footer">
<button type="button" class="btn btn-default" data-dismiss="modal"><i class="fa fa-heart txt-pink"></i> Hug Accepted</button>
</div>
</div>
</div>
</div>
</div>
<!-- Wrapper end here -->
<!-- start all template here -->
<script id="offline-template" type="x-tmpl-mustache">
<div style="margin:10% auto" class="container well">
<div class="error">
<div class="error-code m-b-10 m-t-20">Well! The app dose not work in off-line mode <i class="fa fa-warning"></i></div>
<h3 class="font-bold">Please connect an Internet Connection to get it work.</h3>
<div class="error-desc">
Day after Tomorrow, There is More Bright Sun We have seen ever.
<br/> Try refreshing the page or click the button below to go back to the Homepage.
<div>
<a class="btn" href="javascript:window.location.href=\'./\';"> <i class="fa fa-refresh"></i> Reload Page</a>
</div>
</div>
</div>
</div>
</script>
<script id="query-form-template" type="x-tmpl-mustache">
<div class="col-md-4 {{action}}">
<div class="form-group">
<label class="fa fa-{{action}} fa-sm" for="{{action}}"></label>
<span class="{{user_indicator}} label label-info"></span>
<div class="input-group">
<span class="input-group-addon"><input class="chk-input" type="checkbox"/></span>
<div class="{{indicator}}" style="width: 0%; border-top: 2px solid red;"></div>
<input class="form-control insta-url {{input_action}}" name="iUrl[]" placeholder="" type="text" value="{{value}}" />
</div>
</div>
</div>
</script>
<script id="account-thumbs" type="x-tmpl-mustache">
<div class="modal fade" id="thumb-{{username}}" tabindex="-1" role="dialog" aria-labelledby="edit" aria-hidden="true">
<div class="modal-dialog modal-lg modal-fullscreen">
<div class="modal-content">
<div class="modal-header">
<button type="button" class="close" data-dismiss="modal" aria-hidden="true"><span class="glyphicon glyphicon-remove" aria-hidden="true"></span></button>
<h4 class="modal-title custom_align">{{username}} Posts</h4>
</div>
<div class="modal-body img-preview-content">
<div class="container">
{{#thumb-loop}}
<article class="col-xs-12 col-sm-6 col-md-2">
<div class="panel panel-default">
<div class="panel-body">
<a class="zoom" data-footer="" data-title="" data-toggle="lightbox" data-type="image" href="{{thumb-src}}" title="">
<img alt="" class="img-thumbnail" src="{{thumb-src}}">
<span class="overlay">
<i class="fa fa-arrows-alt"></i>
</span>
</img>
</a>
</div>
<div class="panel-footer">
<i class="txt-info fa fa-thumbs-o-up txt-small"> {{likes}}</i>
<i class="txt-important fa fa-comment-o txt-small"> {{comments}}</i>
</div>
</div>
</article>
{{/thumb-loop}}
</div>
</div>
</div>
<!-- /.modal-content -->
</div>
<!-- /.modal-dialog -->
</div>
</script>
<script id="chart-template" type="x-tmpl-mustache">
<div class="chart-container col-lg-4">
<!-- card Block -->
<div class="card card-block">
<h4 class="card-title">
<i class="fa fa-hashtag"></i> {{title}}
</h4>
<div class="card-text">
<div class="chart-pop" id="{{container}}"></div>
<a title="Top Posts Keywords" rel="tooltip" data-toggle="modal" href="#" data-target="#key_{{container}}" class="btn btn-warning btn-sm top-post">
<i class="fa fa-line-chart"></i>
</a>
<a title="Top Posts Preview" rel="tooltip" data-toggle="modal" href="#" data-target="#modal_{{container}}" class="btn btn-info btn-sm img-preview">
<i class="fa fa-eye"></i>
</a>
</div>
</div>
<!-- End Card Block -->
<!-- Modal -->
<div class="modal fade" id="key_{{container}}" tabindex="-1" role="dialog" aria-labelledby="key_sel{{container}}" aria-hidden="true">
<div class="modal-dialog modal-lg container-fluid" role="document">
<div class="modal-content">
<div class="modal-header">
<button type="button" class="close" data-dismiss="modal" aria-label="Close">
<span aria-hidden="true">×</span>
</button>
<h5 class="modal-title" id="key_sel{{container}}">Top Keywords - {{title}}</h5>
</div>
<div class="img-preview-content modal-body">
<!-- gallery content start -->
<div class="container mt10">
<div class="container text-right">
<a data-id="tbl-mark-{{container}}" href="javascript:void(0);" class="btn btn-default download">
<i class="fa fa-download"></i> Download Data in Excel
</a>
</div>
<section class="row">
<table id="tbl-mark-{{container}}" class="table table-striped table-hover">
<thead>
<tr>
<th>
<input type="checkbox" name="checkbox">
</th>
<th>Keyword</th>
<th>Count</th>
</tr>
</thead>
<tbody>
{{#key-table-summery}}
<tr class="td">
<td>{{sno}}</td>
<td>{{keyword}}</td>
<td>{{key_count}}</td>
</tr>
{{/key-table-summery}}
</tbody>
</table>
</section>
</div>
<!-- end gallery content start -->
</div>
<div class="modal-footer">
<button type="button" class="btn btn-secondary" data-dismiss="modal">Close</button>
<button type="button" class="btn btn-primary">Download Data</button>
</div>
</div>
</div>
</div>
<!-- modal close -->
<!-- Modal -->
<div class="modal fade" id="modal_{{container}}" tabindex="-1" role="dialog" aria-labelledby="modal_sel{{container}}" aria-hidden="true">
<div class="modal-dialog" role="document">
<div class="modal-content">
<div class="modal-header">
<button type="button" class="close" data-dismiss="modal" aria-label="Close">
<span aria-hidden="true">×</span>
</button>
<h5 class="modal-title" id="modal_sel{{container}}">Top Post Preview Gallery - {{title}}</h5>
</div>
<div class="img-preview-content modal-body">
<!-- gallery content start -->
<div class="container mt40">
<section class="row">
<!-- Nav tabs -->
<ul class="nav nav-tabs" role="tablist">
<li class="nav-item active">
<a class="nav-link active" data-toggle="tab" href="#{{container}}-table-summery" role="tab">Data Summary</a>
</li>
<li class="nav-item">
<a class="nav-link" data-toggle="tab" href="#{{container}}-view-gallery" role="tab">Post Preview</a>
</li>
</ul>
<!-- end Nav tabs -->
<br class="clear">
<!-- Tab panes -->
<div class="tab-content">
<div class="tab-pane active" id="{{container}}-table-summery" role="tabpanel">
<table id="tbl-top-post-{{container}}" class="table table-striped table-hover">
<thead>
<tr>
<th>
<input type="checkbox" name="checkbox">
</th>
<th>Post</th>
<th>Likes</th>
<th>Comments</th>
<th>Views</th>
</tr>
</thead>
<tbody>
{{#table-summery}}
<tr class="td">
<td>{{no}}</td>
<td>{{posts}}</td>
<td>{{likes_count}}</td>
<td>{{comments_count}}</td>
<td>{{video_view_count}}</td>
</tr>
{{/table-summery}}
</tbody>
</table>
</div>
<div class="tab-pane" id="{{container}}-view-gallery" role="tabpanel">
<!-- image section -->
{{#img-thumbs}}
<article class="col-xs-12 col-sm-6 col-md-2">
<div class="panel panel-default">
<div class="panel-body">
<a href="{{img_src}}" title="{{img_title}}" class="zoom" data-title="{{img_title}}" data-footer="{{img_footer}}" data-type="image" data-toggle="lightbox">
<img class="img-thumbnail" src="{{img_src}}" alt="{{img_title}}" />
<span class="overlay">
<i class="fa fa-arrows-alt"></i>
</span>
</a>
</div>
<div class="panel-footer">
<i class="txt-info fa fa-thumbs-o-up txt-small"> {{likes_img}}</i>
<i class="txt-important fa fa-comment-o txt-small"> {{comments_img}}</i> {{#video_views}}
<i class="txt-important fa fa-video-camera txt-small"> {{video_views}}</i> {{/video_views}}
</div>
</div>
</article>
{{/img-thumbs}}
<!-- image section -->
</div>
</div>
<!-- Tab panes -->
</section>
</div>
<!-- end gallery content start -->
</div>
<div class="modal-footer">
<button type="button" class="btn btn-secondary" data-dismiss="modal">Close</button>
<a data-id="tbl-top-post-{{container}}" class="btn btn-primary download">Download</a>
</div>
</div>
</div>
</div>
<!-- modal close -->
</div>
</script>
<!-- Modal Console -->
<div class="modal fade" id="console" role="dialog">
<div class="modal-dialog modal-lg">
<div class="modal-content">
<div class="modal-header">
<button type="button" class="close" data-dismiss="modal">×</button>
<h4 class="modal-title"><i class="fa fa-user-secret"></i> Debug Output Console</h4>
</div>
<div class="modal-body">
<div class="row">
<pre id="log"></pre>
</div>
</div>
<div class="modal-footer">
<button type="button" class="btn btn-default" data-dismiss="modal">Close</button>
</div>
</div>
</div>
</div>
<!-- End Modal Console -->
<!-- end all template here -->
<script type="text/javascript" src="<?= $cdn_server_url; ?>/libs/jquery/1.10.2/jquery.min.js"></script>
<script type="text/javascript" src="./public/core/js/cookies.min.js"></script>
<script type="text/javascript" src="<?= $cdn_server_url; ?>/libs/twitter-bootstrap/3.3.0/js/bootstrap.min.js"></script>
<script type="text/javascript" src="<?= $cdn_server_url; ?>/libs/canvasjs/1.7.0/canvasjs.min.js"></script>
<script type="text/javascript" src="<?= $cdn_server_url; ?>/libs/mustache.js/2.3.2/mustache.min.js"></script>
<script type="text/javascript" src="<?= $cdn_server_url; ?>/libs/jqcloud/1.0.4/jqcloud-1.0.4.min.js"></script>
<script type="text/javascript" src="<?= $cdn_server_url; ?>/libs/bootbox.js/5.5.2/bootbox.min.js"></script>
<script type="text/javascript" src="./public/typeahead/typeahead.min.js"></script>
<!-- we are in development mode hence do not use core.min.js file yet -->
<script type="text/javascript" src="./public/core/js/core.dev.js"></script>
<script type="text/javascript">
$(document).ready(function() {
if (localStorage.getItem('popState') != 'shown') {
$("#popup").delay(2000).fadeIn();
localStorage.setItem('popState', 'shown')
}
$('#popup-close').click(function(e) {
$('#popup').fadeOut();
});
$('#popup').click(function(e) {
$('#popup').fadeOut();
});
});
</script>
</body>
</html>