Twitter API: как получить, если пользователь B следует за аутентифицированным пользователем A в вызове `statuses / mentions_timeline` - PullRequest
0 голосов
/ 28 января 2019

Я звоню, чтобы узнать о временной шкале для любого User A на моей платформе.Я хочу заботиться только о User(s) B, которые следуют за User A.

. После просмотра упомянутой полезной нагрузки есть объект user.Тем не менее, он имеет только поле following, означающее, что User A следует User B, но нет поля friends, чтобы сообщить мне, если User B следует User A

Яне видите поле, которое я могу использовать здесь?Возможно ли это выяснить без повторного вызова?

Вот пользовательский объект из упомянутого вызова:

 {
   id,
   id_str,
   name,
   screen_name,
   location,
   description,sometimes we make up facts about animals lol #fakenews',
   url,
   entities,
   {
     description,
   },
   protected,
   followers_count,
   friends_count,
   listed_count,
   created_at,
   favourites_count,
   utc_offset,
   time_zone,
   geo_enabled,
   verified,
   statuses_count,
   lang,
   contributors_enabled,
   is_translator,
   is_translation_enabled,
   profile_background_color,
   profile_background_image_url,
   profile_background_image_url_https,
   profile_background_tile,
   profile_image_url,
   profile_image_url_https,
   profile_link_color,
   profile_sidebar_border_color,
   profile_sidebar_fill_color,
   profile_text_color,
   profile_use_background_image,
   has_extended_profile,
   default_profile,
   default_profile_image,
   following,
   follow_request_sent,
   notifications,
   translator_type,
 }
...