Documentation
¶
Index ¶
- func BuildUserTweetsParams(userID string, count int) (url.Values, error)
- func FetchUserID(cl *http.Client, cf *config.EssentialsConfig, usr string) (string, error)
- func FetchUserTweetsPage(ctx context.Context, client *http.Client, conf *config.EssentialsConfig, ...) (*httpx.Response, error)
- func WalkUserMediaPages(cl *http.Client, cf *config.EssentialsConfig, uid string, sn string, vb bool, ...) error
- type Media
- func EnrichMediaWithTweetDetail(cl *http.Client, cf *config.EssentialsConfig, screenName string, ...) []Media
- func GetHighQualityMediaForTweet(cl *http.Client, cf *config.EssentialsConfig, tweetID string, vb bool, ...) ([]Media, error)
- func GetMediaLinksForUser(cl *http.Client, cf *config.EssentialsConfig, uid string, sn string, vb bool, ...) ([]Media, error)
- type PageHandler
- type UserTweetsVariables
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
func BuildUserTweetsParams ¶
func FetchUserID ¶
func FetchUserTweetsPage ¶
func WalkUserMediaPages ¶
Types ¶
type Media ¶
type Media struct {
URL string `json:"url"`
Type string `json:"type"` // "image" or "video"
TweetID string `json:"tweet_id,omitempty"`
}
Click to show internal directories.
Click to hide internal directories.