UNPKG

4.09 kBTypeScriptView Raw
1export interface UserFeedResponse {
2 items: UserFeedResponseItemsItem[];
3 num_results: number;
4 more_available: boolean;
5 next_max_id: string;
6 auto_load_more_enabled: boolean;
7 status: string;
8}
9export interface UserFeedResponseItemsItem {
10 taken_at: number;
11 pk: string;
12 id: string;
13 device_timestamp: string | number;
14 media_type: number;
15 code: string;
16 client_cache_key: string;
17 filter_type: number;
18 comment_likes_enabled: boolean;
19 comment_threading_enabled: boolean;
20 has_more_comments: boolean;
21 max_num_visible_preview_comments: number;
22 preview_comments: UserFeedResponsePreviewCommentsItem[];
23 can_view_more_preview_comments: boolean;
24 comment_count: number;
25 inline_composer_display_condition: string;
26 inline_composer_imp_trigger_time: number;
27 image_versions2: UserFeedResponseImage_versions2;
28 original_width: number;
29 original_height: number;
30 user: UserFeedResponseUser;
31 can_viewer_reshare: boolean;
32 caption: null | UserFeedResponseCaption;
33 caption_is_edited: boolean;
34 like_count: number;
35 has_liked: boolean;
36 top_likers: string[];
37 facepile_top_likers?: UserFeedResponseFacepileTopLikersItem[];
38 direct_reply_to_author_enabled: boolean;
39 photo_of_you: boolean;
40 fb_user_tags?: UserFeedResponseFb_user_tags;
41 can_viewer_save: boolean;
42 organic_tracking_token: string;
43 next_max_id?: string;
44 carousel_media_count?: number;
45 carousel_media?: UserFeedResponseCarouselMediaItem[];
46 can_see_insights_as_brand?: boolean;
47 is_dash_eligible?: number;
48 video_dash_manifest?: string;
49 video_codec?: string;
50 number_of_qualities?: number;
51 video_versions?: UserFeedResponseVideoVersionsItem[];
52 has_audio?: boolean;
53 video_duration?: number;
54 view_count?: number;
55}
56export interface UserFeedResponseImage_versions2 {
57 candidates: UserFeedResponseCandidatesItem[];
58}
59export interface UserFeedResponseCandidatesItem {
60 width: number;
61 height: number;
62 url: string;
63}
64export interface UserFeedResponseUser {
65 pk: number;
66 username: string;
67 full_name: string;
68 is_private: boolean;
69 profile_pic_url: string;
70 profile_pic_id?: string;
71 is_verified: boolean;
72 has_anonymous_profile_picture?: boolean;
73 can_boost_post?: boolean;
74 can_see_organic_insights?: boolean;
75 show_insights_terms?: boolean;
76 reel_auto_archive?: string;
77 is_unpublished?: boolean;
78 allowed_commenter_type?: string;
79}
80export interface UserFeedResponseFacepileTopLikersItem {
81 pk: number;
82 username: string;
83 full_name: string;
84 is_private: boolean;
85 profile_pic_url: string;
86 profile_pic_id?: string;
87 is_verified: boolean;
88}
89export interface UserFeedResponseFb_user_tags {
90 in: any[];
91}
92export interface UserFeedResponsePreviewCommentsItem {
93 pk: string;
94 user_id: number;
95 text: string;
96 type: number;
97 created_at: number;
98 created_at_utc: number;
99 content_type: string;
100 status: string;
101 bit_flags: number;
102 user: UserFeedResponseUser;
103 did_report_as_spam: boolean;
104 share_enabled: boolean;
105 media_id: string;
106 has_liked_comment: boolean;
107 comment_like_count: number;
108 has_translation?: boolean;
109}
110export interface UserFeedResponseCaption {
111 pk: string;
112 user_id: number;
113 text: string;
114 type: number;
115 created_at: number;
116 created_at_utc: number;
117 content_type: string;
118 status: string;
119 bit_flags: number;
120 user: UserFeedResponseUser;
121 did_report_as_spam: boolean;
122 share_enabled: boolean;
123 media_id: string;
124 has_translation: boolean;
125}
126export interface UserFeedResponseCarouselMediaItem {
127 id: string;
128 media_type: number;
129 image_versions2: UserFeedResponseImage_versions2;
130 original_width: number;
131 original_height: number;
132 pk: string;
133 carousel_parent_id: string;
134 fb_user_tags: UserFeedResponseFb_user_tags;
135}
136export interface UserFeedResponseVideoVersionsItem {
137 type: number;
138 width: number;
139 height: number;
140 url: string;
141 id: string;
142}