Documentation ¶
Index ¶
- func DeleteTweet(accessToken, tweetID string) (bool, error)
- func GetAuthenticatedTwitter(accessToken string) ([]byte, error)
- func GetTweet(accessToken, tweetID string) ([]byte, error)
- func GetTweetEmbed(username, tweetID string) ([]byte, error)
- func GetTwitterAccessToken(code string) ([]byte, error)
- func IsAlive(accessToken, replyID string) (bool, error)
- func IsLiking(accessToken, userID, tweetID, cursor string) (bool, error)
- func IsReplying(accessToken, userID, replyID string) (bool, error)
- func IsRetweeting(accessToken, userID, tweetID, cursor string) (bool, error)
- func LikeTweet(accessToken, userID, tweetID string) ([]byte, error)
- func ListLikes(accessToken, tweetID, limit, cursor string) ([]byte, error)
- func ListRetweets(accessToken, tweetID, limit, cursor string) ([]byte, error)
- func ListTweets(accessToken, userID, limit, cursor string) ([]byte, error)
- func Mentions(accessToken, userID, limit, cursor string) ([]byte, error)
- func Message(accessToken, userID, text string) ([]byte, error)
- func RefreshTwitterAccessToken(refreshToken string) ([]byte, error)
- func RetriveReplies(accessToken, userID, tweetID string, giveawayid primitive.ObjectID) ([]typing.Reply, error)
- func Retweet(accessToken, userID, tweetID string) ([]byte, error)
- func Tweet(accessToken, message, replyTo, quote string) ([]byte, error)
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
func DeleteTweet ¶
DeleteTweet deletes a tweet
func GetAuthenticatedTwitter ¶
GetAuthenticatedUser gets the authenticated user from twitter
func GetTweetEmbed ¶
GetTweetEmbed gets a tweet embed
func GetTwitterAccessToken ¶
GetAccessToken gets the access token from twitter
func IsReplying ¶
IsReplying verifies if a user is replying to a tweet
func IsRetweeting ¶
IsRetweeting verifies if a user is retweeting a tweet
func ListRetweets ¶
ListRetweets lists retweets of a specific tweet
func ListTweets ¶
ListTweets lists tweets from twitter
func RefreshTwitterAccessToken ¶
RefreshTwitterAccessToken refreshes the access token from twitter
func RetriveReplies ¶
func RetriveReplies(accessToken, userID, tweetID string, giveawayid primitive.ObjectID) ([]typing.Reply, error)
RetriveReplies gets all replies to a tweet
Types ¶
This section is empty.
Click to show internal directories.
Click to hide internal directories.