twitter
client
Pure-Go best-effort read client for public Twitter/X profile timelines.
Pure-Go best-effort read client for public Twitter/X profile timelines.
A pure-Go (CGO=0), dependency-free, best-effort read client for public Twitter/X profile timelines. It reads the public syndication timeline endpoint that powers embedded timeline widgets and extracts tweets from the __NEXT_DATA__ JSON blob.
This is inherently fragile. Twitter/X changes and locks these endpoints, and many profiles or rate states require a valid auth token.
Blocked requests (403/429) surface as errors — they indicate blocking and fragility, not a bug in the code. Respect Twitter/X's Terms of Service and applicable law when using this library.
Pure Go, standard library only. go get github.com/go-birdsite/twitter
c := twitter.New()
tl, err := c.UserTweets(context.Background(), "jack")
if err != nil {
panic(err) // 403/429 here means Twitter/X is blocking the request.
}
for _, tw := range tl.Tweets {
fmt.Printf("@%s: %s (%d likes)\n", tw.Author, tw.Text, tw.Likes)
}Everything that actually exists in the org today.
twitter
clientPure-Go best-effort read client for public Twitter/X profile timelines.
brand
brandLogos, icons and social images for go-birdsite.