tweets

package
v0.0.0-...-e5993db Latest Latest
Warning

This package is not in the latest version of its module.

Go to latest
Published: Jan 9, 2024 License: Apache-2.0 Imports: 18 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

func CreateMemoPostsFromDb

func CreateMemoPostsFromDb(accountKey obj.AccountKey, flags db.Flags, wlt wallet.Wallet) (int, error)

func GetAndSaveTwitterTweets

func GetAndSaveTwitterTweets(params *twitter.UserTimelineParams, scraper *twitterscraper.Scraper) error

func GetSkippedTweets

func GetSkippedTweets(accountKey obj.AccountKey, wlt *wallet.Wallet, scraper *twitterscraper.Scraper, flags db.Flags, numTweets int, newBot bool) error

func GetTwitterTweets

func GetTwitterTweets(params *twitter.UserTimelineParams, scraper *twitterscraper.Scraper) ([]twitter.Tweet, error)

func SaveCookies

func SaveCookies(cookies []*http.Cookie) error

func SaveTwitterTweets

func SaveTwitterTweets(userId int64, tweets []twitter.Tweet) error

Types

type Profile

type Profile struct {
	Name        string
	Description string
	ProfilePic  string
	ID          string
}

func GetProfile

func GetProfile(userId int64, scraper *twitterscraper.Scraper) (*Profile, error)

Directories

Path Synopsis

Jump to

Keyboard shortcuts

? : This menu
/ : Search site
f or F : Jump to
y or Y : Canonical URL