|
--- |
|
language: |
|
- ms |
|
--- |
|
# Snapshot Twitter |
|
|
|
**We no longer able to snapshot due to API changes**. |
|
|
|
## description |
|
|
|
1. minimum timestamp, 2022-04-17T16:30:07.000Z2. |
|
2. maximum timestamp, 2022-09-03T09:23:52.000Z |
|
3. 7075025 rows |
|
4. full attributes, |
|
|
|
```json |
|
{ |
|
"datetime": "2022-04-18T05:57:04", |
|
"datetime_gmt8": "2022-04-18T13:57:04", |
|
"data_text": "kekal halal kak https://t.co/YHKqszqPnS", |
|
"body": "kekal halal kak https://t.co/YHKqszqPnS", |
|
"screen_name": "Luke_Sebastian2", |
|
"followers_count": 10413, |
|
"friends_count": 72, |
|
"listed_count": 6, |
|
"favourites_count": 1494, |
|
"statuses_count": 948, |
|
"quoted_status_text": "NULL", |
|
"lang": "in", |
|
"retweet": "false", |
|
"retweet_text": "NULL", |
|
"retweet_text_full": "NULL", |
|
"retweet_count": 0, |
|
"retweet_detail": {}, |
|
"quote_count": 0, |
|
"favorite_count": 0, |
|
"reply_count": 0, |
|
"id_str": "1515932406368202753", |
|
"tweet": { |
|
"created_at": "Mon Apr 18 05:57:04 +0000 2022", |
|
"id": 1515932406368202800, |
|
"id_str": "1515932406368202753", |
|
"text": "kekal halal kak๐๐คซ https://t.co/YHKqszqPnS", |
|
"display_text_range": [ |
|
0, |
|
17 |
|
], |
|
"source": "<a href=\"http://twitter.com/download/android\" rel=\"nofollow\">Twitter for Android</a>", |
|
"truncated": false, |
|
"in_reply_to_status_id": null, |
|
"in_reply_to_status_id_str": null, |
|
"in_reply_to_user_id": null, |
|
"in_reply_to_user_id_str": null, |
|
"in_reply_to_screen_name": null, |
|
"user": { |
|
"id": 1431086333024374800, |
|
"id_str": "1431086333024374792", |
|
"name": "โสแดแดแด", |
|
"screen_name": "Luke_Sebastian2", |
|
"location": "Malaysia", |
|
"url": "http://t.me/Luke_Alqamara", |
|
"description": "|๐ฎ๐ฌ๐ฐ|โค|๐๐ง๐ผ๐ฝ|๐ฎ๐ฉ|๐๐ฒ๐พ|Law Student๐ผ|โข๐ค๐๐ค๐๐ฌ๐ข๐ก๐ค๐ฎ:@Trevor_Louise1โข|Dm me for endorsement/Collab and rates also๐ฉ!|โขdon't forget to smile๐โข", |
|
"translator_type": "none", |
|
"protected": false, |
|
"verified": false, |
|
"followers_count": 10413, |
|
"friends_count": 72, |
|
"listed_count": 6, |
|
"favourites_count": 1494, |
|
"statuses_count": 948, |
|
"created_at": "Fri Aug 27 02:49:28 +0000 2021", |
|
"utc_offset": null, |
|
"time_zone": null, |
|
"geo_enabled": true, |
|
"lang": null, |
|
"contributors_enabled": false, |
|
"is_translator": false, |
|
"profile_background_color": "F5F8FA", |
|
"profile_background_image_url": "", |
|
"profile_background_image_url_https": "", |
|
"profile_background_tile": false, |
|
"profile_link_color": "1DA1F2", |
|
"profile_sidebar_border_color": "C0DEED", |
|
"profile_sidebar_fill_color": "DDEEF6", |
|
"profile_text_color": "333333", |
|
"profile_use_background_image": true, |
|
"profile_image_url": "http://pbs.twimg.com/profile_images/1500850780823494658/snCdyeen_normal.jpg", |
|
"profile_image_url_https": "https://pbs.twimg.com/profile_images/1500850780823494658/snCdyeen_normal.jpg", |
|
"profile_banner_url": "https://pbs.twimg.com/profile_banners/1431086333024374792/1647061513", |
|
"default_profile": true, |
|
"default_profile_image": false, |
|
"following": null, |
|
"follow_request_sent": null, |
|
"notifications": null, |
|
"withheld_in_countries": [] |
|
}, |
|
"geo": null, |
|
"coordinates": null, |
|
"place": { |
|
"id": "7b02fbddf4d9f2c6", |
|
"url": "https://api.twitter.com/1.1/geo/id/7b02fbddf4d9f2c6.json", |
|
"place_type": "city", |
|
"name": "Kuala Lumpur City", |
|
"full_name": "Kuala Lumpur City, Kuala Lumpur Federal Territory", |
|
"country_code": "MY", |
|
"country": "Malaysia", |
|
"bounding_box": { |
|
"type": "Polygon", |
|
"coordinates": [ |
|
[ |
|
[ |
|
101.668232, |
|
3.104906 |
|
], |
|
[ |
|
101.668232, |
|
3.192155 |
|
], |
|
[ |
|
101.742378, |
|
3.192155 |
|
], |
|
[ |
|
101.742378, |
|
3.104906 |
|
] |
|
] |
|
] |
|
}, |
|
"attributes": {} |
|
}, |
|
"contributors": null, |
|
"is_quote_status": false, |
|
"quote_count": 0, |
|
"reply_count": 0, |
|
"retweet_count": 0, |
|
"favorite_count": 0, |
|
"entities": { |
|
"hashtags": [], |
|
"urls": [], |
|
"user_mentions": [], |
|
"symbols": [], |
|
"media": [ |
|
{ |
|
"id": 1515932334612107300, |
|
"id_str": "1515932334612107268", |
|
"indices": [ |
|
18, |
|
41 |
|
], |
|
"additional_media_info": { |
|
"monetizable": false |
|
}, |
|
"media_url": "http://pbs.twimg.com/ext_tw_video_thumb/1515932334612107268/pu/img/ak2K23DgNDDV-UCC.jpg", |
|
"media_url_https": "https://pbs.twimg.com/ext_tw_video_thumb/1515932334612107268/pu/img/ak2K23DgNDDV-UCC.jpg", |
|
"url": "https://t.co/YHKqszqPnS", |
|
"display_url": "pic.twitter.com/YHKqszqPnS", |
|
"expanded_url": "https://twitter.com/Luke_Sebastian2/status/1515932406368202753/video/1", |
|
"type": "photo", |
|
"sizes": { |
|
"thumb": { |
|
"w": 150, |
|
"h": 150, |
|
"resize": "crop" |
|
}, |
|
"medium": { |
|
"w": 540, |
|
"h": 960, |
|
"resize": "fit" |
|
}, |
|
"small": { |
|
"w": 383, |
|
"h": 680, |
|
"resize": "fit" |
|
}, |
|
"large": { |
|
"w": 540, |
|
"h": 960, |
|
"resize": "fit" |
|
} |
|
} |
|
} |
|
] |
|
}, |
|
"extended_entities": { |
|
"media": [ |
|
{ |
|
"id": 1515932334612107300, |
|
"id_str": "1515932334612107268", |
|
"indices": [ |
|
18, |
|
41 |
|
], |
|
"additional_media_info": { |
|
"monetizable": false |
|
}, |
|
"media_url": "http://pbs.twimg.com/ext_tw_video_thumb/1515932334612107268/pu/img/ak2K23DgNDDV-UCC.jpg", |
|
"media_url_https": "https://pbs.twimg.com/ext_tw_video_thumb/1515932334612107268/pu/img/ak2K23DgNDDV-UCC.jpg", |
|
"url": "https://t.co/YHKqszqPnS", |
|
"display_url": "pic.twitter.com/YHKqszqPnS", |
|
"expanded_url": "https://twitter.com/Luke_Sebastian2/status/1515932406368202753/video/1", |
|
"type": "video", |
|
"video_info": { |
|
"aspect_ratio": [ |
|
9, |
|
16 |
|
], |
|
"duration_millis": 15232, |
|
"variants": [ |
|
{ |
|
"bitrate": 632000, |
|
"content_type": "video/mp4", |
|
"url": "https://video.twimg.com/ext_tw_video/1515932334612107268/pu/vid/320x568/3gN3Udy0BrbU8HFr.mp4?tag=12" |
|
}, |
|
{ |
|
"content_type": "application/x-mpegURL", |
|
"url": "https://video.twimg.com/ext_tw_video/1515932334612107268/pu/pl/V6UZr3a49tZHwoia.m3u8?tag=12&container=fmp4" |
|
}, |
|
{ |
|
"bitrate": 950000, |
|
"content_type": "video/mp4", |
|
"url": "https://video.twimg.com/ext_tw_video/1515932334612107268/pu/vid/480x852/CpA6Jht3IZjzh75X.mp4?tag=12" |
|
}, |
|
{ |
|
"bitrate": 2176000, |
|
"content_type": "video/mp4", |
|
"url": "https://video.twimg.com/ext_tw_video/1515932334612107268/pu/vid/540x960/EdWN9mo8jIbA5PDM.mp4?tag=12" |
|
} |
|
] |
|
}, |
|
"sizes": { |
|
"thumb": { |
|
"w": 150, |
|
"h": 150, |
|
"resize": "crop" |
|
}, |
|
"medium": { |
|
"w": 540, |
|
"h": 960, |
|
"resize": "fit" |
|
}, |
|
"small": { |
|
"w": 383, |
|
"h": 680, |
|
"resize": "fit" |
|
}, |
|
"large": { |
|
"w": 540, |
|
"h": 960, |
|
"resize": "fit" |
|
} |
|
} |
|
} |
|
] |
|
}, |
|
"favorited": false, |
|
"retweeted": false, |
|
"possibly_sensitive": false, |
|
"filter_level": "low", |
|
"lang": "in", |
|
"timestamp_ms": "1650261424997", |
|
"ignore_lang": true |
|
}, |
|
"type": "search" |
|
} |
|
``` |
|
|
|
5. stream filtered by geo boundary, |
|
|
|
```python |
|
stream.filter( |
|
locations=[ |
|
99.8568959909, |
|
0.8232449017, |
|
119.5213933664, |
|
7.2037547089, |
|
] |
|
) |
|
``` |