Documentation ¶
Index ¶
- type ActivityNews
- type BlockedMedia
- type BootstrapUsers
- type CheckUsername
- type Comment
- type CommentLike
- type CreateBusinessInfo
- type DirectInbox
- type DirectRankedRecipients
- type Explore
- type FacebookOta
- type FetchQPData
- type FollowerAndFollowing
- type Friendship
- type FriendshipsShow
- type Generic
- type HighlightFeed
- type LauncherSync
- type Login
- type LoomFetchConfig
- type MSISDNHeader
- type MediaComment
- type MediaInfo
- type Presences
- type ProfileNotice
- type PushRegister
- type RecentSearches
- type ReelsMedia
- type ReelsTrayFeed
- type Response
- func (r *Response) GetErrorType() (str *string)
- func (r *Response) GetHTTPResponse() *http.Response
- func (r *Response) GetMessage() (str string)
- func (r *Response) GetRawResponse() string
- func (r *Response) IsOk() bool
- func (r *Response) SetHTTPResponse(response *http.Response)
- func (r *Response) SetIsOk()
- func (r *Response) SetRawResponse(response string)
- type ResponseInterface
- type ResumableOffset
- type ResumableUpload
- type SearchFollowerAndFollowing
- type SuggestedSearches
- type SwitchPersonalProfile
- type Sync
- type TVChannels
- type TimelineFeed
- type TokenResult
- type UploadPhoto
- type UserInfo
- type UserReelMediaFeed
- type UserStoryFeed
- type UserTimelineFeed
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type ActivityNews ¶
type ActivityNews struct { Response NewStories []models.Story `json:"new_stories"` OldStories []models.Story `json:"old_stories"` Continuation interface{} `json:"continuation"` FriendRequestStories []models.Story `json:"friend_request_stories"` Counts models.Counts `json:"counts"` Subscription models.Subscription `json:"subscription"` Partition interface{} `json:"partition"` ContinuationToken interface{} `json:"continuation_token"` AdsManager interface{} `json:"ads_manager"` Aymf models.Aymf `json:"aymf"` }
type BlockedMedia ¶
type BlockedMedia struct { Response MediaIds interface{} `json:"media_ids"` }
type BootstrapUsers ¶
type CheckUsername ¶
type CommentLike ¶
type CommentLike struct {
Response
}
type CreateBusinessInfo ¶
type DirectInbox ¶
type DirectInbox struct { Response PendingRequestsTotal interface{} `json:"pending_requests_total"` SeqId int64 `json:"seq_id"` Viewer models.User `json:"viewer"` PendingRequestsUsers []models.User `json:"pending_requests_users"` Inbox models.DirectInbox `json:"inbox"` Megaphone models.Megaphone `json:"megaphone"` SnapshotAtMs int64 `json:"snapshot_at_ms"` }
type DirectRankedRecipients ¶
type Explore ¶
type Explore struct { Response NumResults int `json:"num_results"` AutoLoadMoreEnabled interface{} `json:"auto_load_more_enabled"` Items []models.ExploreItem `json:"items"` MoreAvailable interface{} `json:"more_available"` NextMaxId interface{} `json:"next_max_id"` MaxId string `json:"max_id"` RankToken string `json:"rank_token"` }
type FacebookOta ¶
type FetchQPData ¶
type FollowerAndFollowing ¶
type FollowerAndFollowing struct { Response Users []models.User `json:"users"` SuggestedUsers models.SuggestedUsers `json:"suggested_users"` TruncateFollowRequestsAtIndex int `json:"truncate_follow_requests_at_index"` NextMaxId string `json:"next_max_id"` PageSize int64 `json:"page_size"` BigList bool `json:"big_list"` }
type Friendship ¶
type Friendship struct { Response FriendshipStatus models.FriendshipStatus `json:"friendship_status"` }
type FriendshipsShow ¶
type FriendshipsShow struct { Response models.FriendshipStatus }
type HighlightFeed ¶
type HighlightFeed struct { Response AutoLoadMoreEnabled bool `json:"auto_load_more_enabled"` NextMaxId string `json:"next_max_id"` Stories *[]models.Story `json:"stories,omitempty"` ShowEmptyState bool `json:"show_empty_state"` Tray *[]models.StoryTray `json:"tray,omitempty"` TvChannel interface{} `json:"tv_channel"` }
type LauncherSync ¶
type Login ¶
type Login struct { Response /*Pk int `json:"pk"` Username string `json:"username"` HasAnonymousProfilePicture bool `json:"has_anonymous_profile_picture"` ProfilePicUrl string `json:"profile_pic_url"` ProfilePicId string `json:"profile_pic_id"` FullName string `json:"full_name"` IsPrivate bool `json:"is_private"` IsVerified bool `json:"is_verified"` AllowedCommenterType string `json:"allowed_commenter_type"` ReelAutoArchive string `json:"reel_auto_archive"` AllowContactsSync bool `json:"allow_contacts_sync"` PhoneNumber string `json:"phone_number"` CountryCode int `json:"country_code"` NationalNumber int `json:"national_number"`*/ Buttons interface{} `json:"buttons,omitempty"` InvalidCredentials interface{} `json:"invalid_credentials,omitempty"` LoggedInUser models.User `json:"logged_in_user,omitempty"` TwoFactorRequired bool `json:"two_factor_required,omitempty"` TwoFactorInfo *models.TwoFactorInfo `json:"two_factor_info,omitempty"` CheckPointUrl string `json:"check_point_url,omitempty"` Lock interface{} `json:"lock,omitempty"` HelpUrl string `json:"help_url,omitempty"` Challenge *models.Challenge `json:"challenge,omitempty"` }
type LoomFetchConfig ¶
type LoomFetchConfig struct { Response SystemControl models.SystemControl `json:"system_control"` TraceControl models.TraceControl `json:"trace_control"` Id int `json:"id"` }
type MSISDNHeader ¶
type MediaComment ¶
type MediaComment struct { Response Comments []models.Comment `json:"comments"` CommentCount int `json:"comment_count"` CommentLikesEnabled bool `json:"comment_likes_enabled"` NextMaxId string `json:"next_max_id"` NextMinId string `json:"next_min_id"` Caption models.Caption `json:"caption"` HasMoreComments bool `json:"has_more_comments"` CaptionIsEdited bool `json:"caption_is_edited"` PreviewComments interface{} `json:"preview_comments"` HasMoreHeadloadComments bool `json:"has_more_headload_comments"` MediaHeaderDisplay string `json:"media_header_display"` ThreadingEnabled bool `json:"threading_enabled"` }
type ProfileNotice ¶
type PushRegister ¶
type PushRegister struct {
Response
}
type RecentSearches ¶
type ReelsMedia ¶
type ReelsTrayFeed ¶
type ReelsTrayFeed struct { Response StoryRankingToken string `json:"story_ranking_token"` Broadcasts []models.Broadcast `json:"broadcasts"` Tray []models.StoryTray `json:"tray"` PostLive models.PostLive `json:"post_live"` StickerVersion int `json:"sticker_version"` FaceFilterNuxVersion int `json:"face_filter_nux_version"` StoriesViewerGesturesNuxEligible bool `json:"stories_viewer_gestures_nux_eligible"` HasNewNuxStory bool `json:"has_new_nux_story"` Suggestions []models.TraySuggestions `json:"suggestions"` }
type Response ¶
type Response struct { Status string `json:"status,omitempty"` Message interface{} `json:"message,omitempty"` ErrorType *string `json:"error_type,omitempty"` ErrorTitle interface{} `json:"error_title,omitempty"` // contains filtered or unexported fields }
func (*Response) GetErrorType ¶
func (*Response) GetHTTPResponse ¶
func (*Response) GetMessage ¶
func (*Response) GetRawResponse ¶
func (*Response) SetHTTPResponse ¶
func (*Response) SetRawResponse ¶
type ResponseInterface ¶
type ResumableOffset ¶
func (*ResumableOffset) IsOk ¶
func (ro *ResumableOffset) IsOk() bool
type ResumableUpload ¶
type SearchFollowerAndFollowing ¶
type SearchFollowerAndFollowing struct { Response Users []models.User `json:"users"` SuggestedUsers models.SuggestedUsers `json:"suggested_users"` TruncateFollowRequestsAtIndex int `json:"truncate_follow_requests_at_index"` NextMaxId int64 `json:"next_max_id"` PageSize int64 `json:"page_size"` BigList bool `json:"big_list"` }
type SuggestedSearches ¶
type SwitchPersonalProfile ¶
type Sync ¶
type Sync struct { Response //Experiments []map[string]interface{} `json:"experiments"` Experiments []models.Experiment `json:"experiments"` }
type TVChannels ¶
type TVChannels struct { Response Type string `json:"type"` Title string `json:"title"` Id string `json:"id"` Items *[]models.Item `json:"items,omitempty"` MoreAvailable bool `json:"more_available"` MaxId string `json:"max_id"` SeenState interface{} `json:"seen_state"` UserDict models.User `json:"user_dict"` }
type TimelineFeed ¶
type TimelineFeed struct { Response NumResults int `json:"num_results"` ClientGapEnforcerMatrix interface{} `json:"client_gap_enforcer_matrix"` IsDirectV2Enabled bool `json:"is_direct_v_2_enabled"` AutoLoadMoreEnabled bool `json:"auto_load_more_enabled"` MoreAvailable bool `json:"more_available"` NextMaxId interface{} `json:"next_max_id"` PaginationInfo interface{} `json:"pagination_info"` FeedItems []models.FeedItem `json:"feed_items"` Megaphone models.FeedAysf `json:"megaphone"` ClientFeedChangelistApplied bool `json:"client_feed_changelist_applied"` ViewStateVersion string `json:"view_state_version"` FeedPillText string `json:"feed_pill_text"` ClientSessionId string `json:"client_session_id"` }
type TokenResult ¶
type UploadPhoto ¶
type UserReelMediaFeed ¶
type UserReelMediaFeed struct { Response Id int64 `json:"id"` /* * Unix "taken_at" timestamp of the newest item in their story reel. */ LatestReelMedia int64 `json:"latest_reel_media"` /* * The "taken_at" timestamp of the last story media you have seen for * that user (the current reels user). Defaults to `0` (not seen). */ Seen int64 `json:"seen"` CanReply bool `json:"can_reply"` ReelType string `json:"reel_type"` CoverMedia *models.CoverMedia `json:"cover_media,omitempty"` User models.User `json:"user"` Items *[]models.Item `json:"items,omitempty"` RankedPosition string `json:"ranked_position"` Title string `json:"title"` SeenRankedPosition string `json:"seen_ranked_position"` ExpiringAt int64 `json:"expiring_at"` HasBestiesMedia bool `json:"has_besties_media"` // Uses int(0) for false and 1 for true. Location *models.Location `json:"location,omitempty"` PrefetchCount int `json:"prefetch_count"` Broadcast *models.Broadcast `json:"broadcast,omitempty"` }
type UserStoryFeed ¶
type UserTimelineFeed ¶
Source Files ¶
- activity_news.go
- blocked_media.go
- bootstrap_users.go
- check_username.go
- comment.go
- comment_like.go
- create_business_info.go
- direct_inbox.go
- direct_ranked_recipients.go
- explore.go
- facebook_ota.go
- fetch_qp_data.go
- follower_and_following.go
- friendship.go
- friendships_show.go
- generic.go
- highlight_feed.go
- launcher_sync.go
- login.go
- loom_fetch_config.go
- media_comment.go
- media_info.go
- msisdn_header.go
- presences.go
- profile_notice.go
- push_register.go
- recent_searches.go
- reels_media.go
- reels_tray_feed.go
- response.go
- response_interface.go
- resumable_offset.go
- resumable_upload.go
- search_follower_and_following.go
- suggested_searches.go
- switch_personal_profile.go
- sync.go
- timeline_feed.go
- token_result.go
- tv_channels.go
- upload_photo.go
- user_info.go
- user_reel_media_feed.go
- user_story_feed.go
- user_timeline_feed.go
Click to show internal directories.
Click to hide internal directories.