-
Notifications
You must be signed in to change notification settings - Fork 1
/
Copy pathindex.html
142 lines (137 loc) · 6.32 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
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
<!doctype html>
<html class="no-js">
<head>
<meta charset="utf-8">
<meta http-equiv="X-UA-Compatible" content="IE=edge">
<title></title>
<meta name="description" content="">
<meta name="viewport" content="width=device-width, initial-scale=1">
<!-- Place favicon.ico and apple-touch-icon(s) in the root directory -->
<link rel="stylesheet" href="style.css">
<script src="app.js"></script>
</head>
<body>
<header>
<h1>Extended Export</h1>
<h2>for Twitter Analytics</h2>
</header>
<div class="wrapper">
<ol class="instructions">
<li>Log into the Twitter account you need data for. <span class="helptext">You can do this in a separate tab or window, but not a separate browser.</span></li>
<li>Click here to go to <a href="https://ads.twitter.com/accounts/xxxxxx/timeline_activity/tweet_data" target="_blank">https://ads.twitter.com/accounts/xxxxxx/timeline_activity/tweet_data</a> <span class="helptext">opens in new tab</span></li>
<ol>
<li><strong><em>Are you looking for <a href="https://ads.twitter.com/accounts/xxxxxx/followers_dashboard">this follower data?</a></em></strong> Instead of that link above, go to <a href="https://ads.twitter.com/accounts/xxxxxx/followers_dashboard/followers" target="_blank">https://ads.twitter.com/accounts/xxxxxx/followers_dashboard/followers</a>, copy and paste that into the box, and skip straight to the GENERATE button.</li>
</ol>
<li>You should see a page with a lot of text and curly brackets. Copy & paste all of the text into this box:
<textarea rows="8" cols="100" class="json-input"></textarea>
</li>
<li>
<p>Select a date range: <span class="helptext">Optional. Blank defaults to All</span></p>
<ul id="daterange">
<li><input type="radio" name="range">All</li>
<li><input type="radio" name="range" data-daterange="30 Days">30 Days</li>
<li><input type="radio" name="range" data-daterange="60 Days">60 Days</li>
<li><input type="radio" name="range" data-daterange="90 Days">90 Days</li>
<!--li><input type="radio" name="range" value="all">Custom:
<input type="text" placeholder='Start Date'>
to
<input type="text" placeholder='End Date'>
</li-->
</ul>
</li>
<li>
<p>Select the columns you want:</p>
<button data-onclick="checkAll">SELECT ALL</button>
<button data-onclick="uncheckAll">SELECT NONE</button>
<div id="tweetkeys">
<!-- data-prop = must match a tweet obj property. data-option is for other user options. -->
<h3>Date & Time</h3>
<ul id="datetime-formats">
<li>
<input type="checkbox" name="Unix Timestamp" data-prop="timestamp" data-option="unix-timestamp">Unix Timestamp <span class="helptext">Time in milliseconds; most precise for sorting. <a href="http://en.wikipedia.org/wiki/Unix_time">(What's Unix time?)</a></span>
</li>
<li>
<input type="checkbox" name="ISO Timestamp" data-prop="timestamp" data-option="iso-timestamp">ISO Timestamp <span class="helptext">Format: 2014-04-22T17:55:05.000Z <a href="http://en.wikipedia.org/wiki/ISO_8601">(What's ISO time?)</a></span>
</li>
<li>
<input type="checkbox" name="ISO Date" data-prop="timestamp" data-option="iso-date">ISO Date <span class="helptext">Format: 2014-4-22</span>
</li>
<li>
<input type="checkbox" name="MM/DD/YYYY" data-prop="timestamp" data-option="MM/DD/YYYY">MM/DD/YYYY
</li>
</ul>
<h3>Basic Info</h3>
<ul>
<li>
<input type="checkbox" name="Tweet Text" data-prop="text">Tweet Text
</li>
<li>
<input type="checkbox" name="Permalink" data-prop="permalink">Permalink
</li>
<li>
<input type="checkbox" name="Tweet ID" data-prop="id">Tweet ID
</li>
</ul>
<h3>Stats</h3>
<ul>
<li>
<input type="checkbox" name="Retweets" data-prop="retweets">Retweets
</li>
<li>
<input type="checkbox" name="Faves" data-prop="faves">Faves
</li>
<li>
<input type="checkbox" name="Replies" data-prop="replies">Replies
</li>
<li>
<input type="checkbox" name="Reach" data-prop="reach">Reach <span class="helptext">Value is a multiplier (i.e. 2.99 x normal reach)</span>
</li>
</ul>
<h3>Sponsored & Campaign Info </h3>
<ul>
<li>
<input type="checkbox" name="Is Sponsored?" data-prop="is_sponsored">Is Sponsored? <span class="helptext">Boolean</span>
</li>
<li>
<input type="checkbox" name="Is Nullcasted?" data-prop="is_nullcasted">Is Nullcasted? <span class="helptext">Boolean</span>
</li>
<li>
<input type="checkbox" name="Is Narrowcasted?" data-prop="is_narrowcasted">Is Narrowcasted? <span class="helptext">Boolean</span>
</li>
<!-- <li>
<input type="checkbox" name="Sponsored Start/End Dates" data-prop="sponsored_info">Sponsored Start/End Dates <span class="helptext">Returns empty cells if tweet was not sponsored, null- or narrowcasted.</span>
</li> -->
<li>
<input type="checkbox" name="Campaign Names" data-prop="campaigns">Campaign Info <span class="helptext">Returns names of campaigns this tweet was on.</span>
</li>
</ul>
<h3>Links</h3>
<ul>
<li>
<input type="checkbox" name="Mentions" data-prop="mentions">Mentions
</li>
<li>
<input type="checkbox" name="Hashtags" data-prop="hashtags">Hashtags
</li>
<li>
<input type="checkbox" name="Links with Click Counts" data-prop="links">Links with Click Counts <span class="helptext">Includes embedded photo</span>
</li>
</ul>
<!--h3>Huh?</h3>
<ul>
<li>
<input type="checkbox" name="Index" data-prop="index">Tweet Index <span class="helptext">Returns a mysterious number. Tell me if you know what this is!</span>
</li>
</ul-->
</div>
</li>
<li>
<p>Click
<button class="generate-button">GENERATE!</button> for a preview (which you can <!--button id="copy">copy to clipboard</button--> copy and paste into PowerPoint). If valid, download link will activate.</p>
<p><a class="download-csv">Download as CSV</a></p>
</li>
</ol>
<div class="output-display"></div>
</div>
</body>
</html>