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
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
1 |
+
---
|
2 |
+
language:
|
3 |
+
- ms
|
4 |
+
---
|
5 |
+
# Snapshot Twitter
|
6 |
+
|
7 |
+
**We no longer able to snapshot due to API changes**.
|
8 |
+
|
9 |
+
## description
|
10 |
+
|
11 |
+
1. minimum timestamp, 2022-04-17T16:30:07.000Z2.
|
12 |
+
2. maximum timestamp, 2022-09-03T09:23:52.000Z
|
13 |
+
3. 7075025 rows
|
14 |
+
4. full attributes,
|
15 |
+
|
16 |
+
```json
|
17 |
+
{
|
18 |
+
"datetime": "2022-04-18T05:57:04",
|
19 |
+
"datetime_gmt8": "2022-04-18T13:57:04",
|
20 |
+
"data_text": "kekal halal kak https://t.co/YHKqszqPnS",
|
21 |
+
"body": "kekal halal kak https://t.co/YHKqszqPnS",
|
22 |
+
"screen_name": "Luke_Sebastian2",
|
23 |
+
"followers_count": 10413,
|
24 |
+
"friends_count": 72,
|
25 |
+
"listed_count": 6,
|
26 |
+
"favourites_count": 1494,
|
27 |
+
"statuses_count": 948,
|
28 |
+
"quoted_status_text": "NULL",
|
29 |
+
"lang": "in",
|
30 |
+
"retweet": "false",
|
31 |
+
"retweet_text": "NULL",
|
32 |
+
"retweet_text_full": "NULL",
|
33 |
+
"retweet_count": 0,
|
34 |
+
"retweet_detail": {},
|
35 |
+
"quote_count": 0,
|
36 |
+
"favorite_count": 0,
|
37 |
+
"reply_count": 0,
|
38 |
+
"id_str": "1515932406368202753",
|
39 |
+
"tweet": {
|
40 |
+
"created_at": "Mon Apr 18 05:57:04 +0000 2022",
|
41 |
+
"id": 1515932406368202800,
|
42 |
+
"id_str": "1515932406368202753",
|
43 |
+
"text": "kekal halal kak😏🤫 https://t.co/YHKqszqPnS",
|
44 |
+
"display_text_range": [
|
45 |
+
0,
|
46 |
+
17
|
47 |
+
],
|
48 |
+
"source": "<a href=\"http://twitter.com/download/android\" rel=\"nofollow\">Twitter for Android</a>",
|
49 |
+
"truncated": false,
|
50 |
+
"in_reply_to_status_id": null,
|
51 |
+
"in_reply_to_status_id_str": null,
|
52 |
+
"in_reply_to_user_id": null,
|
53 |
+
"in_reply_to_user_id_str": null,
|
54 |
+
"in_reply_to_screen_name": null,
|
55 |
+
"user": {
|
56 |
+
"id": 1431086333024374800,
|
57 |
+
"id_str": "1431086333024374792",
|
58 |
+
"name": "☄ʟᴜᴋᴇ",
|
59 |
+
"screen_name": "Luke_Sebastian2",
|
60 |
+
"location": "Malaysia",
|
61 |
+
"url": "http://t.me/Luke_Alqamara",
|
62 |
+
"description": "|𝟮𝟬🍰|⚤|📚𝗧𝗼𝗽|🇮🇩|📌🇲🇾|Law Student💼|•𝐤𝐞𝐤𝐚𝐬𝐢𝐡𝐤𝐮:@Trevor_Louise1•|Dm me for endorsement/Collab and rates also📩!|•don't forget to smile😊•",
|
63 |
+
"translator_type": "none",
|
64 |
+
"protected": false,
|
65 |
+
"verified": false,
|
66 |
+
"followers_count": 10413,
|
67 |
+
"friends_count": 72,
|
68 |
+
"listed_count": 6,
|
69 |
+
"favourites_count": 1494,
|
70 |
+
"statuses_count": 948,
|
71 |
+
"created_at": "Fri Aug 27 02:49:28 +0000 2021",
|
72 |
+
"utc_offset": null,
|
73 |
+
"time_zone": null,
|
74 |
+
"geo_enabled": true,
|
75 |
+
"lang": null,
|
76 |
+
"contributors_enabled": false,
|
77 |
+
"is_translator": false,
|
78 |
+
"profile_background_color": "F5F8FA",
|
79 |
+
"profile_background_image_url": "",
|
80 |
+
"profile_background_image_url_https": "",
|
81 |
+
"profile_background_tile": false,
|
82 |
+
"profile_link_color": "1DA1F2",
|
83 |
+
"profile_sidebar_border_color": "C0DEED",
|
84 |
+
"profile_sidebar_fill_color": "DDEEF6",
|
85 |
+
"profile_text_color": "333333",
|
86 |
+
"profile_use_background_image": true,
|
87 |
+
"profile_image_url": "http://pbs.twimg.com/profile_images/1500850780823494658/snCdyeen_normal.jpg",
|
88 |
+
"profile_image_url_https": "https://pbs.twimg.com/profile_images/1500850780823494658/snCdyeen_normal.jpg",
|
89 |
+
"profile_banner_url": "https://pbs.twimg.com/profile_banners/1431086333024374792/1647061513",
|
90 |
+
"default_profile": true,
|
91 |
+
"default_profile_image": false,
|
92 |
+
"following": null,
|
93 |
+
"follow_request_sent": null,
|
94 |
+
"notifications": null,
|
95 |
+
"withheld_in_countries": []
|
96 |
+
},
|
97 |
+
"geo": null,
|
98 |
+
"coordinates": null,
|
99 |
+
"place": {
|
100 |
+
"id": "7b02fbddf4d9f2c6",
|
101 |
+
"url": "https://api.twitter.com/1.1/geo/id/7b02fbddf4d9f2c6.json",
|
102 |
+
"place_type": "city",
|
103 |
+
"name": "Kuala Lumpur City",
|
104 |
+
"full_name": "Kuala Lumpur City, Kuala Lumpur Federal Territory",
|
105 |
+
"country_code": "MY",
|
106 |
+
"country": "Malaysia",
|
107 |
+
"bounding_box": {
|
108 |
+
"type": "Polygon",
|
109 |
+
"coordinates": [
|
110 |
+
[
|
111 |
+
[
|
112 |
+
101.668232,
|
113 |
+
3.104906
|
114 |
+
],
|
115 |
+
[
|
116 |
+
101.668232,
|
117 |
+
3.192155
|
118 |
+
],
|
119 |
+
[
|
120 |
+
101.742378,
|
121 |
+
3.192155
|
122 |
+
],
|
123 |
+
[
|
124 |
+
101.742378,
|
125 |
+
3.104906
|
126 |
+
]
|
127 |
+
]
|
128 |
+
]
|
129 |
+
},
|
130 |
+
"attributes": {}
|
131 |
+
},
|
132 |
+
"contributors": null,
|
133 |
+
"is_quote_status": false,
|
134 |
+
"quote_count": 0,
|
135 |
+
"reply_count": 0,
|
136 |
+
"retweet_count": 0,
|
137 |
+
"favorite_count": 0,
|
138 |
+
"entities": {
|
139 |
+
"hashtags": [],
|
140 |
+
"urls": [],
|
141 |
+
"user_mentions": [],
|
142 |
+
"symbols": [],
|
143 |
+
"media": [
|
144 |
+
{
|
145 |
+
"id": 1515932334612107300,
|
146 |
+
"id_str": "1515932334612107268",
|
147 |
+
"indices": [
|
148 |
+
18,
|
149 |
+
41
|
150 |
+
],
|
151 |
+
"additional_media_info": {
|
152 |
+
"monetizable": false
|
153 |
+
},
|
154 |
+
"media_url": "http://pbs.twimg.com/ext_tw_video_thumb/1515932334612107268/pu/img/ak2K23DgNDDV-UCC.jpg",
|
155 |
+
"media_url_https": "https://pbs.twimg.com/ext_tw_video_thumb/1515932334612107268/pu/img/ak2K23DgNDDV-UCC.jpg",
|
156 |
+
"url": "https://t.co/YHKqszqPnS",
|
157 |
+
"display_url": "pic.twitter.com/YHKqszqPnS",
|
158 |
+
"expanded_url": "https://twitter.com/Luke_Sebastian2/status/1515932406368202753/video/1",
|
159 |
+
"type": "photo",
|
160 |
+
"sizes": {
|
161 |
+
"thumb": {
|
162 |
+
"w": 150,
|
163 |
+
"h": 150,
|
164 |
+
"resize": "crop"
|
165 |
+
},
|
166 |
+
"medium": {
|
167 |
+
"w": 540,
|
168 |
+
"h": 960,
|
169 |
+
"resize": "fit"
|
170 |
+
},
|
171 |
+
"small": {
|
172 |
+
"w": 383,
|
173 |
+
"h": 680,
|
174 |
+
"resize": "fit"
|
175 |
+
},
|
176 |
+
"large": {
|
177 |
+
"w": 540,
|
178 |
+
"h": 960,
|
179 |
+
"resize": "fit"
|
180 |
+
}
|
181 |
+
}
|
182 |
+
}
|
183 |
+
]
|
184 |
+
},
|
185 |
+
"extended_entities": {
|
186 |
+
"media": [
|
187 |
+
{
|
188 |
+
"id": 1515932334612107300,
|
189 |
+
"id_str": "1515932334612107268",
|
190 |
+
"indices": [
|
191 |
+
18,
|
192 |
+
41
|
193 |
+
],
|
194 |
+
"additional_media_info": {
|
195 |
+
"monetizable": false
|
196 |
+
},
|
197 |
+
"media_url": "http://pbs.twimg.com/ext_tw_video_thumb/1515932334612107268/pu/img/ak2K23DgNDDV-UCC.jpg",
|
198 |
+
"media_url_https": "https://pbs.twimg.com/ext_tw_video_thumb/1515932334612107268/pu/img/ak2K23DgNDDV-UCC.jpg",
|
199 |
+
"url": "https://t.co/YHKqszqPnS",
|
200 |
+
"display_url": "pic.twitter.com/YHKqszqPnS",
|
201 |
+
"expanded_url": "https://twitter.com/Luke_Sebastian2/status/1515932406368202753/video/1",
|
202 |
+
"type": "video",
|
203 |
+
"video_info": {
|
204 |
+
"aspect_ratio": [
|
205 |
+
9,
|
206 |
+
16
|
207 |
+
],
|
208 |
+
"duration_millis": 15232,
|
209 |
+
"variants": [
|
210 |
+
{
|
211 |
+
"bitrate": 632000,
|
212 |
+
"content_type": "video/mp4",
|
213 |
+
"url": "https://video.twimg.com/ext_tw_video/1515932334612107268/pu/vid/320x568/3gN3Udy0BrbU8HFr.mp4?tag=12"
|
214 |
+
},
|
215 |
+
{
|
216 |
+
"content_type": "application/x-mpegURL",
|
217 |
+
"url": "https://video.twimg.com/ext_tw_video/1515932334612107268/pu/pl/V6UZr3a49tZHwoia.m3u8?tag=12&container=fmp4"
|
218 |
+
},
|
219 |
+
{
|
220 |
+
"bitrate": 950000,
|
221 |
+
"content_type": "video/mp4",
|
222 |
+
"url": "https://video.twimg.com/ext_tw_video/1515932334612107268/pu/vid/480x852/CpA6Jht3IZjzh75X.mp4?tag=12"
|
223 |
+
},
|
224 |
+
{
|
225 |
+
"bitrate": 2176000,
|
226 |
+
"content_type": "video/mp4",
|
227 |
+
"url": "https://video.twimg.com/ext_tw_video/1515932334612107268/pu/vid/540x960/EdWN9mo8jIbA5PDM.mp4?tag=12"
|
228 |
+
}
|
229 |
+
]
|
230 |
+
},
|
231 |
+
"sizes": {
|
232 |
+
"thumb": {
|
233 |
+
"w": 150,
|
234 |
+
"h": 150,
|
235 |
+
"resize": "crop"
|
236 |
+
},
|
237 |
+
"medium": {
|
238 |
+
"w": 540,
|
239 |
+
"h": 960,
|
240 |
+
"resize": "fit"
|
241 |
+
},
|
242 |
+
"small": {
|
243 |
+
"w": 383,
|
244 |
+
"h": 680,
|
245 |
+
"resize": "fit"
|
246 |
+
},
|
247 |
+
"large": {
|
248 |
+
"w": 540,
|
249 |
+
"h": 960,
|
250 |
+
"resize": "fit"
|
251 |
+
}
|
252 |
+
}
|
253 |
+
}
|
254 |
+
]
|
255 |
+
},
|
256 |
+
"favorited": false,
|
257 |
+
"retweeted": false,
|
258 |
+
"possibly_sensitive": false,
|
259 |
+
"filter_level": "low",
|
260 |
+
"lang": "in",
|
261 |
+
"timestamp_ms": "1650261424997",
|
262 |
+
"ignore_lang": true
|
263 |
+
},
|
264 |
+
"type": "search"
|
265 |
+
}
|
266 |
+
```
|
267 |
+
|
268 |
+
5. stream filtered by geo boundary,
|
269 |
+
|
270 |
+
```python
|
271 |
+
stream.filter(
|
272 |
+
locations=[
|
273 |
+
99.8568959909,
|
274 |
+
0.8232449017,
|
275 |
+
119.5213933664,
|
276 |
+
7.2037547089,
|
277 |
+
]
|
278 |
+
)
|
279 |
+
```
|