1 | export interface TimelineFeedResponse {
|
2 | num_results: number;
|
3 | more_available: boolean;
|
4 | auto_load_more_enabled: boolean;
|
5 | feed_items: TimelineFeedResponseFeedItemsItem[];
|
6 | is_direct_v2_enabled: boolean;
|
7 | next_max_id: string;
|
8 | pagination_info: TimelineFeedResponsePagination_info;
|
9 | view_state_version: string;
|
10 | client_feed_changelist_applied: boolean;
|
11 | feed_pill_text: string;
|
12 | client_session_id: string;
|
13 | client_gap_enforcer_matrix: TimelineFeedResponseClientGapEnforcerMatrixItem[];
|
14 | status: string;
|
15 | }
|
16 | export interface TimelineFeedResponseFeedItemsItem {
|
17 | media_or_ad: TimelineFeedResponseMedia_or_ad;
|
18 | stories_netego?: TimelineFeedResponseStories_netego;
|
19 | }
|
20 | export interface TimelineFeedResponseMedia_or_ad {
|
21 | taken_at: number;
|
22 | pk: string;
|
23 | id: string;
|
24 | device_timestamp: string | number;
|
25 | media_type: number;
|
26 | code: string;
|
27 | client_cache_key: string;
|
28 | filter_type: number;
|
29 | comment_likes_enabled: boolean;
|
30 | comment_threading_enabled: boolean;
|
31 | has_more_comments: boolean;
|
32 | max_num_visible_preview_comments: number;
|
33 | preview_comments: TimelineFeedResponsePreviewCommentsItem[];
|
34 | can_view_more_preview_comments: boolean;
|
35 | comment_count: number;
|
36 | inline_composer_display_condition?: string;
|
37 | inline_composer_imp_trigger_time?: number;
|
38 | image_versions2?: TimelineFeedResponseImage_versions2;
|
39 | original_width?: number;
|
40 | original_height?: number;
|
41 | is_dash_eligible?: number;
|
42 | video_dash_manifest?: string;
|
43 | video_codec?: string;
|
44 | number_of_qualities?: number;
|
45 | video_versions?: TimelineFeedResponseVideoVersionsItem[];
|
46 | has_audio?: boolean;
|
47 | video_duration?: number;
|
48 | view_count?: number;
|
49 | user: TimelineFeedResponseUser;
|
50 | can_viewer_reshare?: boolean;
|
51 | caption_is_edited: boolean;
|
52 | like_count: number;
|
53 | has_liked: boolean;
|
54 | top_likers: string[];
|
55 | direct_reply_to_author_enabled: boolean;
|
56 | photo_of_you: boolean;
|
57 | caption: TimelineFeedResponseCaption;
|
58 | can_viewer_save: boolean;
|
59 | organic_tracking_token: string;
|
60 | preview?: string;
|
61 | inventory_source: string;
|
62 | is_seen: boolean;
|
63 | is_eof: boolean;
|
64 | injected?: TimelineFeedResponseInjected;
|
65 | collapse_comments?: boolean;
|
66 | ad_metadata?: TimelineFeedResponseAdMetadataItem[];
|
67 | link?: string;
|
68 | link_text?: string;
|
69 | ad_action?: string;
|
70 | link_hint_text?: string;
|
71 | iTunesItem?: null;
|
72 | ad_link_type?: number;
|
73 | ad_header_style?: number;
|
74 | dr_ad_type?: number;
|
75 | android_links?: TimelineFeedResponseAndroidLinksItem[];
|
76 | force_overlay?: boolean;
|
77 | hide_nux_text?: boolean;
|
78 | overlay_text?: string;
|
79 | overlay_title?: string;
|
80 | overlay_subtitle?: string;
|
81 | dominant_color?: string;
|
82 | follower_count?: number;
|
83 | post_count?: number;
|
84 | ad_id?: string;
|
85 | fb_page_url?: string;
|
86 | expiring_at?: number;
|
87 | location?: TimelineFeedResponseLocation;
|
88 | lat?: number;
|
89 | lng?: number;
|
90 | carousel_media_count?: number;
|
91 | carousel_media?: TimelineFeedResponseCarouselMediaItem[];
|
92 | can_see_insights_as_brand?: boolean;
|
93 | usertags?: TimelineFeedResponseUsertags;
|
94 | is_sidecar_child?: boolean;
|
95 | carousel_media_type?: number;
|
96 | facepile_top_likers?: TimelineFeedResponseFacepileTopLikersItem[];
|
97 | next_max_id?: string;
|
98 | }
|
99 | export interface TimelineFeedResponseImage_versions2 {
|
100 | candidates: TimelineFeedResponseCandidatesItem[];
|
101 | }
|
102 | export interface TimelineFeedResponseCandidatesItem {
|
103 | width: number;
|
104 | height: number;
|
105 | url: string;
|
106 | }
|
107 | export interface TimelineFeedResponseVideoVersionsItem {
|
108 | type: number;
|
109 | width: number;
|
110 | height: number;
|
111 | url: string;
|
112 | id: string;
|
113 | }
|
114 | export interface TimelineFeedResponseUser {
|
115 | pk: number;
|
116 | username: string;
|
117 | full_name: string;
|
118 | is_private: boolean;
|
119 | profile_pic_url: string;
|
120 | profile_pic_id?: string;
|
121 | friendship_status?: TimelineFeedResponseFriendship_status;
|
122 | is_verified: boolean;
|
123 | has_anonymous_profile_picture?: boolean;
|
124 | is_unpublished?: boolean;
|
125 | is_favorite?: boolean;
|
126 | latest_reel_media?: number;
|
127 | }
|
128 | export interface TimelineFeedResponseFriendship_status {
|
129 | following: boolean;
|
130 | outgoing_request: boolean;
|
131 | is_muting_reel: boolean;
|
132 | is_bestie: boolean;
|
133 | }
|
134 | export interface TimelineFeedResponseCaption {
|
135 | pk: string;
|
136 | user_id: number;
|
137 | text: string;
|
138 | type: number;
|
139 | created_at: number;
|
140 | created_at_utc: number;
|
141 | content_type: string;
|
142 | status: string;
|
143 | bit_flags: number;
|
144 | user: TimelineFeedResponseUser;
|
145 | did_report_as_spam: boolean;
|
146 | share_enabled: boolean;
|
147 | media_id: string;
|
148 | has_translation?: boolean;
|
149 | }
|
150 | export interface TimelineFeedResponseInjected {
|
151 | label: string;
|
152 | show_icon: boolean;
|
153 | hide_label: string;
|
154 | invalidation: null;
|
155 | is_demo: boolean;
|
156 | view_tags: any[];
|
157 | is_holdout: boolean;
|
158 | tracking_token: string;
|
159 | show_ad_choices: boolean;
|
160 | ad_title: string;
|
161 | about_ad_params: string;
|
162 | direct_share: boolean;
|
163 | ad_id: string;
|
164 | display_viewability_eligible: boolean;
|
165 | lead_gen_form_id: string | number;
|
166 | is_leadgen_native_eligible: boolean;
|
167 | hide_reasons_v2: TimelineFeedResponseHideReasonsV2Item[];
|
168 | hide_flow_type: number;
|
169 | cookies: string[];
|
170 | }
|
171 | export interface TimelineFeedResponseHideReasonsV2Item {
|
172 | text: string;
|
173 | reason: string | null;
|
174 | }
|
175 | export interface TimelineFeedResponseAdMetadataItem {
|
176 | value: string;
|
177 | type: number;
|
178 | }
|
179 | export interface TimelineFeedResponseAndroidLinksItem {
|
180 | linkType: number;
|
181 | webUri: string;
|
182 | androidClass: string;
|
183 | package: string;
|
184 | deeplinkUri: string;
|
185 | callToActionTitle: string;
|
186 | redirectUri: string;
|
187 | leadGenFormId: string | number;
|
188 | igUserId: null;
|
189 | appInstallObjectiveInvalidationBehavior: null;
|
190 | }
|
191 | export interface TimelineFeedResponseLocation {
|
192 | pk: number | string;
|
193 | name: string;
|
194 | address: string;
|
195 | city: string;
|
196 | short_name: string;
|
197 | lng: number;
|
198 | lat: number;
|
199 | external_source: string;
|
200 | facebook_places_id: number | string;
|
201 | }
|
202 | export interface TimelineFeedResponseCarouselMediaItem {
|
203 | id: string;
|
204 | media_type: number;
|
205 | image_versions2: TimelineFeedResponseImage_versions2;
|
206 | original_width: number;
|
207 | original_height: number;
|
208 | pk: string;
|
209 | carousel_parent_id: string;
|
210 | usertags?: TimelineFeedResponseUsertags;
|
211 | headline?: TimelineFeedResponseHeadline;
|
212 | video_subtitles_uri?: null;
|
213 | dominant_color?: string;
|
214 | link?: string;
|
215 | link_text?: string;
|
216 | link_hint_text?: string;
|
217 | android_links?: TimelineFeedResponseAndroidLinksItem[];
|
218 | ad_metadata?: TimelineFeedResponseAdMetadataItem[];
|
219 | ad_action?: string;
|
220 | ad_link_type?: number;
|
221 | force_overlay?: boolean;
|
222 | hide_nux_text?: boolean;
|
223 | overlay_text?: string;
|
224 | overlay_title?: string;
|
225 | overlay_subtitle?: string;
|
226 | }
|
227 | export interface TimelineFeedResponseUsertags {
|
228 | in: TimelineFeedResponseInItem[];
|
229 | }
|
230 | export interface TimelineFeedResponseInItem {
|
231 | user: TimelineFeedResponseUser;
|
232 | position: number[] | (string | number)[];
|
233 | start_time_in_video_in_sec: null;
|
234 | duration_in_video_in_sec: null;
|
235 | }
|
236 | export interface TimelineFeedResponseHeadline {
|
237 | content_type: string;
|
238 | user: TimelineFeedResponseUser;
|
239 | user_id: number;
|
240 | pk: string;
|
241 | text: string;
|
242 | type: number;
|
243 | created_at: number;
|
244 | created_at_utc: number;
|
245 | media_id: string;
|
246 | bit_flags: number;
|
247 | status: string;
|
248 | }
|
249 | export interface TimelineFeedResponsePreviewCommentsItem {
|
250 | pk: string;
|
251 | user_id: number;
|
252 | text: string;
|
253 | type: number;
|
254 | created_at: number;
|
255 | created_at_utc: number;
|
256 | content_type: string;
|
257 | status: string;
|
258 | bit_flags: number;
|
259 | user: TimelineFeedResponseUser;
|
260 | did_report_as_spam: boolean;
|
261 | share_enabled: boolean;
|
262 | media_id: string;
|
263 | has_liked_comment: boolean;
|
264 | comment_like_count: number;
|
265 | has_translation?: boolean;
|
266 | parent_comment_id?: string;
|
267 | }
|
268 | export interface TimelineFeedResponseFacepileTopLikersItem {
|
269 | pk: number;
|
270 | username: string;
|
271 | full_name: string;
|
272 | is_private: boolean;
|
273 | profile_pic_url: string;
|
274 | profile_pic_id: string;
|
275 | is_verified: boolean;
|
276 | }
|
277 | export interface TimelineFeedResponseStories_netego {
|
278 | tracking_token: string;
|
279 | hide_unit_if_seen: string;
|
280 | id: number;
|
281 | }
|
282 | export interface TimelineFeedResponsePagination_info {
|
283 | source: null;
|
284 | group_id: null;
|
285 | }
|
286 | export interface TimelineFeedResponseClientGapEnforcerMatrixItem {
|
287 | list: number[];
|
288 | }
|