tweets

package
v0.11.2 Latest Latest
Warning

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

Go to latest
Published: Feb 13, 2022 License: MIT Imports: 3 Imported by: 0

Documentation

Index

Constants

View Source
const (
	TweetLikesLikingUsersEndpoint = "https://api.twitter.com/2/tweets/:id/liking_users"
	TweetLikesLikedTweetsEndpoint = "https://api.twitter.com/2/users/:id/liked_tweets"
	TweetLikesPostEndpoint        = "https://api.twitter.com/2/users/:id/likes"
	TweetLikesDeleteEndpoint      = "https://api.twitter.com/2/users/:id/likes/:tweet_id"
)
View Source
const (
	ManageTweetsPostEndpoint   = "https://api.twitter.com/2/tweets"
	ManageTweetsDeleteEndpoint = "https://api.twitter.com/2/tweets/:id"
)
View Source
const (
	TweetRetweetsRetweetedByEndpoint = "https://api.twitter.com/2/tweets/:id/retweeted_by"
	TweetRetweetsPostEndpoint        = "https://api.twitter.com/2/users/:id/retweets"
	TweetRetweetsDeleteEndpoint      = "https://api.twitter.com/2/users/:id/retweets/:source_tweet_id"
)
View Source
const (
	SearchTweetsRecentEndpoint = "https://api.twitter.com/2/tweets/search/recent"
	SearchTweetsAllEndpoint    = "https://api.twitter.com/2/tweets/search/all"
)
View Source
const (
	TweetCountsRecentEndpoint = "https://api.twitter.com/2/tweets/counts/recent"
	TweetCountsAllEndpoint    = "https://api.twitter.com/2/tweets/counts/all"
)
View Source
const (
	TweetLookupEndpoint   = "https://api.twitter.com/2/tweets"
	TweetLookupIDEndpoint = "https://api.twitter.com/2/tweets/:id"
)
View Source
const (
	TweetTimelinesTweetsEndpoint   = "https://api.twitter.com/2/users/:id/tweets"
	TweetTimelinesMentionsEndpoint = "https://api.twitter.com/2/users/:id/mentions"
)
View Source
const FilteredStreamRulesGetEndpoint = "https://api.twitter.com/2/tweets/search/stream/rules"
View Source
const HideRepliesEndpoint = "https://api.twitter.com/2/tweets/:id/hidden"

Variables

This section is empty.

Functions

func FilteredStreamRulesGet

Return a list of rules currently active on the streaming endpoint, either as a list or individually. https://developer.twitter.com/en/docs/twitter-api/tweets/filtered-stream/api-reference/get-tweets-search-stream-rules

func SearchTweetsAll

This endpoint is only available to those users who have been approved for the Academic Research product track. The full-archive search endpoint returns the complete history of public Tweets matching a search query; since the first Tweet was created March 26, 2006. https://developer.twitter.com/en/docs/twitter-api/tweets/search/api-reference/get-tweets-search-all

func SearchTweetsRecent

The recent search endpoint returns Tweets from the last seven days that match a search query. https://developer.twitter.com/en/docs/twitter-api/tweets/search/api-reference/get-tweets-search-recent

func TweetCountsAll

This endpoint is only available to those users who have been approved for the Academic Research product track. The full-archive search endpoint returns the complete history of public Tweets matching a search query; since the first Tweet was created March 26, 2006. https://developer.twitter.com/en/docs/twitter-api/tweets/counts/api-reference/get-tweets-counts-all

func TweetCountsRecent

The recent Tweet counts endpoint returns count of Tweets from the last seven days that match a search query. https://developer.twitter.com/en/docs/twitter-api/tweets/counts/api-reference/get-tweets-counts-recent

func TweetLikesDelete

Allows a user or authenticated user ID to unlike a Tweet. The request succeeds with no action when the user sends

a request to a user they're not liking the Tweet or have already unliked the Tweet.

https://developer.twitter.com/en/docs/twitter-api/tweets/likes/api-reference/delete-users-id-likes-tweet_id

func TweetLikesLikedTweets

Allows you to get information about a user’s liked Tweets. The Tweets returned by this endpoint count towards the Project-level Tweet cap. https://developer.twitter.com/en/docs/twitter-api/tweets/likes/api-reference/get-users-id-liked_tweets

func TweetLikesLikingUsers

Allows you to get information about a Tweet’s liking users. You will receive the most recent 100 users who liked the specified Tweet. https://developer.twitter.com/en/docs/twitter-api/tweets/likes/api-reference/get-tweets-id-liking_users

func TweetLikesPost

Causes the user ID identified in the path parameter to Like the target Tweet. https://developer.twitter.com/en/docs/twitter-api/tweets/likes/api-reference/post-users-id-likes

func TweetLookup

Returns a variety of information about the Tweet specified by the requested ID or list of IDs. https://developer.twitter.com/en/docs/twitter-api/tweets/lookup/api-reference/get-tweets

func TweetLookupID

Returns a variety of information about a single Tweet specified by the requested ID. https://developer.twitter.com/en/docs/twitter-api/tweets/lookup/api-reference/get-tweets-id

func TweetRetweetsDelete

Allows a user or authenticated user ID to remove the Retweet of a Tweet. The request succeeds with no action when the user sends a request to a user they're not Retweeting the Tweet or have already removed the Retweet of. https://developer.twitter.com/en/docs/twitter-api/tweets/retweets/api-reference/delete-users-id-retweets-tweet_id

func TweetTimelinesMentions

Returns Tweets mentioning a single user specified by the requested user ID. By default, the most recent ten Tweets are returned per request. Using pagination, up to the most recent 800 Tweets can be retrieved. The Tweets returned by this endpoint count towards the Project-level Tweet cap. https://developer.twitter.com/en/docs/twitter-api/tweets/timelines/api-reference/get-users-id-mentions

func TweetTimelinesTweets

Returns Tweets composed by a single user, specified by the requested user ID. By default, the most recent ten Tweets are returned per request. Using pagination, the most recent 3,200 Tweets can be retrieved. The Tweets returned by this endpoint count towards the Project-level Tweet cap. https://developer.twitter.com/en/docs/twitter-api/tweets/timelines/api-reference/get-users-id-tweets

Types

This section is empty.

Directories

Path Synopsis

Jump to

Keyboard shortcuts

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