Я посмотрел API Твиттера: оно не возращает в ответе на твит никаких полей о «принадлежности к ГосСМИ» и т.п.
Так что в этот раз без бага.
этот возвращает https://twitter.com/i/api/graphql/-xfUfZsnR_zqjFd-IfrN5A/UserByScreenName?variables=%7B%22screen_name%22%3A%22m_simonyan%22%2C%22withHighlightedLabel%22%3Atrue%7D
{"data":{"user":{"id":"VXNlcjo1NzMxNTAwNA==","rest_id":"57315004","affiliates_highlighted_label":{"label":{"url":{"url_type":"DeepLink","url":"https://help.twitter.com/rules-and-policies/state-affiliated"},"badge":{"url":"https://pbs.twimg.com/semantic_core_img/1290392961444798465/78TzWytg?format=png&name=orig"},"description":"Государственное издание, Россия"}},"legacy":{"blocked_by":false,"blocking":false,"can_dm":false,"can_media_tag":true,"created_at":"Thu Jul 16 11:59:02 +0000 2009","default_profile":true,"default_profile_image":false,"description":"Главный редактор RT.","entities":{"description":{"urls":[]},"url":{"urls":[{"display_url":"m-simonyan.livejournal.com","expanded_url":"http://m-simonyan.livejournal.com","url":"http://t.co/On5APjAtP9","indices":[0,22]}]}},"fast_followers_count":0,"favourites_count":3076,"follow_request_sent":false,"followed_by":false,"followers_count":552897,"following":false,"friends_count":459,"has_custom_timelines":false,"is_translator":false,"listed_count":2171,"location":"Moscow","media_count":1636,"muting":false,"name":"Маргарита Симоньян","normal_followers_count":552897,"notifications":false,"pinned_tweet_ids_str":[],"profile_banner_extensions":{"mediaColor":{"r":{"ok":{"palette":[{"percentage":36.45,"rgb":{"blue":54,"green":56,"red":12}},{"percentage":23.22,"rgb":{"blue":55,"green":101,"red":19}},{"percentage":10.17,"rgb":{"blue":56,"green":157,"red":38}},{"percentage":9.85,"rgb":{"blue":48,"green":25,"red":10}},{"percentage":8.5,"rgb":{"blue":143,"green":187,"red":127}}]}}}},"profile_banner_url":"https://pbs.twimg.com/profile_banners/57315004/1485876453","profile_image_extensions":{"mediaColor":{"r":{"ok":{"palette":[{"percentage":28.75,"rgb":{"blue":11,"green":15,"red":28}},{"percentage":23.62,"rgb":{"blue":52,"green":101,"red":175}},{"percentage":21.4,"rgb":{"blue":255,"green":255,"red":255}},{"percentage":19.53,"rgb":{"blue":103,"green":98,"red":35}},{"percentage":3.31,"rgb":{"blue":16,"green":43,"red":86}}]}}}},"profile_image_url_https":"https://pbs.twimg.com/profile_images/1128889282138128384/cG3Gu1tV_normal.jpg","profile_interstitial_type":"","protected":false,"screen_name":"M_Simonyan","statuses_count":26908,"translator_type":"none","url":"http://t.co/On5APjAtP9","verified":true,"want_retweets":false},"legacy_extended_profile":{},"is_profile_translatable":false}}}
Спасибо, народный Орзэмэс
Но я не боюсь пауков 🤪
Не баг.
нонадо
Тогда в @Улучшаем TJ Глядишь, через полгода сделают
Ой блять, имел в виду, что не сделают совсем ☺️
допилят, это же на стороне твиттера проблема наверное
не уверен. тут свой рендер с сохранение снепшота
У комитета свой виджет.
Я посмотрел API Твиттера: оно не возращает в ответе на твит никаких полей о «принадлежности к ГосСМИ» и т.п.
Так что в этот раз без бага.
этот возвращает
https://twitter.com/i/api/graphql/-xfUfZsnR_zqjFd-IfrN5A/UserByScreenName?variables=%7B%22screen_name%22%3A%22m_simonyan%22%2C%22withHighlightedLabel%22%3Atrue%7D
{"data":{"user":{"id":"VXNlcjo1NzMxNTAwNA==","rest_id":"57315004","affiliates_highlighted_label":{"label":{"url":{"url_type":"DeepLink","url":"https://help.twitter.com/rules-and-policies/state-affiliated"},"badge":{"url":"https://pbs.twimg.com/semantic_core_img/1290392961444798465/78TzWytg?format=png&name=orig"},"description":"Государственное издание, Россия"}},"legacy":{"blocked_by":false,"blocking":false,"can_dm":false,"can_media_tag":true,"created_at":"Thu Jul 16 11:59:02 +0000 2009","default_profile":true,"default_profile_image":false,"description":"Главный редактор RT.","entities":{"description":{"urls":[]},"url":{"urls":[{"display_url":"m-simonyan.livejournal.com","expanded_url":"http://m-simonyan.livejournal.com","url":"http://t.co/On5APjAtP9","indices":[0,22]}]}},"fast_followers_count":0,"favourites_count":3076,"follow_request_sent":false,"followed_by":false,"followers_count":552897,"following":false,"friends_count":459,"has_custom_timelines":false,"is_translator":false,"listed_count":2171,"location":"Moscow","media_count":1636,"muting":false,"name":"Маргарита Симоньян","normal_followers_count":552897,"notifications":false,"pinned_tweet_ids_str":[],"profile_banner_extensions":{"mediaColor":{"r":{"ok":{"palette":[{"percentage":36.45,"rgb":{"blue":54,"green":56,"red":12}},{"percentage":23.22,"rgb":{"blue":55,"green":101,"red":19}},{"percentage":10.17,"rgb":{"blue":56,"green":157,"red":38}},{"percentage":9.85,"rgb":{"blue":48,"green":25,"red":10}},{"percentage":8.5,"rgb":{"blue":143,"green":187,"red":127}}]}}}},"profile_banner_url":"https://pbs.twimg.com/profile_banners/57315004/1485876453","profile_image_extensions":{"mediaColor":{"r":{"ok":{"palette":[{"percentage":28.75,"rgb":{"blue":11,"green":15,"red":28}},{"percentage":23.62,"rgb":{"blue":52,"green":101,"red":175}},{"percentage":21.4,"rgb":{"blue":255,"green":255,"red":255}},{"percentage":19.53,"rgb":{"blue":103,"green":98,"red":35}},{"percentage":3.31,"rgb":{"blue":16,"green":43,"red":86}}]}}}},"profile_image_url_https":"https://pbs.twimg.com/profile_images/1128889282138128384/cG3Gu1tV_normal.jpg","profile_interstitial_type":"","protected":false,"screen_name":"M_Simonyan","statuses_count":26908,"translator_type":"none","url":"http://t.co/On5APjAtP9","verified":true,"want_retweets":false},"legacy_extended_profile":{},"is_profile_translatable":false}}}
Спасибо, народный Орзэмэс
Но я не боюсь пауков 🤪
Не баг.
нонадо
Тогда в @Улучшаем TJ
Глядишь, через полгода сделают
Ой блять, имел в виду, что не сделают совсем ☺️
допилят, это же на стороне твиттера проблема наверное
не уверен. тут свой рендер с сохранение снепшота
У комитета свой виджет.