Skip to content

Instantly share code, notes, and snippets.

@jonkeegan
Last active November 9, 2022 16:49
Show Gist options
  • Star 0 You must be signed in to star a gist
  • Fork 0 You must be signed in to fork a gist
  • Save jonkeegan/d0b4f0cdbc14638fb6e80d884668dd83 to your computer and use it in GitHub Desktop.
Save jonkeegan/d0b4f0cdbc14638fb6e80d884668dd83 to your computer and use it in GitHub Desktop.
Twitter API results for @WhiteHouse account as of 2022-11-09
{'id': 1323730225067339784,
'id_str': '1323730225067339784',
'name': 'The White House',
'screen_name': 'WhiteHouse',
'location': 'United States of America',
'profile_location': None,
'description': 'Welcome to the Biden-Harris White House! Tweets may be archived: https://t.co/UbZQo0KxMN',
'url': 'https://t.co/121St5NWKx',
'entities': {'url': {'urls': [{'url': 'https://t.co/121St5NWKx',
'expanded_url': 'http://WhiteHouse.gov',
'display_url': 'WhiteHouse.gov',
'indices': [0, 23]}]},
'description': {'urls': [{'url': 'https://t.co/UbZQo0KxMN',
'expanded_url': 'http://whitehouse.gov/privacy',
'display_url': 'whitehouse.gov/privacy',
'indices': [65, 88]}]}},
'protected': False,
'followers_count': 8099915,
'friends_count': 5,
'listed_count': 12040,
'created_at': 'Tue Nov 03 20:55:58 +0000 2020',
'favourites_count': 12,
'utc_offset': None,
'time_zone': None,
'geo_enabled': False,
'verified': True,
'statuses_count': 4658,
'lang': None,
'status': {'created_at': 'Tue Nov 08 22:00:13 +0000 2022',
'id': 1590101913302867970,
'id_str': '1590101913302867970',
'text': 'Vote. https://t.co/bVhRzgY68M',
'truncated': False,
'entities': {'hashtags': [],
'symbols': [],
'user_mentions': [],
'urls': [],
'media': [{'id': 1590101859779448832,
'id_str': '1590101859779448832',
'indices': [6, 29],
'media_url': 'http://pbs.twimg.com/media/FhEtQqrVUAA6WLe.jpg',
'media_url_https': 'https://pbs.twimg.com/media/FhEtQqrVUAA6WLe.jpg',
'url': 'https://t.co/bVhRzgY68M',
'display_url': 'pic.twitter.com/bVhRzgY68M',
'expanded_url': 'https://twitter.com/WhiteHouse/status/1590101913302867970/video/1',
'type': 'photo',
'sizes': {'thumb': {'w': 150, 'h': 150, 'resize': 'crop'},
'small': {'w': 383, 'h': 680, 'resize': 'fit'},
'medium': {'w': 675, 'h': 1200, 'resize': 'fit'},
'large': {'w': 1080, 'h': 1920, 'resize': 'fit'}}}]},
'extended_entities': {'media': [{'id': 1590101859779448832,
'id_str': '1590101859779448832',
'indices': [6, 29],
'media_url': 'http://pbs.twimg.com/media/FhEtQqrVUAA6WLe.jpg',
'media_url_https': 'https://pbs.twimg.com/media/FhEtQqrVUAA6WLe.jpg',
'url': 'https://t.co/bVhRzgY68M',
'display_url': 'pic.twitter.com/bVhRzgY68M',
'expanded_url': 'https://twitter.com/WhiteHouse/status/1590101913302867970/video/1',
'type': 'video',
'sizes': {'thumb': {'w': 150, 'h': 150, 'resize': 'crop'},
'small': {'w': 383, 'h': 680, 'resize': 'fit'},
'medium': {'w': 675, 'h': 1200, 'resize': 'fit'},
'large': {'w': 1080, 'h': 1920, 'resize': 'fit'}},
'video_info': {'aspect_ratio': [9, 16],
'duration_millis': 6381,
'variants': [{'content_type': 'application/x-mpegURL',
'url': 'https://video.twimg.com/amplify_video/1590101859779448832/pl/dwuvYQ6WqXTH1fdA.m3u8?tag=14&container=fmp4'},
{'bitrate': 632000,
'content_type': 'video/mp4',
'url': 'https://video.twimg.com/amplify_video/1590101859779448832/vid/320x568/8jKrBZLck_yZeyIq.mp4?tag=14'},
{'bitrate': 950000,
'content_type': 'video/mp4',
'url': 'https://video.twimg.com/amplify_video/1590101859779448832/vid/480x852/ewQo-abGr4KQvsLG.mp4?tag=14'},
{'bitrate': 2176000,
'content_type': 'video/mp4',
'url': 'https://video.twimg.com/amplify_video/1590101859779448832/vid/720x1280/IgRAT-8WaJmyYLfS.mp4?tag=14'}]},
'additional_media_info': {'title': '',
'description': '',
'monetizable': False}}]},
'source': '<a href="https://www.sprinklr.com" rel="nofollow">The White House</a>',
'in_reply_to_status_id': None,
'in_reply_to_status_id_str': None,
'in_reply_to_user_id': None,
'in_reply_to_user_id_str': None,
'in_reply_to_screen_name': None,
'geo': None,
'coordinates': None,
'place': None,
'contributors': None,
'is_quote_status': False,
'retweet_count': 972,
'favorite_count': 4216,
'favorited': False,
'retweeted': False,
'possibly_sensitive': False,
'lang': 'fr'},
'contributors_enabled': False,
'is_translator': False,
'is_translation_enabled': False,
'profile_background_color': 'F5F8FA',
'profile_background_image_url': None,
'profile_background_image_url_https': None,
'profile_background_tile': False,
'profile_image_url': 'http://pbs.twimg.com/profile_images/1351938473142448133/JQT93Cjo_normal.jpg',
'profile_image_url_https': 'https://pbs.twimg.com/profile_images/1351938473142448133/JQT93Cjo_normal.jpg',
'profile_banner_url': 'https://pbs.twimg.com/profile_banners/1323730225067339784/1666375806',
'profile_link_color': '1DA1F2',
'profile_sidebar_border_color': 'C0DEED',
'profile_sidebar_fill_color': 'DDEEF6',
'profile_text_color': '333333',
'profile_use_background_image': True,
'has_extended_profile': True,
'default_profile': True,
'default_profile_image': False,
'following': False,
'follow_request_sent': False,
'notifications': False,
'translator_type': 'none',
'withheld_in_countries': []}
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment