Documentation
¶
Index ¶
- type Client
- func (c *Client) ReplyTo(tweetURL, message string) (string, error)
- func (c *Client) SelfEngage(tweetURL, comment string) error
- func (c *Client) Thread(tweets []string, imagePath string) (string, error)
- func (c *Client) Tweet(message string) (string, error)
- func (c *Client) TweetWithMedia(message, imagePath string) (string, error)
- type Cookie
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type Client ¶
type Client struct {
// contains filtered or unexported fields
}
func (*Client) ReplyTo ¶ added in v0.4.0
ReplyTo posts a reply to an existing tweet and returns the URL of the new reply.
func (*Client) SelfEngage ¶ added in v0.6.0
SelfEngage likes, reposts, and comments on a tweet in a single browser session. This boosts engagement velocity in the first few minutes after posting. comment is optional — pass empty string to skip commenting.
func (*Client) Thread ¶ added in v0.4.0
Thread posts a sequence of tweets as a thread using reply-chaining. The first tweet is posted normally; each subsequent tweet replies to the previous one. Returns the URL of the first tweet.
type Cookie ¶
type Cookie struct {
Name string `json:"name"`
Value string `json:"value"`
Domain string `json:"domain"`
Path string `json:"path"`
Expires float64 `json:"expirationDate"`
HTTPOnly bool `json:"httpOnly"`
Secure bool `json:"secure"`
}
Cookie represents a browser cookie exported from Cookie-Editor
Click to show internal directories.
Click to hide internal directories.