Documentation
¶
Index ¶
- type AchievementsInfo
- type AdditionalAudioInfo
- type AdditionalCandidates
- type AudioRankingInfo
- type AudioReattributionInfo
- type BrandedContentTagInfo
- type Candidates
- type Caption
- type ClipsMetadata
- type CommentInformTreatment
- type ConsumptionInfo
- type ContentAppreciationInfo
- type Default
- type EdgeOwnerToTimelineMedia
- type FanClubInfo
- type FanConsiderationPageRevampEligiblity
- type FetchMediaResponse
- type FirstFrame
- type FriendshipStatus
- type HdProfilePicURLInfo
- type HdProfilePicVersions
- type IgArtist
- type IgtvFirstFrame
- type ImageVersions2
- type In
- type Items
- type MashupInfo
- type MediaAppreciationSettings
- type MediaCroppingInfo
- type OriginalSoundInfo
- type ProfileInfoResponse
- type ReelInfo
- type ReelInfoResponse
- type ScrubberSpritesheetInfoCandidates
- type SharingFrictionInfo
- type SquareCrop
- type User
- type Usertags
- type VideoVersions
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type AchievementsInfo ¶
type AdditionalAudioInfo ¶
type AdditionalAudioInfo struct {
AdditionalAudioUsername any `json:"additional_audio_username"`
AudioReattributionInfo AudioReattributionInfo `json:"audio_reattribution_info"`
}
type AdditionalCandidates ¶
type AdditionalCandidates struct {
IgtvFirstFrame IgtvFirstFrame `json:"igtv_first_frame"`
FirstFrame FirstFrame `json:"first_frame"`
SmartFrame any `json:"smart_frame"`
}
type AudioRankingInfo ¶
type AudioRankingInfo struct {
BestAudioClusterID string `json:"best_audio_cluster_id"`
}
type AudioReattributionInfo ¶
type AudioReattributionInfo struct {
ShouldAllowRestore bool `json:"should_allow_restore"`
}
type BrandedContentTagInfo ¶
type BrandedContentTagInfo struct {
CanAddTag bool `json:"can_add_tag"`
}
type Candidates ¶
type Caption ¶
type Caption struct {
Pk string `json:"pk"`
UserID string `json:"user_id"`
User User `json:"user"`
Type int `json:"type"`
Text string `json:"text"`
DidReportAsSpam bool `json:"did_report_as_spam"`
CreatedAt int `json:"created_at"`
CreatedAtUtc int `json:"created_at_utc"`
ContentType string `json:"content_type"`
Status string `json:"status"`
BitFlags int `json:"bit_flags"`
IsRankedComment bool `json:"is_ranked_comment"`
IsCovered bool `json:"is_covered"`
PrivateReplyStatus int `json:"private_reply_status"`
MediaID string `json:"media_id"`
}
type ClipsMetadata ¶
type ClipsMetadata struct {
MusicInfo any `json:"music_info"`
OriginalSoundInfo OriginalSoundInfo `json:"original_sound_info"`
AudioType string `json:"audio_type"`
MusicCanonicalID string `json:"music_canonical_id"`
FeaturedLabel any `json:"featured_label"`
MashupInfo MashupInfo `json:"mashup_info"`
ReusableTextInfo any `json:"reusable_text_info"`
ReusableTextAttributeString any `json:"reusable_text_attribute_string"`
NuxInfo any `json:"nux_info"`
ViewerInteractionSettings any `json:"viewer_interaction_settings"`
BrandedContentTagInfo BrandedContentTagInfo `json:"branded_content_tag_info"`
ShoppingInfo any `json:"shopping_info"`
AdditionalAudioInfo AdditionalAudioInfo `json:"additional_audio_info"`
BreakingContentInfo any `json:"breaking_content_info"`
ChallengeInfo any `json:"challenge_info"`
ReelsOnTheRiseInfo any `json:"reels_on_the_rise_info"`
BreakingCreatorInfo any `json:"breaking_creator_info"`
AssetRecommendationInfo any `json:"asset_recommendation_info"`
ContextualHighlightInfo any `json:"contextual_highlight_info"`
ClipsCreationEntryPoint string `json:"clips_creation_entry_point"`
AudioRankingInfo AudioRankingInfo `json:"audio_ranking_info"`
TemplateInfo any `json:"template_info"`
IsFanClubPromoVideo bool `json:"is_fan_club_promo_video"`
DisableUseInClipsClientCache bool `json:"disable_use_in_clips_client_cache"`
ContentAppreciationInfo ContentAppreciationInfo `json:"content_appreciation_info"`
AchievementsInfo AchievementsInfo `json:"achievements_info"`
ShowAchievements bool `json:"show_achievements"`
ShowTips any `json:"show_tips"`
MerchandisingPillInfo any `json:"merchandising_pill_info"`
IsPublicChatWelcomeVideo bool `json:"is_public_chat_welcome_video"`
ProfessionalClipsUpsellType int `json:"professional_clips_upsell_type"`
ExternalMediaInfo any `json:"external_media_info"`
}
type CommentInformTreatment ¶
type ConsumptionInfo ¶
type ConsumptionInfo struct {
IsBookmarked bool `json:"is_bookmarked"`
ShouldMuteAudioReason string `json:"should_mute_audio_reason"`
IsTrendingInClips bool `json:"is_trending_in_clips"`
ShouldMuteAudioReasonType any `json:"should_mute_audio_reason_type"`
DisplayMediaID any `json:"display_media_id"`
}
type ContentAppreciationInfo ¶
type Default ¶
type Default struct {
VideoLength float64 `json:"video_length"`
ThumbnailWidth int `json:"thumbnail_width"`
ThumbnailHeight int `json:"thumbnail_height"`
ThumbnailDuration float64 `json:"thumbnail_duration"`
SpriteUrls []string `json:"sprite_urls"`
ThumbnailsPerRow int `json:"thumbnails_per_row"`
TotalThumbnailNumPerSprite int `json:"total_thumbnail_num_per_sprite"`
MaxThumbnailsPerSprite int `json:"max_thumbnails_per_sprite"`
SpriteWidth int `json:"sprite_width"`
SpriteHeight int `json:"sprite_height"`
RenderedWidth int `json:"rendered_width"`
FileSizeKb int `json:"file_size_kb"`
}
type EdgeOwnerToTimelineMedia ¶
type EdgeOwnerToTimelineMedia struct {
Count int `json:"count"`
Edges []struct {
Node struct {
Typename string `json:"__typename"`
AccessibilityCaption string `json:"accessibility_caption"`
CoauthorProducers []any `json:"coauthor_producers"`
CommentsDisabled bool `json:"comments_disabled"`
Dimensions struct {
Height int `json:"height"`
Width int `json:"width"`
} `json:"dimensions"`
DisplayURL string `json:"display_url"`
EdgeLikedBy struct {
Count int `json:"count"`
} `json:"edge_liked_by"`
EdgeMediaPreviewLike struct {
Count int `json:"count"`
} `json:"edge_media_preview_like"`
EdgeMediaToCaption struct {
Edges []struct {
Node struct {
Text string `json:"text"`
} `json:"node"`
} `json:"edges"`
} `json:"edge_media_to_caption"`
EdgeMediaToComment struct {
Count int `json:"count"`
} `json:"edge_media_to_comment"`
EdgeMediaToTaggedUser struct {
Edges []any `json:"edges"`
} `json:"edge_media_to_tagged_user"`
EdgeSidecarToChildren struct {
Edges []struct {
Node struct {
Typename string `json:"__typename"`
AccessibilityCaption string `json:"accessibility_caption"`
Dimensions struct {
Height int `json:"height"`
Width int `json:"width"`
} `json:"dimensions"`
DisplayURL string `json:"display_url"`
EdgeMediaToTaggedUser struct {
Edges []any `json:"edges"`
} `json:"edge_media_to_tagged_user"`
FactCheckInformation any `json:"fact_check_information"`
FactCheckOverallRating any `json:"fact_check_overall_rating"`
GatingInfo any `json:"gating_info"`
HasUpcomingEvent bool `json:"has_upcoming_event"`
ID string `json:"id"`
IsVideo bool `json:"is_video"`
MediaOverlayInfo any `json:"media_overlay_info"`
MediaPreview string `json:"media_preview"`
Owner struct {
ID string `json:"id"`
Username string `json:"username"`
} `json:"owner"`
SharingFrictionInfo struct {
BloksAppURL any `json:"bloks_app_url"`
ShouldHaveSharingFriction bool `json:"should_have_sharing_friction"`
} `json:"sharing_friction_info"`
Shortcode string `json:"shortcode"`
} `json:"node"`
} `json:"edges"`
} `json:"edge_sidecar_to_children"`
FactCheckInformation any `json:"fact_check_information"`
FactCheckOverallRating any `json:"fact_check_overall_rating"`
GatingInfo any `json:"gating_info"`
HasUpcomingEvent bool `json:"has_upcoming_event"`
ID string `json:"id"`
IsVideo bool `json:"is_video"`
Location any `json:"location"`
MediaOverlayInfo any `json:"media_overlay_info"`
MediaPreview any `json:"media_preview"`
NftAssetInfo any `json:"nft_asset_info"`
Owner struct {
ID string `json:"id"`
Username string `json:"username"`
} `json:"owner"`
PinnedForUsers []any `json:"pinned_for_users"`
SharingFrictionInfo struct {
BloksAppURL any `json:"bloks_app_url"`
ShouldHaveSharingFriction bool `json:"should_have_sharing_friction"`
} `json:"sharing_friction_info"`
Shortcode string `json:"shortcode"`
TakenAtTimestamp int `json:"taken_at_timestamp"`
ThumbnailResources []struct {
ConfigHeight int `json:"config_height"`
ConfigWidth int `json:"config_width"`
Src string `json:"src"`
} `json:"thumbnail_resources"`
ThumbnailSrc string `json:"thumbnail_src"`
ViewerCanReshare bool `json:"viewer_can_reshare"`
} `json:"node,omitempty"`
} `json:"edges"`
PageInfo struct {
EndCursor string `json:"end_cursor"`
HasNextPage bool `json:"has_next_page"`
} `json:"page_info"`
}
type FanClubInfo ¶
type FanClubInfo struct {
FanClubID string `json:"fan_club_id"`
FanClubName string `json:"fan_club_name"`
IsFanClubReferralEligible bool `json:"is_fan_club_referral_eligible"`
FanConsiderationPageRevampEligiblity FanConsiderationPageRevampEligiblity `json:"fan_consideration_page_revamp_eligiblity"`
IsFanClubGiftingEligible bool `json:"is_fan_club_gifting_eligible"`
SubscriberCount int `json:"subscriber_count"`
ConnectedMemberCount int `json:"connected_member_count"`
AutosaveToExclusiveHighlight bool `json:"autosave_to_exclusive_highlight"`
HasEnoughSubscribersForSsc bool `json:"has_enough_subscribers_for_ssc"`
}
type FetchMediaResponse ¶
type FirstFrame ¶
type FriendshipStatus ¶
type FriendshipStatus struct {
Following bool `json:"following"`
FollowedBy bool `json:"followed_by"`
Blocking bool `json:"blocking"`
Muting bool `json:"muting"`
IsPrivate bool `json:"is_private"`
IncomingRequest bool `json:"incoming_request"`
OutgoingRequest bool `json:"outgoing_request"`
IsBestie bool `json:"is_bestie"`
IsRestricted bool `json:"is_restricted"`
IsFeedFavorite bool `json:"is_feed_favorite"`
}
type HdProfilePicURLInfo ¶
type HdProfilePicVersions ¶
type IgArtist ¶
type IgArtist struct {
Pk string `json:"pk"`
PkID string `json:"pk_id"`
FullName string `json:"full_name"`
IsPrivate bool `json:"is_private"`
StrongID string `json:"strong_id__"`
Username string `json:"username"`
IsVerified bool `json:"is_verified"`
ProfilePicID string `json:"profile_pic_id"`
ProfilePicURL string `json:"profile_pic_url"`
}
type IgtvFirstFrame ¶
type ImageVersions2 ¶
type ImageVersions2 struct {
Candidates []Candidates `json:"candidates"`
AdditionalCandidates AdditionalCandidates `json:"additional_candidates"`
SmartThumbnailEnabled bool `json:"smart_thumbnail_enabled"`
ScrubberSpritesheetInfoCandidates ScrubberSpritesheetInfoCandidates `json:"scrubber_spritesheet_info_candidates"`
}
type Items ¶
type Items struct {
TakenAt int `json:"taken_at"`
Pk string `json:"pk"`
ID string `json:"id"`
DeviceTimestamp int64 `json:"device_timestamp"`
ClientCacheKey string `json:"client_cache_key"`
FilterType int `json:"filter_type"`
CaptionIsEdited bool `json:"caption_is_edited"`
LikeAndViewCountsDisabled bool `json:"like_and_view_counts_disabled"`
StrongID string `json:"strong_id__"`
IsPostLiveClipsMedia bool `json:"is_post_live_clips_media"`
DeletedReason int `json:"deleted_reason"`
IntegrityReviewDecision string `json:"integrity_review_decision"`
IsUnifiedVideo bool `json:"is_unified_video"`
ShouldRequestAds bool `json:"should_request_ads"`
IsVisualReplyCommenterNoticeEnabled bool `json:"is_visual_reply_commenter_notice_enabled"`
CommercialityStatus string `json:"commerciality_status"`
ExploreHideComments bool `json:"explore_hide_comments"`
PhotoOfYou bool `json:"photo_of_you"`
ShopRoutingUserID any `json:"shop_routing_user_id"`
CanSeeInsightsAsBrand bool `json:"can_see_insights_as_brand"`
IsOrganicProductTaggingEligible bool `json:"is_organic_product_tagging_eligible"`
FbLikeCount int `json:"fb_like_count"`
HasLiked bool `json:"has_liked"`
LikeCount int `json:"like_count"`
FacepileTopLikers []any `json:"facepile_top_likers"`
TopLikers []any `json:"top_likers"`
MediaType int `json:"media_type"`
Code string `json:"code"`
Caption Caption `json:"caption"`
ClipsTabPinnedUserIds []any `json:"clips_tab_pinned_user_ids"`
CommentInformTreatment CommentInformTreatment `json:"comment_inform_treatment"`
SharingFrictionInfo SharingFrictionInfo `json:"sharing_friction_info"`
PlayCount int `json:"play_count"`
FbPlayCount int `json:"fb_play_count"`
MediaAppreciationSettings MediaAppreciationSettings `json:"media_appreciation_settings"`
OriginalMediaHasVisualReplyMedia bool `json:"original_media_has_visual_reply_media"`
CanViewerSave bool `json:"can_viewer_save"`
IsInProfileGrid bool `json:"is_in_profile_grid"`
ProfileGridControlEnabled bool `json:"profile_grid_control_enabled"`
FeaturedProducts []any `json:"featured_products"`
IsCommentsGifComposerEnabled bool `json:"is_comments_gif_composer_enabled"`
MediaCroppingInfo MediaCroppingInfo `json:"media_cropping_info"`
ProductSuggestions []any `json:"product_suggestions"`
User User `json:"user"`
ImageVersions2 ImageVersions2 `json:"image_versions2"`
OriginalWidth int `json:"original_width"`
OriginalHeight int `json:"original_height"`
IsArtistPick bool `json:"is_artist_pick"`
ProductType string `json:"product_type"`
IsPaidPartnership bool `json:"is_paid_partnership"`
MusicMetadata any `json:"music_metadata"`
OrganicTrackingToken string `json:"organic_tracking_token"`
IsThirdPartyDownloadsEligible bool `json:"is_third_party_downloads_eligible"`
CommerceIntegrityReviewDecision string `json:"commerce_integrity_review_decision"`
IgMediaSharingDisabled bool `json:"ig_media_sharing_disabled"`
IsOpenToPublicSubmission bool `json:"is_open_to_public_submission"`
CommentingDisabledForViewer bool `json:"commenting_disabled_for_viewer"`
CommentThreadingEnabled bool `json:"comment_threading_enabled"`
MaxNumVisiblePreviewComments int `json:"max_num_visible_preview_comments"`
HasMoreComments bool `json:"has_more_comments"`
PreviewComments []any `json:"preview_comments"`
Comments []any `json:"comments"`
CommentCount int `json:"comment_count"`
CanViewMorePreviewComments bool `json:"can_view_more_preview_comments"`
HideViewAllCommentEntrypoint bool `json:"hide_view_all_comment_entrypoint"`
InlineComposerDisplayCondition string `json:"inline_composer_display_condition"`
SubscribeCtaVisible bool `json:"subscribe_cta_visible"`
HasDelayedMetadata bool `json:"has_delayed_metadata"`
IsAutoCreated bool `json:"is_auto_created"`
IsQuietPost bool `json:"is_quiet_post"`
IsCutoutStickerAllowed bool `json:"is_cutout_sticker_allowed"`
ClipsMetadata ClipsMetadata `json:"clips_metadata"`
IsDashEligible int `json:"is_dash_eligible"`
VideoDashManifest string `json:"video_dash_manifest"`
VideoCodec string `json:"video_codec"`
NumberOfQualities int `json:"number_of_qualities"`
VideoVersions []VideoVersions `json:"video_versions"`
HasAudio bool `json:"has_audio"`
VideoDuration float64 `json:"video_duration"`
}
type MashupInfo ¶
type MashupInfo struct {
MashupsAllowed bool `json:"mashups_allowed"`
CanToggleMashupsAllowed bool `json:"can_toggle_mashups_allowed"`
HasBeenMashedUp bool `json:"has_been_mashed_up"`
IsLightWeightCheck bool `json:"is_light_weight_check"`
FormattedMashupsCount any `json:"formatted_mashups_count"`
OriginalMedia any `json:"original_media"`
PrivacyFilteredMashupsMediaCount any `json:"privacy_filtered_mashups_media_count"`
NonPrivacyFilteredMashupsMediaCount any `json:"non_privacy_filtered_mashups_media_count"`
MashupType any `json:"mashup_type"`
IsCreatorRequestingMashup bool `json:"is_creator_requesting_mashup"`
HasNonmimicableAdditionalAudio bool `json:"has_nonmimicable_additional_audio"`
IsPivotPageAvailable bool `json:"is_pivot_page_available"`
}
type MediaCroppingInfo ¶
type MediaCroppingInfo struct {
SquareCrop SquareCrop `json:"square_crop"`
}
type OriginalSoundInfo ¶
type OriginalSoundInfo struct {
AudioAssetID string `json:"audio_asset_id"`
MusicCanonicalID any `json:"music_canonical_id"`
ProgressiveDownloadURL string `json:"progressive_download_url"`
DurationInMs int `json:"duration_in_ms"`
DashManifest string `json:"dash_manifest"`
IgArtist IgArtist `json:"ig_artist"`
ShouldMuteAudio bool `json:"should_mute_audio"`
HideRemixing bool `json:"hide_remixing"`
OriginalMediaID string `json:"original_media_id"`
TimeCreated int `json:"time_created"`
OriginalAudioTitle string `json:"original_audio_title"`
ConsumptionInfo ConsumptionInfo `json:"consumption_info"`
FormattedClipsMediaCount any `json:"formatted_clips_media_count"`
AllowCreatorToRename bool `json:"allow_creator_to_rename"`
AudioParts []any `json:"audio_parts"`
IsExplicit bool `json:"is_explicit"`
OriginalAudioSubtype string `json:"original_audio_subtype"`
IsAudioAutomaticallyAttributed bool `json:"is_audio_automatically_attributed"`
IsReuseDisabled bool `json:"is_reuse_disabled"`
IsXpostFromFb bool `json:"is_xpost_from_fb"`
XpostFbCreatorInfo any `json:"xpost_fb_creator_info"`
IsOriginalAudioDownloadEligible bool `json:"is_original_audio_download_eligible"`
TrendRank any `json:"trend_rank"`
AudioFilterInfos []any `json:"audio_filter_infos"`
OaOwnerIsMusicArtist bool `json:"oa_owner_is_music_artist"`
}
type ProfileInfoResponse ¶
type ProfileInfoResponse struct {
Data struct {
User struct {
AiAgentType any `json:"ai_agent_type"`
BioLinks []any `json:"bio_links"`
Biography string `json:"biography"`
BiographyWithEntities struct {
Entities []any `json:"entities"`
RawText string `json:"raw_text"`
} `json:"biography_with_entities"`
BlockedByViewer bool `json:"blocked_by_viewer"`
BusinessAddressJSON any `json:"business_address_json"`
BusinessCategoryName any `json:"business_category_name"`
BusinessContactMethod string `json:"business_contact_method"`
BusinessEmail any `json:"business_email"`
BusinessPhoneNumber any `json:"business_phone_number"`
CategoryEnum any `json:"category_enum"`
CategoryName any `json:"category_name"`
ConnectedFbPage any `json:"connected_fb_page"`
CountryBlock bool `json:"country_block"`
EdgeFelixVideoTimeline struct {
Count int `json:"count"`
Edges []any `json:"edges"`
PageInfo struct {
EndCursor any `json:"end_cursor"`
HasNextPage bool `json:"has_next_page"`
} `json:"page_info"`
} `json:"edge_felix_video_timeline"`
EdgeFollow struct {
Count int `json:"count"`
} `json:"edge_follow"`
EdgeFollowedBy struct {
Count int `json:"count"`
} `json:"edge_followed_by"`
EdgeMediaCollections struct {
Count int `json:"count"`
Edges []any `json:"edges"`
PageInfo struct {
EndCursor any `json:"end_cursor"`
HasNextPage bool `json:"has_next_page"`
} `json:"page_info"`
} `json:"edge_media_collections"`
EdgeMutualFollowedBy struct {
Count int `json:"count"`
Edges []any `json:"edges"`
} `json:"edge_mutual_followed_by"`
EdgeOwnerToTimelineMedia EdgeOwnerToTimelineMedia `json:"edge_owner_to_timeline_media"`
EdgeSavedMedia struct {
Count int `json:"count"`
Edges []any `json:"edges"`
PageInfo struct {
EndCursor any `json:"end_cursor"`
HasNextPage bool `json:"has_next_page"`
} `json:"page_info"`
} `json:"edge_saved_media"`
EimuID string `json:"eimu_id"`
ExternalURL any `json:"external_url"`
ExternalURLLinkshimmed any `json:"external_url_linkshimmed"`
FbProfileBiolink any `json:"fb_profile_biolink"`
Fbid string `json:"fbid"`
FollowedByViewer bool `json:"followed_by_viewer"`
FollowsViewer bool `json:"follows_viewer"`
FullName string `json:"full_name"`
GroupMetadata any `json:"group_metadata"`
GuardianID any `json:"guardian_id"`
HasArEffects bool `json:"has_ar_effects"`
HasBlockedViewer bool `json:"has_blocked_viewer"`
HasChannel bool `json:"has_channel"`
HasClips bool `json:"has_clips"`
HasGuides bool `json:"has_guides"`
HasRequestedViewer bool `json:"has_requested_viewer"`
HideLikeAndViewCounts bool `json:"hide_like_and_view_counts"`
HighlightReelCount int `json:"highlight_reel_count"`
ID string `json:"id"`
IsBusinessAccount bool `json:"is_business_account"`
IsEmbedsDisabled bool `json:"is_embeds_disabled"`
IsGuardianOfViewer bool `json:"is_guardian_of_viewer"`
IsJoinedRecently bool `json:"is_joined_recently"`
IsPrivate bool `json:"is_private"`
IsProfessionalAccount bool `json:"is_professional_account"`
IsRegulatedC18 bool `json:"is_regulated_c18"`
IsSupervisedByViewer bool `json:"is_supervised_by_viewer"`
IsSupervisedUser bool `json:"is_supervised_user"`
IsSupervisionEnabled bool `json:"is_supervision_enabled"`
IsVerified bool `json:"is_verified"`
IsVerifiedByMv4B bool `json:"is_verified_by_mv4b"`
OverallCategoryName any `json:"overall_category_name"`
PinnedChannelsListCount int `json:"pinned_channels_list_count"`
ProfilePicURL string `json:"profile_pic_url"`
ProfilePicURLHd string `json:"profile_pic_url_hd"`
Pronouns []string `json:"pronouns"`
RequestedByViewer bool `json:"requested_by_viewer"`
RestrictedByViewer bool `json:"restricted_by_viewer"`
ShouldShowCategory bool `json:"should_show_category"`
ShouldShowPublicContacts bool `json:"should_show_public_contacts"`
ShowAccountTransparencyDetails bool `json:"show_account_transparency_details"`
TransparencyLabel any `json:"transparency_label"`
TransparencyProduct string `json:"transparency_product"`
Username string `json:"username"`
} `json:"user"`
} `json:"data"`
Status string `json:"status"`
}
type ReelInfo ¶
type ReelInfo struct {
ID string `json:"id,omitempty"`
StrongID string `json:"strong_id__,omitempty"`
LatestReelMedia int `json:"latest_reel_media,omitempty"`
ExpiringAt int `json:"expiring_at,omitempty"`
Seen int `json:"seen,omitempty"`
CanReply bool `json:"can_reply,omitempty"`
CanGifQuickReply bool `json:"can_gif_quick_reply,omitempty"`
CanReactWithAvatar bool `json:"can_react_with_avatar,omitempty"`
ReelType string `json:"reel_type,omitempty"`
AdExpiryTimestampInMillis any `json:"ad_expiry_timestamp_in_millis,omitempty"`
IsCtaStickerAvailable any `json:"is_cta_sticker_available,omitempty"`
AppStickerInfo any `json:"app_sticker_info,omitempty"`
ShouldTreatLinkStickerAsCta any `json:"should_treat_link_sticker_as_cta,omitempty"`
CoverMedia struct {
CropRect []float64 `json:"crop_rect,omitempty"`
CroppedImageVersion struct {
Height int `json:"height,omitempty"`
ScansProfile string `json:"scans_profile,omitempty"`
URL string `json:"url,omitempty"`
Width int `json:"width,omitempty"`
} `json:"cropped_image_version,omitempty"`
FullImageVersion any `json:"full_image_version,omitempty"`
MediaID string `json:"media_id,omitempty"`
UploadID string `json:"upload_id,omitempty"`
} `json:"cover_media,omitempty"`
User struct {
Pk string `json:"pk,omitempty"`
PkID string `json:"pk_id,omitempty"`
FullName string `json:"full_name,omitempty"`
IsPrivate bool `json:"is_private,omitempty"`
StrongID string `json:"strong_id__,omitempty"`
Username string `json:"username,omitempty"`
InteropMessagingUserFbid int64 `json:"interop_messaging_user_fbid,omitempty"`
IsVerified bool `json:"is_verified,omitempty"`
FriendshipStatus struct {
Following bool `json:"following,omitempty"`
IsPrivate bool `json:"is_private,omitempty"`
IncomingRequest bool `json:"incoming_request,omitempty"`
OutgoingRequest bool `json:"outgoing_request,omitempty"`
IsBestie bool `json:"is_bestie,omitempty"`
IsRestricted bool `json:"is_restricted,omitempty"`
IsFeedFavorite bool `json:"is_feed_favorite,omitempty"`
} `json:"friendship_status,omitempty"`
ProfilePicID string `json:"profile_pic_id,omitempty"`
ProfilePicURL string `json:"profile_pic_url,omitempty"`
} `json:"user,omitempty"`
Items []struct {
TakenAt int `json:"taken_at,omitempty"`
Pk string `json:"pk,omitempty"`
ID string `json:"id,omitempty"`
CaptionPosition float64 `json:"caption_position,omitempty"`
IsReelMedia bool `json:"is_reel_media,omitempty"`
IsTerminalVideoSegment bool `json:"is_terminal_video_segment,omitempty"`
DeviceTimestamp int64 `json:"device_timestamp,omitempty"`
ClientCacheKey string `json:"client_cache_key,omitempty"`
FilterType int `json:"filter_type,omitempty"`
CaptionIsEdited bool `json:"caption_is_edited,omitempty"`
LikeAndViewCountsDisabled bool `json:"like_and_view_counts_disabled,omitempty"`
StrongID string `json:"strong_id__,omitempty"`
IsReshareOfTextPostAppMediaInIg bool `json:"is_reshare_of_text_post_app_media_in_ig,omitempty"`
IsPostLiveClipsMedia bool `json:"is_post_live_clips_media,omitempty"`
DeletedReason int `json:"deleted_reason,omitempty"`
IntegrityReviewDecision string `json:"integrity_review_decision,omitempty"`
HasSharedToFb int `json:"has_shared_to_fb,omitempty"`
ExpiringAt int `json:"expiring_at,omitempty"`
IsUnifiedVideo bool `json:"is_unified_video,omitempty"`
ShouldRequestAds bool `json:"should_request_ads,omitempty"`
IsVisualReplyCommenterNoticeEnabled bool `json:"is_visual_reply_commenter_notice_enabled,omitempty"`
CommercialityStatus string `json:"commerciality_status,omitempty"`
ExploreHideComments bool `json:"explore_hide_comments,omitempty"`
ShopRoutingUserID any `json:"shop_routing_user_id,omitempty"`
CanSeeInsightsAsBrand bool `json:"can_see_insights_as_brand,omitempty"`
IsOrganicProductTaggingEligible bool `json:"is_organic_product_tagging_eligible,omitempty"`
Likers []any `json:"likers,omitempty"`
MediaType int `json:"media_type,omitempty"`
Code string `json:"code,omitempty"`
Caption any `json:"caption,omitempty"`
ClipsTabPinnedUserIds []any `json:"clips_tab_pinned_user_ids,omitempty"`
CommentInformTreatment struct {
ShouldHaveInformTreatment bool `json:"should_have_inform_treatment,omitempty"`
Text string `json:"text,omitempty"`
URL any `json:"url,omitempty"`
ActionType any `json:"action_type,omitempty"`
} `json:"comment_inform_treatment,omitempty"`
SharingFrictionInfo struct {
ShouldHaveSharingFriction bool `json:"should_have_sharing_friction,omitempty"`
BloksAppURL any `json:"bloks_app_url,omitempty"`
SharingFrictionPayload any `json:"sharing_friction_payload,omitempty"`
} `json:"sharing_friction_info,omitempty"`
HasTranslation bool `json:"has_translation,omitempty"`
AccessibilityCaption string `json:"accessibility_caption,omitempty"`
OriginalMediaHasVisualReplyMedia bool `json:"original_media_has_visual_reply_media,omitempty"`
CanViewerSave bool `json:"can_viewer_save,omitempty"`
IsInProfileGrid bool `json:"is_in_profile_grid,omitempty"`
ProfileGridControlEnabled bool `json:"profile_grid_control_enabled,omitempty"`
IsCommentsGifComposerEnabled bool `json:"is_comments_gif_composer_enabled,omitempty"`
HighlightsInfo struct {
AddedTo []struct {
ReelID string `json:"reel_id,omitempty"`
Title string `json:"title,omitempty"`
} `json:"added_to,omitempty"`
} `json:"highlights_info,omitempty"`
ProductSuggestions []any `json:"product_suggestions,omitempty"`
AttributionContentURL string `json:"attribution_content_url,omitempty"`
ImageVersions2 struct {
Candidates []struct {
Width int `json:"width,omitempty"`
Height int `json:"height,omitempty"`
URL string `json:"url,omitempty"`
} `json:"candidates,omitempty"`
} `json:"image_versions2,omitempty"`
OriginalWidth int `json:"original_width,omitempty"`
OriginalHeight int `json:"original_height,omitempty"`
ProductType string `json:"product_type,omitempty"`
IsPaidPartnership bool `json:"is_paid_partnership,omitempty"`
MusicMetadata any `json:"music_metadata,omitempty"`
OrganicTrackingToken string `json:"organic_tracking_token,omitempty"`
IgMediaSharingDisabled bool `json:"ig_media_sharing_disabled,omitempty"`
Crosspost []string `json:"crosspost,omitempty"`
IsOpenToPublicSubmission bool `json:"is_open_to_public_submission,omitempty"`
HasDelayedMetadata bool `json:"has_delayed_metadata,omitempty"`
IsAutoCreated bool `json:"is_auto_created,omitempty"`
IsCutoutStickerAllowed bool `json:"is_cutout_sticker_allowed,omitempty"`
User struct {
Pk string `json:"pk,omitempty"`
IsPrivate bool `json:"is_private,omitempty"`
} `json:"user,omitempty"`
CanReshare bool `json:"can_reshare,omitempty"`
CanReply bool `json:"can_reply,omitempty"`
CanSendPrompt bool `json:"can_send_prompt,omitempty"`
IsFirstTake bool `json:"is_first_take,omitempty"`
IsRollcallV2 bool `json:"is_rollcall_v2,omitempty"`
IsSuperlative bool `json:"is_superlative,omitempty"`
IsFbPostFromFbStory bool `json:"is_fb_post_from_fb_story,omitempty"`
CanPlaySpotifyAudio bool `json:"can_play_spotify_audio,omitempty"`
ArchiveStoryDeletionTs int `json:"archive_story_deletion_ts,omitempty"`
CreatedFromAddYoursBrowsing bool `json:"created_from_add_yours_browsing,omitempty"`
StoryFeedMedia []struct {
X float64 `json:"x,omitempty"`
Y float64 `json:"y,omitempty"`
Z float64 `json:"z,omitempty"`
Width float64 `json:"width,omitempty"`
Height float64 `json:"height,omitempty"`
Rotation float64 `json:"rotation,omitempty"`
IsPinned int `json:"is_pinned,omitempty"`
IsHidden int `json:"is_hidden,omitempty"`
IsSticker int `json:"is_sticker,omitempty"`
IsFbSticker int `json:"is_fb_sticker,omitempty"`
StartTimeMs float64 `json:"start_time_ms,omitempty"`
EndTimeMs float64 `json:"end_time_ms,omitempty"`
MediaID string `json:"media_id,omitempty"`
ProductType string `json:"product_type,omitempty"`
MediaCode string `json:"media_code,omitempty"`
MediaCompoundStr string `json:"media_compound_str,omitempty"`
} `json:"story_feed_media,omitempty"`
HasLiked bool `json:"has_liked,omitempty"`
SupportsReelReactions bool `json:"supports_reel_reactions,omitempty"`
CanSendCustomEmojis bool `json:"can_send_custom_emojis,omitempty"`
ShowOneTapFbShareTooltip bool `json:"show_one_tap_fb_share_tooltip,omitempty"`
} `json:"items,omitempty"`
Title string `json:"title,omitempty"`
CreatedAt int `json:"created_at,omitempty"`
IsPinnedHighlight bool `json:"is_pinned_highlight,omitempty"`
PrefetchCount int `json:"prefetch_count,omitempty"`
MediaCount int `json:"media_count,omitempty"`
MediaIds []string `json:"media_ids,omitempty"`
IsCacheable bool `json:"is_cacheable,omitempty"`
IsConvertedToClips bool `json:"is_converted_to_clips,omitempty"`
DisabledReplyTypes []string `json:"disabled_reply_types,omitempty"`
HighlightReelType string `json:"highlight_reel_type,omitempty"`
}
type ReelInfoResponse ¶
type ReelInfoResponse struct {
Reels map[string]ReelInfo `json:"reels,omitempty"`
ReelsMedia []ReelInfo `json:"reels_media,omitempty"`
Status string `json:"status,omitempty"`
}
Reel info is mapped by the reel id
type ScrubberSpritesheetInfoCandidates ¶
type ScrubberSpritesheetInfoCandidates struct {
Default Default `json:"default"`
}
type SharingFrictionInfo ¶
type SquareCrop ¶
type User ¶
type User struct {
FbidV2 string `json:"fbid_v2"`
FullName string `json:"full_name"`
ID string `json:"id"`
IsPrivate bool `json:"is_private"`
IsUnpublished bool `json:"is_unpublished"`
Pk string `json:"pk"`
PkID string `json:"pk_id"`
ShowAccountTransparencyDetails bool `json:"show_account_transparency_details"`
StrongID string `json:"strong_id__"`
ThirdPartyDownloadsEnabled int `json:"third_party_downloads_enabled"`
AccountBadges []any `json:"account_badges"`
FanClubInfo FanClubInfo `json:"fan_club_info"`
FriendshipStatus FriendshipStatus `json:"friendship_status"`
HasAnonymousProfilePicture bool `json:"has_anonymous_profile_picture"`
HdProfilePicURLInfo HdProfilePicURLInfo `json:"hd_profile_pic_url_info"`
HdProfilePicVersions []HdProfilePicVersions `json:"hd_profile_pic_versions"`
IsFavorite bool `json:"is_favorite"`
IsVerified bool `json:"is_verified"`
LatestReelMedia int `json:"latest_reel_media"`
ProfilePicID string `json:"profile_pic_id"`
ProfilePicURL string `json:"profile_pic_url"`
TransparencyProductEnabled bool `json:"transparency_product_enabled"`
Username string `json:"username"`
}
Click to show internal directories.
Click to hide internal directories.