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

Scrape the Twitter frontend API without authentication with Golang.

Results 27 twitter-scraper issues
Sort by recently updated
recently updated
newest added

```golang package twitter_scraper import ( "log" twitterscraper "github.com/n0madic/twitter-scraper" ) var Scraper *twitterscraper.Scraper func InitTwitterScraper() error { Scraper = twitterscraper.New() err := Scraper.Login("username_xxxx", "password_xxx") if err != nil { log.Println("InitTwitterScraper err:",...

[Apify](https://apify.com/store) is a cloud platform where you can run and scale web scrapers and automations. You can also publish them as Actors either as free to use or as paid...

I'm running into an issue with GetTweets while trying to fetch tweets in a thread format. It seems that tweets within a thread aren't being retrieved properly.

I am using the code below to scrape in the latest order. However, tweets with replies and replies themselves are not included. The internal processing of "scraper.WithReplies(true)" uses "q.Add("include_tweet_replies", strconv.FormatBool(s.includeReplies))",...

I have realized that we are able to scrape tweets through user profiles, however only the verified users return results. Also there are some weird occasions where the script is...

As the title shows, I used my own account, password, and email to crawl data through keywords. The frequency may be too high, causing the login status to return false....

Can you help me how to solve this error, I have installed all the necessary packages but it gives me this error ![Capture](https://github.com/n0madic/twitter-scraper/assets/68764921/f937659f-7a8b-4650-a2c3-72e64706e900)

i was testing the function TestLoginOpenAccount() .it occurs a error i print the `info` data , and it shows like this : {"errors":null,"flow_token":"g;169802627650056643:-1698026277048:Ksb4rSRuLcMNzhNRQyvVt5R0:3","status":"success","subtasks":[{"subtask_id":"OpenWelcomeFlowLink","open_account":{"oauth_token":"","oauth_token_secret":""}}]} is that api outdated?

``` func (s *Scraper) GetTweetByID(id string) (*Tweet, error) { req, err := s.newRequest("GET", "https://twitter.com/i/api/graphql/mbnjGF4gOwo5gyp9pe5s4A/TweetResultByRestId") if err != nil { return nil, err } variables := map[string]interface{}{ "tweetId": id, "withCommunity": false,...