Versions in this module Expand all Collapse all v1 v1.0.0 Mar 5, 2025 v0 v0.1.1 Mar 5, 2025 v0.1.0 Mar 5, 2025 Changes in this version + const BearerToken + const QueryIDLike + const QueryIDRetweet + const QueryIDTweet + const QueryIDUnlike + const QueryIDUnretweet + const UserAgent + var ErrAccountLocked = errors.New("account is temporarily locked") + var ErrAuthFailed = errors.New("authentication failed") + var ErrInvalidToken = errors.New("invalid token") + var ErrUnknown = errors.New("unable to complete operation") + type Account struct + AuthToken string + Bio string + Cookies []*http.Cookie + CreatedAt string + Ct0 string + DisplayName string + Email string + FollowCount int + FollowerCount int + IsVerified bool + Location string + Locked bool + PhoneNumber string + ProfileImageURL string + Proxy string + Suspended bool + UserID string + Username string + Website string + type AccountInfoResponse struct + CreatedAt string + Description string + FavouritesCount int + FollowRequestSent bool + FollowedBy bool + FollowersCount int + Following bool + FriendsCount int + ID int64 + IDStr string + ListedCount int + Location string + MediaCount int + Name string + Protected bool + ScreenName string + StatusesCount int + Suspended bool + Verified bool + type ActionResponse struct + Error error + Status ActionStatus + Success bool + type ActionStatus int + const StatusAlreadyDone + const StatusAuthError + const StatusInvalidToken + const StatusLocked + const StatusNotFound + const StatusRateLimited + const StatusSuccess + const StatusUnknown + type AlreadyLikedResponse struct + Errors []struct{ ... } + type Config struct + Constants TwitterConstants + FollowRedirects bool + LogLevel utils.LogLevel + MaxRetries int + Timeout time.Duration + func NewConfig() *Config + type LikeGraphQLResponse struct + Data struct{ ... } + Errors []struct{ ... } + type LikeResponse struct + Error error + Status LikeStatus + Success bool + type LikeStatus int + const LikeStatusAlreadyLiked + const LikeStatusAuthError + const LikeStatusRateLimited + const LikeStatusSuccess + const LikeStatusTweetNotFound + const LikeStatusUnknown + type MediaUploadResponse struct + ExpiresAfter int + MediaIDString string + Size int + type RetweetGraphQLResponse struct + Data struct{ ... } + Errors []struct{ ... } + type Tweet struct + AuthorID string + AuthorUsername string + ConversationID string + CreatedAt string + ID string + InReplyToUserID string + IsLiked bool + IsQuoted bool + IsReply bool + IsRetweeted bool + LikeCount int + QuoteCount int + ReplyCount int + RetweetCount int + Text string + type TweetGraphQLResponse struct + Data struct{ ... } + Errors []struct{ ... } + type TwitterConstants struct + BearerToken string + QueryID struct{ ... } + UserAgent string + type UnlikeGraphQLResponse struct + Data struct{ ... } + Errors []struct{ ... } + type UnretweetGraphQLResponse struct + Data struct{ ... } + Errors []struct{ ... } + type UserResponse struct + CreatedAt string + Description string + Entities struct{ ... } + FavouritesCount int + FollowRequestSent bool + FollowersCount int + Following bool + FriendsCount int + ID int64 + IDStr string + ListedCount int + Location string + MediaCount int + Name string + Notifications bool + Protected bool + ScreenName string + StatusesCount int + URL any + Verified bool