Use Twitter/X from Go

4 months ago 3

There are so many Python-based X/Twitter GraphQL clients. Why not a Go-based one?

Use Twitter/X from Go. Free. Insanely easy.

Working auth token.

Want more? Leave an issue.

func main() { // Authenticate with Auth Token (yes, this is a **real** token) client := NewClient("a466b1e352db4e7ff08204bc72a5157b1431202b") // Get some data user, err := client.UserByScreenName("elonmusk") // use data and get more data data, _ := client.UserTweets(user.ID) }

More documentation coming soon, and new ops added every day.

Read Entire Article