UNPKG

3.56 kBTypeScriptView Raw
1export interface LikedFeedResponseRootObject {
2 items: LikedFeedResponseItemsItem[];
3 num_results: number;
4 more_available: boolean;
5 auto_load_more_enabled: boolean;
6 next_max_id: string | number;
7 status: string;
8}
9export interface LikedFeedResponseItemsItem {
10 taken_at: number;
11 pk: string;
12 id: string;
13 device_timestamp: number | string;
14 media_type: number;
15 code: string;
16 client_cache_key: string;
17 filter_type: number;
18 image_versions2: LikedFeedResponseImage_versions2;
19 original_width: number;
20 original_height: number;
21 user: LikedFeedResponseUser;
22 can_viewer_reshare: boolean;
23 caption_is_edited: boolean;
24 comment_likes_enabled: boolean;
25 comment_threading_enabled: boolean;
26 has_more_comments: boolean;
27 next_max_id?: string;
28 max_num_visible_preview_comments: number;
29 preview_comments: LikedFeedResponsePreviewCommentsItem[];
30 can_view_more_preview_comments: boolean;
31 comment_count: number;
32 inline_composer_display_condition: string;
33 inline_composer_imp_trigger_time: number;
34 like_count: number;
35 has_liked: boolean;
36 photo_of_you: boolean;
37 caption: LikedFeedResponseCaption;
38 can_viewer_save: boolean;
39 organic_tracking_token: string;
40 location?: LikedFeedResponseLocation;
41 lat?: number;
42 lng?: number;
43 usertags?: LikedFeedResponseUsertags;
44}
45export interface LikedFeedResponseImage_versions2 {
46 candidates: LikedFeedResponseCandidatesItem[];
47}
48export interface LikedFeedResponseCandidatesItem {
49 width: number;
50 height: number;
51 url: string;
52}
53export interface LikedFeedResponseUser {
54 pk: number;
55 username: string;
56 full_name: string;
57 is_private: boolean;
58 profile_pic_url: string;
59 friendship_status?: LikedFeedResponseFriendship_status;
60 is_verified: boolean;
61 has_anonymous_profile_picture?: boolean;
62 is_unpublished?: boolean;
63 is_favorite?: boolean;
64 can_see_primary_country_in_settings?: boolean;
65 latest_reel_media?: number;
66 profile_pic_id?: string;
67}
68export interface LikedFeedResponseFriendship_status {
69 following: boolean;
70 outgoing_request: boolean;
71 is_bestie: boolean;
72 is_restricted: boolean;
73}
74export interface LikedFeedResponsePreviewCommentsItem {
75 pk: string;
76 user_id: number;
77 text: string;
78 type: number;
79 created_at: number;
80 created_at_utc: number;
81 content_type: string;
82 status: string;
83 bit_flags: number;
84 user: LikedFeedResponseUser;
85 did_report_as_spam: boolean;
86 share_enabled: boolean;
87 media_id: string;
88 has_liked_comment: boolean;
89 comment_like_count: number;
90}
91export interface LikedFeedResponseCaption {
92 pk: string;
93 user_id: number;
94 text: string;
95 type: number;
96 created_at: number;
97 created_at_utc: number;
98 content_type: string;
99 status: string;
100 bit_flags: number;
101 user: LikedFeedResponseUser;
102 did_report_as_spam: boolean;
103 share_enabled: boolean;
104 media_id: string;
105 has_translation?: boolean;
106}
107export interface LikedFeedResponseLocation {
108 pk: number;
109 name: string;
110 address: string;
111 city: string;
112 short_name: string;
113 lng: number;
114 lat: number;
115 external_source: string;
116 facebook_places_id: number;
117}
118export interface LikedFeedResponseUsertags {
119 in: LikedFeedResponseInItem[];
120}
121export interface LikedFeedResponseInItem {
122 user: LikedFeedResponseUser;
123 position: (number | string)[] | number[];
124 start_time_in_video_in_sec: null;
125 duration_in_video_in_sec: null;
126}