go-twitter icon indicating copy to clipboard operation
go-twitter copied to clipboard

This is a go library for twitter v2 API integration.

Results 19 go-twitter issues
Sort by recently updated
recently updated
newest added

Hi, I was trying to [post a tweet](https://developer.twitter.com/en/docs/twitter-api/tweets/manage-tweets/api-reference/post-tweets). It seems like I would need to make use of the OAuth 2 authorization flow. Is there a known code example so...

Actually `next_token` could've been sent to and responded from `GET /2/tweets/counts/recent` typically when `minute` would be set for `granularity` paremeter. It's not documented in the official documentation though.

Hello, I have used the Go-Twitter you wrote, and I think it is very useful. I hope to get to know you and jointly maintain this project with you. I...

maybe happend at: ``` resp, err := client.TweetRecentSearch(context.Background(), query, opts) if err != nil { log.Fatal(err) return nil, err } ``` logs: ``` twiiter callout status 429 UsageCapExceeded:Usage cap exceeded:...

I periodically get ``` Aug 29 15:19:26 stream[76411]: streaming.go:158: system: unmarshal system stream json: cannot unmarshal array into Go value of type twitter.SystemMessage ``` There's really no indicator of where...

This is to handle the base64 encoded json messages in the stream.

Matching rules When an activity is delivered through your filtered stream connection, in a matching_rules array, it contains which list of filters matched against the Tweet delivered.

I have set the Stream configuration as follow: ``` opts := twitter.TweetSearchStreamOpts{ TweetFields: []twitter.TweetField{twitter.TweetFieldEntities, twitter.TweetFieldCreatedAt}, Expansions: []twitter.Expansion{twitter.ExpansionAuthorID, twitter.ExpansionAttachmentsMediaKeys}, UserFields: []twitter.UserField{twitter.UserFieldProfileImageURL}, } ``` I receive the Media array by doing tweet.Raw.Includes.Media,...