Versions in this module Expand all Collapse all v0 v0.0.2 Dec 31, 2023 Changes in this version + const MuteAll + const MutePosts + const MuteStory + const TooManyRequestsTimeout + var AUTOREFRESH fetchReason = "auto_refresh" + var COLDSTART fetchReason = "cold_start_fetch" + var Err2FANoCode = errors.New("2FA seed is not set, and no code was provided. Please do atleast one of them") + var Err2FARequired = errors.New(...) + var ErrAllSaved = errors.New("unable to call function for collection all posts") + var ErrBadPassword = errors.New("password is incorrect") + var ErrByteIndexNotFound = errors.New("failed to index byte slice, delim not found") + var ErrCarouselMediaLimit = errors.New("carousel media limit of 10 exceeded") + var ErrCarouselType = ErrInvalidImage + var ErrChallengeFailed = errors.New("failed to solve challenge automatically") + var ErrChallengeRequired = errors.New("challenge required") + var ErrCheckpointPassed = errors.New(...) + var ErrCheckpointRequired = errors.New("checkpoint required") + var ErrChromeNotFound = errors.New(...) + var ErrConvNotPending = errors.New("unable to perform action, conversation is not pending") + var ErrIGTVNoSeries = errors.New(...) + var ErrInstaNotDefined = errors.New(...) + var ErrInvalidCode = errors.New("the security code provided is incorrect") + var ErrInvalidFormat = errors.New("invalid file type, please use one of jpeg, jpg, mp4") + var ErrInvalidImage = errors.New("invalid file type, please use a jpeg or jpg image") + var ErrInvalidTab = errors.New("invalid tab, please select top or recent") + var ErrLoggedOut = errors.New("you have been logged out, please log back in") + var ErrLoginRequired = errors.New("you are not logged in, please login") + var ErrLogoutFailed = errors.New("failed to logout") + var ErrMediaDeleted = errors.New("sorry, this media has been deleted") + var ErrNoMedia = errors.New("failed to download, no media found") + var ErrNoMore = errors.New("no more posts availible, page end has been reached") + var ErrNoPendingFriendship = errors.New(...) + var ErrNoProfilePicURL = errors.New("no profile picture url was found. Please fetch the profile first") + var ErrNoValidLogin = errors.New("no valid login found") + var ErrNotHighlight = errors.New("unable to sync, Reel is not of type highlight") + var ErrSearchUserNotFound = errors.New("User not found in search result") + var ErrSessionNotSet = errors.New("session identifier is not set, please log in again to set it") + var ErrStoryBadMediaType = errors.New("when uploading multiple items to your story at once, all have to be mp4") + var ErrStoryMediaTooLong = errors.New("story media must not exceed 15 seconds per item") + var ErrTooManyRequests = errors.New("too many requests, please wait a few minutes before you try again") + var G6 = Device + var GalaxyS10 = Device + var PAGINATION fetchReason = "pagination" + var PULLTOREFRESH fetchReason = "pull_to_refresh" + var RespErr2FA = "two_factor_required" + var WARMSTART fetchReason = "warm_start_fetch" + func EnvProvision(path string, refresh ...bool) error + func EnvRandLogin(path ...string) (string, string, error) + func EnvUpdateAccs(path string, newAccs []*EnvAcc) error + func EnvUpdateEnc(path string, newAccs []*EnvEncAcc) error + func EnvUpdatePlain(path string, newAccs []*EnvPlainAcc) error + func GetBest(obj interface{}) string + func MediaIDFromShortID(code string) (string, error) + func MediaToString(t int) string + func MergeMapI(one map[string]interface{}, extra ...map[string]interface{}) map[string]interface + func MergeMapS(one map[string]string, extra ...map[string]string) map[string]string + type Account struct + AddressStreet string + AllowContactsSync bool + AllowedCommenterType string + Biography string + BusinessContactMethod string + Byline string + CanBoostPost bool + CanSeeOrganicInsights bool + Category string + CityID int64 + CityName string + ContactPhoneNumber string + DirectMessaging string + Email string + ExternalLynxURL string + ExternalURL string + FbPageCallToActionID string + FollowerCount int + FollowingCount int + FullName string + Gender int + GeoMediaCount int + HasAnonymousProfilePicture bool + HasBiographyTranslation bool + HasChaining bool + HdProfilePicURLInfo PicURLInfo + HdProfilePicVersions []PicURLInfo + ID int64 + IsBusiness bool + IsCallToActionEnabled bool + IsPrivate bool + IsUnpublished bool + IsVerified bool + LatestReelMedia int64 + Latitude float64 + Longitude float64 + MediaCount int + MutualFollowersCount float64 + Nametag Nametag + PhoneNumber string + ProfilePicID string + ProfilePicURL string + PublicEmail string + PublicPhoneCountryCode string + PublicPhoneNumber string + ReelAutoArchive string + SearchSocialContext string + ShowInsightsTerms bool + SocialContext string + Username string + UsertagsCount int + Zip string + func (acc *Account) GetEnvEncAcc() (*EnvEncAcc, error) + func (account *Account) Archived(params ...interface{}) *FeedMedia + func (account *Account) ChangePassword(old, new_ string) error + func (account *Account) ChangeProfilePic(photo io.Reader) error + func (account *Account) EditBiography(bio string) error + func (account *Account) EditName(name string) error + func (account *Account) EditUrl(url string) error + func (account *Account) Feed(params ...interface{}) *FeedMedia + func (account *Account) Followers(query string) *Users + func (account *Account) Following(query string, order FollowOrder) *Users + func (account *Account) FriendhipsShowMany(userIds []string) (map[string]Friendship, error) + func (account *Account) Liked() *FeedMedia + func (account *Account) PendingFollowRequests() (*PendingRequests, error) + func (account *Account) PendingRequestCount() (int, error) + func (account *Account) RemoveProfilePic() error + func (account *Account) Saved() *SavedMedia + func (account *Account) SetPrivate() error + func (account *Account) SetPublic() error + func (account *Account) Stories() (*StoryMedia, error) + func (account *Account) Sync() error + func (account *Account) Tags(minTimestamp []byte) (*FeedMedia, error) + func (account *Account) UpdateProfile(form map[string]string) error + type Activity struct + Ad struct{ ... } + ContinuationToken int64 + Counts struct{ ... } + FirstRecTs float64 + FriendRequestStories []interface{} + LastChecked float64 + NewStories []RecentItems + NextID string + OldStories []RecentItems + Status string + Subscription interface{} + func (act *Activity) Error() error + func (act *Activity) MarkAsSeen() error + func (act *Activity) Next() bool + type AnimatedMedia struct + ID string + Images struct{ ... } + IsRandom bool + IsSticker bool + type BlockedUser struct + BlockAt int64 + FullName string + ProfilePicURL string + UserID int64 + Username string + func (b *BlockedUser) Unblock() error + type Broadcast struct + BroadcastStatus string + Cobroadcasters []*User + CoverFrameURL string + DashAbrPlaybackURL string + DashManifest string + DashPlaybackURL string + Dimensions struct{ ... } + EncodingTag string + Experiments map[string]interface{} + ExpireAt int64 + HideFromFeedUnit bool + ID int64 + InternalOnly bool + IsGamingContent bool + IsPlayerLiveTrace int + IsPolicyViolation bool + IsViewerCommentAllowed bool + LastCommentFetchTs int64 + LastCommentTotal int + LastCommentTs int64 + LastLikeTs int64 + LiveCommentMentionEnabled bool + LiveCommentRepliesEnabled bool + LivePostID int64 + MediaID string + Message string + NumberOfQualities int + OrganicTrackingToken string + PayViewerConfig struct{ ... } + PolicyViolationReason string + PublishedTime int64 + ResponseTs int64 + Status string + User User + VideoDuration float64 + ViewerCount float64 + Visibility int + func (br *Broadcast) Discover() (*IGTVChannel, error) + func (br *Broadcast) DownloadCoverFrame() ([]byte, error) + func (br *Broadcast) GetComments() (*BroadcastComments, error) + func (br *Broadcast) GetHeartbeat() (*BroadcastHeartbeat, error) + func (br *Broadcast) GetInfo() error + func (br *Broadcast) GetLikes() (*BroadcastLikes, error) + func (br *Broadcast) GetLiveChaining() ([]*Broadcast, error) + type BroadcastComments struct + CanViewMorePreviewComments bool + Caption *Caption + CaptionIsEdited bool + CommentCount int + CommentLikesEnabled bool + CommentMuted int + Comments []*Comment + HasMoreComments bool + HasMoreHeadloadComments bool + IsFirstFetch string + IsViewerCommentAllowed bool + LiveSecondsPerComment int + MediaHeaderDisplay string + PinnedComment *Comment + Status string + SystemComments []*Comment + UserPaySupportersInfo struct{ ... } + type BroadcastHeartbeat struct + BroadcastStatus string + CobroadcasterIds []string + OffsetVideoStart float64 + RequestToJoinEnabled int + Status string + UserPayMaxAmountReached bool + ViewerCount float64 + type BroadcastLikes struct + BurstLikes int + LikeTs int64 + Likers []struct{ ... } + Likes int + PaySupporterInfo struct{ ... } + Status string + type Candidate struct + Height int + ScansProfile string + URL string + Width int + type Caption struct + BitFlags int + ContentType string + CreatedAt int64 + CreatedAtUtc int64 + DidReportAsSpam bool + HasTranslation bool + ID interface{} + MediaID int64 + Status string + Text string + Type int + User User + UserID int64 + type Challenge struct + ApiPath string + Context *ChallengeContext + Errors []string + FlowRenderType int + HideWebviewHeader bool + Lock bool + LoggedInUser *Account + Logout bool + NativeFlow bool + Status string + TwoFactorInfo TwoFactorInfo + TwoFactorRequired bool + URL string + UserID int64 + func (c *Challenge) Process() error + func (c *Challenge) ProcessOld(apiURL string) error + func (challenge *Challenge) SendSecurityCode(code string) error + type ChallengeContext struct + Action string + IsStateless bool + NonceCode string + StepData ChallengeStepData + StepName string + TypeEnum string + UserID int64 + type ChallengeError struct + Challenge struct{ ... } + ErrorType string + Message string + Status string + func (e ChallengeError) Error() string + type ChallengeStepData struct + BigBlueToken string + Choice string + ContactPoint string + Email string + FbAccessToken string + FormType string + GoogleOauthToken string + ResendDelay interface{} + SecurityCode string + type Checkpoint struct + FlowRenderType int + Lock bool + URL string + func (c *Checkpoint) Process() error + type Collection struct + Cover struct{ ... } + ID string + Items []Item + MediaCount int + MoreAvailable bool + Name string + NextID interface{} + NumResults int + Type string + func (c *Collection) AddCollaborators(colab ...User) error + func (c *Collection) ChangeCover(item Item) error + func (c *Collection) ChangeName(name string) error + func (c *Collection) Delete() error + func (c *Collection) Error() error + func (c *Collection) GetNextID() string + func (c *Collection) Next(params ...interface{}) bool + func (c *Collection) RemoveMedia(items ...Item) error + func (c *Collection) Sync() error + type Collections struct + AutoLoadMoreEnabled bool + Items []*Collection + MoreAvailable bool + NextID string + NumResults int + Status string + func (c *Collections) Create(name string, items ...Item) (*Collection, error) + func (c *Collections) Error() error + func (c *Collections) Latest() []*Collection + func (c *Collections) Next() bool + type Comment struct + BitFlags int + ChildCommentCount int + CommentIndex int + CommentLikeCount int + ContentType string + CreatedAt int64 + CreatedAtUtc int64 + DidReportAsSpam bool + HasLikedComment bool + HasMoreHeadChildComments bool + HasMoreTailChildComments bool + ID interface{} + InlineComposerDisplayCondition string + IsCovered bool + NextMaxChildCursor string + NextMinChildCursor string + NumHeadChildComments int + NumTailChildComments int + OtherPreviewUsers []*User + PreviewChildComments []Comment + PrivateReplyStatus int64 + ShareEnabled bool + Status string + SupporterInfo struct{ ... } + Text string + Type interface{} + User User + UserID int64 + func (c *Comment) Delete() error + func (c *Comment) Like() error + func (c *Comment) Unlike() error + type CommentInfo struct + CanViewMorePreview bool + CommentCount int + HasMore bool + HideViewAllCommentEntrypoint bool + InlineComposerDisplayCondition string + InlineComposerImpTriggerTime int + LikesEnabled bool + MaxNumVisiblePreview int + PreviewComments []interface{} + ThreadingEnabled bool + type CommentOffensive struct + BullyClassifier float64 + HateClassifier float64 + IsOffensive bool + SexualClassifier float64 + Status string + TextLanguage string + type Comments struct + Caption Caption + CaptionIsEdited bool + CommentCount int64 + CommentLikesEnabled bool + DisplayRealtimeTypingIndicator bool + HasMoreComments bool + HasMoreHeadloadComments bool + InitiateAtTop bool + InsertNewCommentToTop bool + Items []Comment + MediaHeaderDisplay string + NextID json.RawMessage + NextMinID json.RawMessage + PreviewComments []Comment + Status string + ThreadingEnabled bool + func (comments *Comments) Add(text string) (err error) + func (comments *Comments) BulkDelete(c []*Comment) error + func (comments *Comments) DeleteMine(limit int) error + func (comments *Comments) Disable() error + func (comments *Comments) Enable() error + func (comments *Comments) Next() bool + func (comments *Comments) Sync() + func (comments Comments) Error() error + type ConfigFile struct + Account *Account + Device Device + DeviceID string + FamilyID string + HeaderOptions map[string]string + ID int64 + PhoneID string + RankToken string + SessionNonce string + TOTP *TOTP + Token string + UUID string + User string + XmidExpiry int64 + type Contact struct + Emails []string + Name string + Numbers []string + type Contacts struct + func (c *Contacts) SyncContacts(contacts *[]Contact) (*SyncAnswer, error) + func (c *Contacts) UnlinkContacts() error + type Conversation struct + AdminUserIDs []int64 + ApprovalRequiredNewMembers bool + Archived bool + ExpiringMediaReceiveCount int + ExpiringMediaSendCount int + HasNewer bool + HasOlder bool + HasRestrictedUser bool + ID string + Inviter *User + IsCloseFriendThread bool + IsGroup bool + IsPin bool + IsVerifiedThread bool + Items []*InboxItem + LastActivityAt int64 + LastPermanentItem InboxItem + LastSeenAt map[string]lastSeenAt + LeftUsers []*User + Muted bool + Named bool + NewestCursor string + OldestCursor string + Pending bool + PendingScore int64 + ReshareReceiveCount int + ReshareSendCount int + ShhModeEnabled bool + ShhReplayEnabled bool + Spam bool + ThreadType string + Title string + Users []*User + V2ID string + ValuedRequest bool + ViewerID int64 + func (c *Conversation) Approve() error + func (c *Conversation) Error() error + func (c *Conversation) GetItems() error + func (c *Conversation) MarkAsSeen(msg InboxItem) error + func (c *Conversation) Next() bool + func (c *Conversation) Refresh() error + func (c *Conversation) Send(text string) error + func (c *Conversation) Write(b []byte) (int, error) + func (conv *Conversation) Hide() error + type Cooldowns struct + Default int + Global int + Slots []struct{ ... } + Status string + Surfaces []struct{ ... } + TTL int + type Device struct + AndroidRelease int + AndroidVersion int + Chipset string + CodeName string + Manufacturer string + Model string + ScreenDpi string + ScreenResolution string + type Discover struct + AutoLoadMoreEnabled bool + Clusters []struct{ ... } + Items []DiscoverSectionalItem + MaxID string + MoreAvailable bool + NextID string + NumResults int + RankToken string + SectionalItems []DiscoverSectionalItem + SessionPagingToken string + Status string + func (disc *Discover) Error() error + func (disc *Discover) Next() bool + func (disc *Discover) Refresh() bool + type DiscoverMediaItem struct + Media Item + type DiscoverSectionalItem struct + ExploreItemInfo struct{ ... } + FeedType string + LayoutContent struct{ ... } + LayoutType string + type EnvAcc struct + Enc *EnvEncAcc + Plain *EnvPlainAcc + func EnvReadAccs(p ...string) ([]*EnvAcc, error) + type EnvEncAcc struct + Base64 string + Name string + Username string + type EnvPlainAcc struct + Name string + Password string + Username string + func EnvLoadPlain(path ...string) ([]*EnvPlainAcc, error) + type ErrChallengeProcess struct + StepName string + func (ec ErrChallengeProcess) Error() string + type Error400 struct + Challenge *Challenge + Code int + DebugInfo struct{ ... } + Endpoint string + ErrorBody string + ErrorTitle string + ErrorType string + Message string + Payload struct{ ... } + PhoneVerificationSettings phoneVerificationSettings + Status string + TwoFactorInfo *TwoFactorInfo + TwoFactorRequired bool + func (e *Error400) GetMessage() string + func (e Error400) Error() string + type Error503 struct + Message string + func (e Error503) Error() string + type ErrorN struct + Endpoint string + ErrorType string + Message string + Status string + func (e ErrorN) Error() string + type Feed struct + func (feed *Feed) LocationID(locationID int64) (*FeedLocation, error) + func (feed *Feed) Tags(tag string) (*FeedTag, error) + type FeedLocation struct + AutoLoadMoreEnabled bool + Items []*Item + Location Location + MediaCount int + MoreAvailable bool + NextID string + NumResults int + RankedItems []*Item + Status string + type FeedMedia struct + AutoLoadMoreEnabled bool + Items []*Item + MoreAvailable bool + NextID interface{} + NumResults int + Status string + func (media *FeedMedia) Delete() error + func (media *FeedMedia) Error() error + func (media *FeedMedia) GetCommentInfo() error + func (media *FeedMedia) GetNextID() string + func (media *FeedMedia) Latest() []*Item + func (media *FeedMedia) Next(params ...interface{}) bool + func (media *FeedMedia) SetID(id interface{}) + func (media *FeedMedia) SetInstagram(insta *Instagram) + func (media *FeedMedia) Sync() error + type FeedTag struct + AutoLoadMoreEnabled bool + Items []*Item + MoreAvailable bool + NextID string + NumResults int + RankedItems []*Item + Status string + Story StoryMedia + func (ft *FeedTag) Error() error + func (ft *FeedTag) Next() bool + type FollowOrder string + const DefaultOrder + const EarliestOrder + const LatestOrder + type Friendship struct + Blocking bool + FollowedBy bool + Following bool + IncomingRequest bool + IsBestie bool + IsBlockingReel bool + IsMutingReel bool + IsPrivate bool + IsRestricted bool + Muting bool + OutgoingRequest bool + type Hashtag struct + AllowFollowing interface{} + AllowMutingStory interface{} + AutoLoadMoreEnabled bool + DebugInfo interface{} + Description string + FollowStatus interface{} + Following interface{} + FormattedMediaCount string + ID int64 + Items []*Item + ItemsRecent []*Item + MediaCount int + MoreAvailable bool + Name string + NextID string + NextMediaIds []int64 + NextPage int + NonViolating interface{} + NumResults int + PageInfo map[string]hashtagPageInfo + ProfilePicURL interface{} + RelatedTags interface{} + Sections []hashtagSection + Status string + Story *StoryMedia + Subtitle string + func (h *Hashtag) ClearError() + func (h *Hashtag) Delete() error + func (h *Hashtag) Error() error + func (h *Hashtag) GetNextID() string + func (h *Hashtag) Info() error + func (h *Hashtag) Latest() []*Item + func (h *Hashtag) Next(p ...interface{}) bool + func (h *Hashtag) NextRecent() bool + func (h *Hashtag) Stories() error + func (h *Hashtag) Sync() error + type IGTV struct + Badging interface{} + BannerToken interface{} + BrowseItems interface{} + Channels []IGTVChannel + Composer interface{} + DestinationClientConfigs interface{} + DestinationItems []IGTVItem + Items []*Item + MaxID string + MoreAvailable bool + MyChannel struct{} + NumResults int + RankToken int + SeenState interface{} + Status string + func (igtv *IGTV) Delete() error + func (igtv *IGTV) Error() error + func (igtv *IGTV) GetNextID() string + func (igtv *IGTV) Latest() []*Item + func (igtv *IGTV) Live() (*IGTVChannel, error) + func (igtv *IGTV) Next(params ...interface{}) bool + type IGTVChannel struct + ApproxTotalVideos interface{} + ApproxVideosFormatted interface{} + Broadcasts []*Broadcast + CoverPhotoUrl string + Description string + DestinationClientConfigs interface{} + ID string + Items []*Item + MoreAvailable bool + NextID interface{} + NumResults int + SeenState interface{} + Title string + Type string + User *User + func (igtv *IGTVChannel) Delete() error + func (igtv *IGTVChannel) Error() error + func (igtv *IGTVChannel) GetNextID() string + func (igtv *IGTVChannel) Latest() []*Item + func (igtv *IGTVChannel) Live() (*IGTVChannel, error) + func (igtv *IGTVChannel) Next(params ...interface{}) bool + type IGTVItem struct + Channel IGTVChannel + Hashtag interface{} + Item *Item + Keyword interface{} + LogingInfo struct{ ... } + Title string + Type string + User User + type Images struct + Versions []Candidate + func (img Images) GetBest() string + type Inbox struct + BlendedInboxEnabled bool + Conversations []*Conversation + Cursor string + HasNewer bool + HasOlder bool + HasPendingTopRequests bool + MostRecentInviter User + NextCursor struct{ ... } + Pending []*Conversation + PendingRequestsTotal int + PrevCursor struct{ ... } + SeqID int64 + SnapshotAtMs int64 + UnseenCount int + UnseenCountTS int64 + func (inbox *Inbox) Error() error + func (inbox *Inbox) InitialSnapshot() bool + func (inbox *Inbox) New(user *User, text string) (*Conversation, error) + func (inbox *Inbox) Next() bool + func (inbox *Inbox) NextPending() bool + func (inbox *Inbox) Reset() + func (inbox *Inbox) Sync() error + func (inbox *Inbox) SyncPending() error + type InboxItem struct + ActionLog *actionLog + AnimatedMedia *AnimatedMedia + ClientContext string + Clip *clip + ID string + IsShhMode bool + Like string + Link struct{ ... } + Media *Item + MediaShare *Item + Reel *reelShare + Text string + Timestamp int64 + TqSeqID int + Type string + UserID int64 + VisualMedia *VisualMedia + VoiceMedia *VoiceMedia + type InboxItemLike struct + ItemID string + ItemType string + Timestamp int64 + UserID int64 + type InboxItemMedia struct + ClientContext string + ExpiringMediaActionSummary struct{ ... } + ItemID string + ItemType string + RavenMedia struct{ ... } + ReplyChainCount int + SeenUserIds []interface{} + Timestamp int64 + UserID int64 + ViewMode string + type Instagram struct + Account *Account + Activity *Activity + Challenge *Challenge + Checkpoint *Checkpoint + Collections *Collections + Contacts *Contacts + Debug bool + Discover *Discover + Feed *Feed + IGTV *IGTV + Inbox *Inbox + Locations *LocationInstance + Profiles *Profiles + Searchbar *Search + Timeline *Timeline + TwoFactorInfo *TwoFactorInfo + func EnvLoadAccs(p ...string) ([]*Instagram, error) + func EnvRandAcc(path ...string) (*Instagram, error) + func Import(path string, args ...interface{}) (*Instagram, error) + func ImportConfig(config ConfigFile, args ...interface{}) (*Instagram, error) + func ImportFromBase64String(base64String string, args ...interface{}) (*Instagram, error) + func ImportFromBytes(inputBytes []byte, args ...interface{}) (*Instagram, error) + func ImportReader(r io.Reader, args ...interface{}) (*Instagram, error) + func New(username, password string, totp_seed ...string) *Instagram + func (insta *Instagram) Export(path string) error + func (insta *Instagram) ExportAsBase64String() (string, error) + func (insta *Instagram) ExportAsBytes() ([]byte, error) + func (insta *Instagram) ExportConfig() ConfigFile + func (insta *Instagram) ExportIO(writer io.Writer) error + func (insta *Instagram) GetMedia(o interface{}) (*FeedMedia, error) + func (insta *Instagram) Login(password ...string) (err error) + func (insta *Instagram) Logout() error + func (insta *Instagram) NewBroadcast(id int64) *Broadcast + func (insta *Instagram) NewHashtag(name string) *Hashtag + func (insta *Instagram) NewUser() *User + func (insta *Instagram) OpenApp() (err error) + func (insta *Instagram) Save() error + func (insta *Instagram) Search(query string, p ...bool) (*SearchResult, error) + func (insta *Instagram) SetAdID(id string) + func (insta *Instagram) SetCookieJar(jar http.CookieJar) error + func (insta *Instagram) SetDebugHandler(f func(...interface{})) + func (insta *Instagram) SetDevice(device Device) + func (insta *Instagram) SetDeviceID(id string) + func (insta *Instagram) SetFamilyID(id string) + func (insta *Instagram) SetHTTPClient(client *http.Client) + func (insta *Instagram) SetHTTPTransport(transport http.RoundTripper) + func (insta *Instagram) SetInfoHandler(f func(...interface{})) + func (insta *Instagram) SetPhoneID(id string) + func (insta *Instagram) SetProxy(url string, insecure bool, forceHTTP2 bool) error + func (insta *Instagram) SetTOTPSeed(seed string) + func (insta *Instagram) SetTimeout(t time.Duration) + func (insta *Instagram) SetUUID(uuid string) + func (insta *Instagram) SetWarnHandler(f func(...interface{})) + func (insta *Instagram) SetWrapper(fn ReqWrapper) + func (insta *Instagram) UnsetProxy() + func (insta *Instagram) Upload(o *UploadOptions) (*Item, error) + func (insta *Instagram) VisitProfile(handle string) (*Profile, error) + type Item struct + AdAction string + AdHeaderStyle int + AdLink string + AdLinkHint string + AdLinkText string + AdLinkType int + AdMetadata []struct{ ... } + AdSubtitle string + AdText string + AdTitle string + AndroidLinks []struct{ ... } + Audience string + CanReply bool + CanReshare bool + CanSendCustomEmojis bool + CanViewerReshare bool + CanViewerSave bool + Caption Caption + CaptionIsEdited bool + CarouselMedia []Item + CarouselParentID string + ClientCacheKey string + Code string + CommentCount int + CommentInfo *CommentInfo + CommentLikesEnabled bool + CommentThreadingEnabled bool + Comments *Comments + CommentsDisabled bool + CommercialityStatus string + CreativeConfig interface{} + DeviceTimestamp int64 + ExpiringAt int64 + FacepileTopLikers []struct{ ... } + FbUserTags Tag + FilterType int + FundraiserTag struct{ ... } + HasAudio bool + HasLiked bool + HasMoreComments bool + HasSharedToFb int64 + ID interface{} + IGTVAdsInfo struct{ ... } + IGTVExistsInViewerSeries bool + IGTVSeriesInfo struct{ ... } + Images Images + ImportedTakenAt int64 + Index int + IntegrityReviewDecision string + InventorySource string + IsCommercial bool + IsDashEligible int + IsPaidPartnership bool + IsPostLive bool + IsReelMedia bool + IsSeen bool + IsUnifiedVideo bool + Lat float64 + LikeViewCountDisabled bool + Likers []*User + Likes int + Lng float64 + Location Location + MaxNumVisiblePreviewComments int + MediaType int + Mentions []Mentions + NearlyCompleteCopyRightMatch bool + NumberOfQualities int + OrganicTrackingToken string + OriginalHeight int + OriginalWidth int + PhotoOfYou bool + Pk int64 + PlayCount float64 + Previewcomments interface{} + ProductType string + ProfileGridControl bool + ReelMentions []StoryReelMention + ShowOneTapFbShareTooltip bool + StoryCTA []StoryCTA + StoryEvents []interface{} + StoryFeedMedia []interface{} + StoryHashtags []interface{} + StoryLocations []interface{} + StoryMusicStickers []struct{ ... } + StoryPolls []interface{} + StoryProductItems []interface{} + StoryQuestions []interface{} + StorySliders []interface{} + StorySoundOn []interface{} + SupportsReelReactions bool + Tags struct{ ... } + TakenAt int64 + Title string + Toplikers interface{} + User User + VideoCodec string + VideoDashManifest string + VideoDuration float64 + Videos []Video + ViewCount float64 + func (item *Item) Comment(text string) error + func (item *Item) CommentCheckOffensive(comment string) (*CommentOffensive, error) + func (item *Item) Delete() error + func (item *Item) Download() ([]byte, error) + func (item *Item) DownloadTo(dst string) error + func (item *Item) GetCommentInfo() error + func (item *Item) GetID() string + func (item *Item) Hashtags() []Hashtag + func (item *Item) Like() error + func (item *Item) MediaToString() string + func (item *Item) PreviewComments() []Comment + func (item *Item) Reply(text string) error + func (item *Item) Save() error + func (item *Item) SaveTo(c *Collection) error + func (item *Item) StoryIsCloseFriends() bool + func (item *Item) SyncLikers() error + func (item *Item) TopLikers() []string + func (item *Item) Unlike() error + func (item *Item) Unsave() error + type LayoutSection struct + ExploreItemInfo struct{ ... } + FeedType string + LayoutContent struct{ ... } + LayoutType string + type LiveItems struct + Broadcasts []*Broadcast + CanReply bool + CanReshare bool + ID string + LastSeenBroadcastTs float64 + Muted bool + RankedPosition int64 + SeenRankedPosition int64 + User User + type Location struct + Address string + City string + ExternalSource string + FacebookPlacesID int64 + ID int64 + Lat float64 + Lng float64 + Name string + ShortName string + func (l *Location) Feed() (*Section, error) + func (l *Location) NewPostTag() *LocationTag + type LocationInstance struct + func (l *LocationInstance) Feeds(locationID int64) (*Section, error) + type LocationTag struct + Address string + ExternalSource string + Lat float64 + Lng float64 + Name string + PlacesID string + type Media interface + Delete func() error + Error func() error + GetNextID func() string + Next func(...interface{}) bool + type MediaItem struct + Media Item + type Mentions struct + Height float64 + IsPinned int + Rotation float64 + User User + Width float64 + X float64 + Y float64 + Z int64 + type Nametag struct + Emoji string + Gradient json.Number + Mode int64 + SelfieSticker json.Number + type NewSupporter struct + RepeatedSupporter bool + SupportTier string + Timestamp float64 + User struct{ ... } + type PendingRequests struct + BigList bool + GlobalBlacklistSample interface{} + NextMaxID string + PageSize int + Sections interface{} + Status string + SuggestedUsers SuggestedUsers + TruncateFollowRequestAtIndex int + Users []*User + type PicURLInfo struct + Height int + URL string + Width int + type Place struct + Location *Location + Subtitle string + Title string + type Profile struct + Feed *FeedMedia + Friendship *Friendship + Highlights []*Reel + IGTV *IGTVChannel + Stories *StoryMedia + User *User + type Profiles struct + func (prof *Profiles) Blocked() ([]BlockedUser, error) + func (prof *Profiles) ByID(id_ interface{}) (*User, error) + func (prof *Profiles) ByName(name string) (*User, error) + type RecentItems struct + Args struct{ ... } + Counts struct{} + Pk string + StoryType int + Type int + type Reel struct + CanGifQuickReply bool + CanReply bool + CanReshare bool + ClientPrefetchScore float64 + ExpiringAt float64 + FaceFilterNuxVersion int + HasBestiesMedia interface{} + HasNewNuxStory bool + HasPrideMedia bool + HasVideo bool + ID interface{} + IsCacheable bool + IsSensitiveVerticalAd bool + Items []*Item + LatestBestiesReelMedia float64 + LatestReelMedia int64 + MediaCount int + MediaIDs []int64 + Muted bool + PrefetchCount int + RankedPosition int + RankerScores struct{ ... } + ReelMentions []string + ReelType string + Seen float64 + SeenRankedPosition int + StoryRankingToken string + Title string + User User + func (media *Reel) Delete() error + func (media *Reel) Sync() error + type ReqWrapper interface + GoInstaWrapper func(*ReqWrapperArgs) (body []byte, h http.Header, err error) + type ReqWrapperArgs struct + Body []byte + Error error + Headers http.Header + func (w *ReqWrapperArgs) GetEndpoint() string + func (w *ReqWrapperArgs) GetInsta() *Instagram + func (w *ReqWrapperArgs) GetWrapperCount() int + func (w *ReqWrapperArgs) Ignore429() bool + func (w *ReqWrapperArgs) RetryRequest() (body []byte, h http.Header, err error) + func (w *ReqWrapperArgs) SetInsta(insta *Instagram) + type SavedMedia struct + AutoLoadMoreEnabled bool + Items []MediaItem + MoreAvailable bool + NextID interface{} + NumResults int + Status string + func (media *SavedMedia) Delete() error + func (media *SavedMedia) Error() error + func (media *SavedMedia) GetNextID() string + func (media *SavedMedia) Next(params ...interface{}) bool + func (media *SavedMedia) Sync() error + type School struct + type ScoresBootstrapUsers struct + Status string + Surfaces []struct{ ... } + Users []*User + type Search struct + func (sb *Search) History() (*[]SearchHistory, error) + func (sb *Search) Search(query string, p ...bool) (*SearchResult, error) + func (sb *Search) SearchHashtag(query string, p ...bool) (*SearchResult, error) + func (sb *Search) SearchLocation(query string, p ...bool) (*SearchResult, error) + func (sb *Search) SearchUser(query string, p ...bool) (*SearchResult, error) + func (search *Search) NullState() error + type SearchFunc interface + type SearchHistory struct + Time int64 + User User + type SearchResult struct + ClearClientCache interface{} + HasMore bool + History []SearchHistory + NumResults int64 + PageToken string + Places []Place + Query string + RankToken string + RequestID string + Results []*TopSearchItem + SearchSurface string + Status string + Tags []*Hashtag + Users []*User + Venues []struct{ ... } + func (sr *SearchResult) Error() error + func (sr *SearchResult) Next() bool + func (sr *SearchResult) RegisterHashtagClick(h *Hashtag) error + func (sr *SearchResult) RegisterLocationClick(l *Location) error + func (sr *SearchResult) RegisterUserClick(user *User) error + type Section struct + MoreAvailable bool + NextID string + NextMediaIds []int64 + NextPage int + Sections []LayoutSection + Status string + type StoryCTA struct + Links []struct{ ... } + type StoryMedia struct + Broadcast *Broadcast + Broadcasts []*Broadcast + Reel Reel + Status string + type StoryReelMention struct + DisplayType string + Height float64 + IsFBSticker int + IsHidden int + IsPinned int + IsSticker int + Rotation float64 + User User + Width float64 + X float64 + Y float64 + Z int + type SuggestedUsers struct + AutoDvance string + ID string + LandingSiteTitle string + LandingSiteType string + NetegoType string + Suggestions []struct{ ... } + Title string + TrackingToken string + Type int + UpsellFbPos string + ViewAllText string + type SyncAnswer struct + Status string + Users []struct{ ... } + Warning string + type TOTP struct + ID int64 + Seed string + type Tag struct + In []struct{ ... } + type Timeline struct + Items []*Item + MoreAvailable bool + NextID string + NumResults float64 + PreloadDistance float64 + PullToRefreshWindowMs float64 + RequestID string + SessionID string + Tray *Tray + func (tl *Timeline) Broadcasts() []*Broadcast + func (tl *Timeline) ClearPosts() + func (tl *Timeline) Delete() error + func (tl *Timeline) Error() error + func (tl *Timeline) FetchTray(r fetchReason) error + func (tl *Timeline) GetNextID() string + func (tl *Timeline) NewFeedPostsExist() (bool, error) + func (tl *Timeline) Next(p ...interface{}) bool + func (tl *Timeline) Refresh() error + func (tl *Timeline) SetPullRefresh() + func (tl *Timeline) Stories() []*Reel + func (tl *Timeline) UnsetPullRefresh() + type TopSearchItem struct + Hashtag *Hashtag + Place Place + Position int + User *User + func (sr *TopSearchItem) RegisterClick() error + type Tray struct + Broadcasts []*Broadcast + EmojiReactionsConfig struct{ ... } + FaceFilterNuxVersion int + HasNewNuxStory bool + Lives struct{ ... } + NuxElegible bool + ReponseTS float64 + Status string + StickerVersion float64 + Stories []*Reel + StoryRankingToken string + type TwoFactorInfo struct + ElegibleForMultipleTotp bool + ID int64 + ObfuscatedPhoneNr string + PendingTrustedNotification bool + PhoneVerificationSettings phoneVerificationSettings + SMSNotAllowedReason string + SMSTwoFactorOn bool + ShouldOptInTrustedDevice bool + ShowMessengerCodeOption bool + ShowTrustedDeviceOption bool + TotpTwoFactorOn bool + TwoFactorIdentifier string + Username string + WhatsappTwoFactorOn bool + func (info *TwoFactorInfo) Check2FATrusted() error + func (info *TwoFactorInfo) Login2FA(in ...string) error + type UploadOptions struct + Album []io.Reader + AlbumTags *[][]UserTag + Caption string + DisableComments bool + DisableLikeViewCount bool + DisableSubtitles bool + File io.Reader + IsStory bool + Location *LocationTag + MuteAudio bool + Thumbnail io.Reader + UserTags *[]UserTag + type User struct + AboutYourAccountBloksEntrypointEnabled bool + AccountBadges []interface{} + AccountType int + AddressStreet string + AggregatePromoteEngagement bool + AllowMentionSetting string + AllowTagSetting string + AllowedCommenterType string + AllowedToCreateNonprofitFundraisers bool + AllowedToCreatePersonalFundraisers bool + AutoExpandChaining bool + BestiesCount int + Biography string + BiographyProductMentions []interface{} + BiographyWithEntities struct{ ... } + BusinessContactMethod string + Byline string + CanBeReportedAsFraud bool + CanBeTaggedAsSponsor bool + CanBoostPosts bool + CanConvertToBusiness bool + CanCreateNewFundraiser bool + CanCreateNewPersonalFundraiser bool + CanCreateSponsorTags bool + CanFollowHashtag bool + CanSeeOrganicInsights bool + CanSeePrimaryCountryInsettings bool + CanSeeSupportInbox bool + CanSeeSupportInboxV1 bool + CanTagProductsFromMerchants bool + Category string + CityID int64 + CityName string + Collections *Collections + ContactPhoneNumber string + CreatorShoppingInfo struct{ ... } + DirectMessaging string + ElegibleShoppingFormats []interface{} + ElegibleShoppingSignupEntrypoints []interface{} + Email string + ExistingUserAgeCollectionEnabled bool + ExternalLynxURL string + ExternalURL string + FbIdV2 int64 + FbPageCallToActionID string + FbPayExperienceEnabled bool + FeedPostReshareDisabled bool + FollowFrictionType int + FollowerCount int + FollowingCount int + FollowingTagCount int + Friendship Friendship + FullName string + Gender int + GeoMediaCount int + HasAffiliateShop bool + HasAnonymousProfilePicture bool + HasBiographyTranslation bool + HasChaining bool + HasElegibleWhatsappLinkingCategory struct{} + HasGuides bool + HasHighlightReels bool + HasIGTVSeries bool + HasPlacedOrders bool + HasProfileVideoFeed bool + HasSavedItems bool + HasVideos bool + HdProfilePicURLInfo PicURLInfo + HdProfilePicVersions []PicURLInfo + HightlightReshareDisabled bool + ID int64 + IGTVCount int + IncludeDirectBlacklistStatus bool + InteropMessagingUserfbid int64 + IsBusiness bool + IsCallToActionEnabled bool + IsElegibleForAffiliateShopOnboarding bool + IsElegibleForSMBSupportFlow bool + IsElegibleToShowFbCrossSharingNux bool + IsFavorite bool + IsFavoriteForHighlights bool + IsFavoriteForStories bool + IsIgdProductPickerEnabled bool + IsInterestAccount bool + IsMemorialized bool + IsMutedWordsCustomEnabled bool + IsMutedWordsGlobalEnabled bool + IsNeedy bool + IsPotentialBusiness bool + IsPrivate bool + IsProfileActionNeeded bool + IsShoppingAutoHighlightEnabled bool + IsShoppingCatalogSettingsEnabled bool + IsShoppingCatalogSourceSelectionEnabled bool + IsShoppingCommunityContentEnabled bool + IsUnpublished bool + IsVerified bool + IsVideoCreator bool + LatestReelMedia int64 + Latitude float64 + LimitedInteractionsEnabled bool + LinkedFbInfo struct{} + LiveBroadcastID int64 + Longitude float64 + MediaCount int + MerchantCheckoutStyle string + MutualFollowersCount float64 + MutualFollowersID []int64 + Nametag Nametag + NeedsToAcceptShoppingSellerOnboardingTerms bool + OpenExternalUrlWithInAppBrowser bool + PageIdForNewSumaBizAccount interface{} + PersonalAccountAdsId string + PersonalAccountAdsPageName string + PhoneNumber string + ProfessionalConversionSuggestedAccountType int + ProfileContext string + ProfilePic []byte + ProfilePicID string + ProfilePicURL string + PublicEmail string + PublicPhoneCountryCode string + PublicPhoneNumber string + RecentlyBestiedByCount int + ReelAutoArchive string + RequestContactEnabled bool + School School + SearchSocialContext string + SellerShoppableFeedType string + ShoppablePostsCount int + ShowBestiesBadge bool + ShowConversionEditEntry bool + ShowInsightTerms bool + ShowPostsInsightEntryPoint bool + ShowShoppableFeed bool + SocialContext string + StandaloneFundraiserInfo struct{ ... } + TotalAREffects int + TotalClipCount int + UserTagReviewEnabled bool + UserTagsCount int + Username string + VisibleProducts int + WhatsappNumber string + Zip string + func (user *User) ApprovePending() error + func (user *User) Block(autoBlock bool) error + func (user *User) DownloadProfilePic() ([]byte, error) + func (user *User) DownloadProfilePicTo(dst string) error + func (user *User) Feed(params ...interface{}) *FeedMedia + func (user *User) Follow() error + func (user *User) Followers(query string) *Users + func (user *User) Following(query string, order FollowOrder) *Users + func (user *User) GetFeaturedAccounts() ([]*User, error) + func (user *User) GetFriendship() (fr *Friendship, err error) + func (user *User) Highlights() ([]*Reel, error) + func (user *User) IGTV() (*IGTVChannel, error) + func (user *User) IGTVSeries() ([]*IGTVChannel, error) + func (user *User) IgnorePending() error + func (user *User) Info(params ...interface{}) error + func (user *User) Mute(opt muteOption) error + func (user *User) SetInstagram(insta *Instagram) + func (user *User) Stories() (*StoryMedia, error) + func (user *User) Sync(params ...interface{}) error + func (user *User) Tags(minTimestamp []byte) (*FeedMedia, error) + func (user *User) Unblock() error + func (user *User) Unfollow() error + func (user *User) Unmute(opt muteOption) error + func (user *User) VisitProfile() (*Profile, error) + type UserTag struct + Position [2]float64 + User *User + type Users struct + BigList bool + NextID string + PageSize int + RawNextID json.RawMessage + Status string + Users []*User + func (users *Users) Error() error + func (users *Users) Next() bool + func (users *Users) SetInstagram(insta *Instagram) + type Video struct + Height int + ID string + Type int + URL string + Width int + type VisualMedia struct + ExpiringMediaActionSummary struct{ ... } + Media *Item + ReplayExpiringAtUs int64 + SeenCount int + SeenUserIds []string + ViewMode string + type VoiceMedia struct + IsShhMode bool + Media struct{ ... } + ReplayExpiringAtUs int64 + SeenCount int + SeenUserIds []int64 + ViewMode string + type Wrapper struct + func DefaultWrapper() *Wrapper + func (w *Wrapper) GoInstaWrapper(o *ReqWrapperArgs) ([]byte, http.Header, error)