Versions in this module Expand all Collapse all v0 v0.1.1 Jun 23, 2026 Changes in this version + const DefaultBaseURL + const DefaultTimeout + const Version + type APIError struct + Body map[string]any + Message string + RequestID string + StatusCode int + func (e *APIError) Error() string + type APIServerError struct + func (e *APIServerError) Error() string + type Account struct + func NewAccount(apiToken string, opts ...Option) (*Account, error) + func (a *Account) GetLimits(ctx context.Context) (Response, error) + func (a *Account) GetTopUps(ctx context.Context) (Response, error) + func (a *Account) GetUsage(ctx context.Context) (Response, error) + type AuthenticationError struct + func (e *AuthenticationError) Error() string + type BadRequestError struct + func (e *BadRequestError) Error() string + type ConnectionError struct + Cause error + Message string + func (e *ConnectionError) Error() string + func (e *ConnectionError) Unwrap() error + type Error interface + type Facebook struct + func NewFacebook(apiToken string, opts ...Option) (*Facebook, error) + func (f *Facebook) DownloadMedia(ctx context.Context, mediaURL string, extra map[string]any) (Response, error) + func (f *Facebook) GetAdArchiveDetails(ctx context.Context, adArchiveID, pageID string, extra map[string]any) (Response, error) + func (f *Facebook) GetAdsCountries(ctx context.Context, extra map[string]any) (Response, error) + func (f *Facebook) GetAdsPageDetails(ctx context.Context, pageID string, extra map[string]any) (Response, error) + func (f *Facebook) GetCityCoordinates(ctx context.Context, city string, extra map[string]any) (Response, error) + func (f *Facebook) GetCommentReplies(ctx context.Context, commentFeedbackID, expansionToken string, ...) (Response, error) + func (f *Facebook) GetGroupDetails(ctx context.Context, group string, extra map[string]any) (*GroupInfo, error) + func (f *Facebook) GetGroupID(ctx context.Context, group string, extra map[string]any) (Response, error) + func (f *Facebook) GetGroupMetadata(ctx context.Context, group string, extra map[string]any) (Response, error) + func (f *Facebook) GetGroupPosts(ctx context.Context, group string, extra map[string]any) (Response, error) + func (f *Facebook) GetGroupVideos(ctx context.Context, groupID string, extra map[string]any) (Response, error) + func (f *Facebook) GetListingDetails(ctx context.Context, listingID string, extra map[string]any) (Response, error) + func (f *Facebook) GetMarketplaceCategories(ctx context.Context, extra map[string]any) (Response, error) + func (f *Facebook) GetPageID(ctx context.Context, page string, extra map[string]any) (Response, error) + func (f *Facebook) GetPageInfo(ctx context.Context, page string, extra map[string]any) (*PageInfo, error) + func (f *Facebook) GetPagePosts(ctx context.Context, page string, extra map[string]any) (Response, error) + func (f *Facebook) GetPageReels(ctx context.Context, page string, extra map[string]any) (Response, error) + func (f *Facebook) GetPageVideos(ctx context.Context, page string, extra map[string]any) (Response, error) + func (f *Facebook) GetPostAttachments(ctx context.Context, postID string, extra map[string]any) (Response, error) + func (f *Facebook) GetPostComments(ctx context.Context, post string, extra map[string]any) (Response, error) + func (f *Facebook) GetPostDetails(ctx context.Context, post string, extra map[string]any) (Response, error) + func (f *Facebook) GetPostDetailsExtended(ctx context.Context, post string, extra map[string]any) (Response, error) + func (f *Facebook) GetPostID(ctx context.Context, post string, extra map[string]any) (Response, error) + func (f *Facebook) GetSellerDetails(ctx context.Context, sellerID string, extra map[string]any) (Response, error) + func (f *Facebook) GetVideoPostDetails(ctx context.Context, videoID string, extra map[string]any) (Response, error) + func (f *Facebook) SearchAds(ctx context.Context, query string, extra map[string]any) (Response, error) + func (f *Facebook) SearchAdsByKeywords(ctx context.Context, query string, extra map[string]any) (Response, error) + func (f *Facebook) SearchLocations(ctx context.Context, query string, extra map[string]any) (Response, error) + func (f *Facebook) SearchMarketplace(ctx context.Context, query string, extra map[string]any) (Response, error) + func (f *Facebook) SearchPages(ctx context.Context, query string, extra map[string]any) (Response, error) + func (f *Facebook) SearchPeople(ctx context.Context, query string, extra map[string]any) (Response, error) + func (f *Facebook) SearchPosts(ctx context.Context, query string, extra map[string]any) (Response, error) + func (f *Facebook) SearchRentals(ctx context.Context, extra map[string]any) (Response, error) + func (f *Facebook) SearchVehicles(ctx context.Context, extra map[string]any) (Response, error) + func (f *Facebook) SearchVideos(ctx context.Context, query string, extra map[string]any) (Response, error) + type FacebookScraper = Facebook + func NewFacebookScraper(apiToken string, opts ...Option) (*FacebookScraper, error) + type GroupInfo struct + AdminTags []any + CreatedTime int64 + DescriptionText string + Extra map[string]any + GroupHistory map[string]any + GroupID string + GroupLocations []any + GroupMemberCount string + GroupNewMembersInfoText string + GroupRules []any + GroupTotalMembersInfoText string + NumberOfPostsInLastDay int + NumberOfPostsInLastMonth int + PrivacyInfoText map[string]any + type HTTPDoer interface + Do func(*http.Request) (*http.Response, error) + type Instagram struct + func NewInstagram(apiToken string, opts ...Option) (*Instagram, error) + func (i *Instagram) GetHighlightDetails(ctx context.Context, highlightID string, extra map[string]any) (Response, error) + func (i *Instagram) GetLocationPosts(ctx context.Context, locationID string, extra map[string]any) (Response, error) + func (i *Instagram) GetNearbyLocations(ctx context.Context, locationID string, extra map[string]any) (Response, error) + func (i *Instagram) GetPostDetails(ctx context.Context, shortcode string, extra map[string]any) (Response, error) + func (i *Instagram) GetPostID(ctx context.Context, post string, extra map[string]any) (Response, error) + func (i *Instagram) GetProfileDetails(ctx context.Context, username string, extra map[string]any) (*ProfileInfo, error) + func (i *Instagram) GetProfileHighlights(ctx context.Context, userID string, extra map[string]any) (Response, error) + func (i *Instagram) GetProfilePosts(ctx context.Context, username string, extra map[string]any) (Response, error) + func (i *Instagram) GetProfileReels(ctx context.Context, userID string, extra map[string]any) (Response, error) + func (i *Instagram) GetReelsByAudio(ctx context.Context, audioID string, extra map[string]any) (Response, error) + func (i *Instagram) GetReelsFeed(ctx context.Context, extra map[string]any) (Response, error) + func (i *Instagram) GetUserID(ctx context.Context, profile string, extra map[string]any) (Response, error) + func (i *Instagram) Search(ctx context.Context, keyword string, extra map[string]any) (Response, error) + type InstagramScraper = Instagram + func NewInstagramScraper(apiToken string, opts ...Option) (*InstagramScraper, error) + type InsufficientCreditsError struct + func (e *InsufficientCreditsError) Error() string + type Option func(*baseConfig) + func WithBaseURL(baseURL string) Option + func WithHTTPClient(client HTTPDoer) Option + type PageInfo struct + AdPageID string + Address string + Bio string + BusinessHours string + BusinessPrice string + BusinessServices string + Category any + ConfirmedOwnerLabel string + Description string + Email string + Extra map[string]any + FollowersCount int + FollowersDisplay string + Image string + ImageAlt string + Instagram string + IsBusinessPageActive bool + LikesCount int + LikesDisplay string + LinkedIn string + MapsAddress string + Phone string + Pinterest string + Rating string + RatingCount int + RatingOverall string + Status string + Telegram string + Title string + Twitter string + URL string + UserID string + Website string + YouTube string + type ProfileInfo struct + AccountType int + AddressStreet string + Biography string + BusinessCategoryName string + BusinessContactMethod string + BusinessEmail string + BusinessPhoneNumber string + CategoryName string + CityName string + ExternalURL string + ExternalURLLinkshimmed string + Extra map[string]any + FBID string + FollowersCount int + FollowingCount int + FullName string + HasArEffects bool + HasChannel bool + HasClips bool + HasGuides bool + HighlightReelCount int + ID string + IsBusinessAccount bool + IsEmbedsDisabled bool + IsJoinedRecently bool + IsMemorialized bool + IsPrivate bool + IsProfessionalAccount bool + IsUnpublished bool + IsVerified bool + MediaCount int + MutualFollowersCount int + PK string + ProfilePicURL string + ProfilePicURLHD string + TotalClipsCount int + Username string + Zip string + type RateLimitError struct + RetryAfterSeconds float64 + func (e *RateLimitError) Error() string + type Response map[string]any