Giter VIP home page Giter VIP logo

Comments (7)

uluturki avatar uluturki commented on June 9, 2024 1

You can call the classifier function as follows to have retryonratelimit functionality (slightly modified from the readme):

## get most recent 100 tweets from each user
tmls <- get_timelines(users, n = 100, retryonratelimit = TRUE)

## pass the returned data to botornot()
data <- botornot(tmls)

from tweetbotornot.

Kudusch avatar Kudusch commented on June 9, 2024

I'm interested in this as well. Passing rtweets retryonratelimit to botrnot would be a great start.

from tweetbotornot.

yongleZ avatar yongleZ commented on June 9, 2024

Hi, have you fixed this issue yet? I came into the same problem and need some help.

from tweetbotornot.

brainprint avatar brainprint commented on June 9, 2024

Same problem here.

from tweetbotornot.

Hawkeye407 avatar Hawkeye407 commented on June 9, 2024

Same problem... retryonratelimit will be very handy...

from tweetbotornot.

victorgois avatar victorgois commented on June 9, 2024

You can call the classifier function as follows to have retryonratelimit functionality (slightly modified from the readme):

## get most recent 100 tweets from each user
tmls <- get_timelines(users, n = 100, retryonratelimit = TRUE)

## pass the returned data to botornot()
data <- botornot(tmls)

How this works?

I am trying to parse a list of 70k "rows" and all I get is 'Warning: Rate limit exceeded - 88'

I am also having problems when I pass my list through parameter in the botornot(). It does not accept list as parameters. I just gave up to pass all the database manually as parameter.

My code trying to pass a list as parameter

## load package
library(tweetbotornot)
library(rtweet)
library(reticulate)

users <- c(py_run_file("script.py"))
#vector <- unlist(users)
users <- c(users)
**#  method not applicable to 'botornot' applied to a class object "list"**
data <- botornot(users)

data[order(data$prob_bot), ]

from tweetbotornot.

kuyaKS avatar kuyaKS commented on June 9, 2024

I'm having the same problem. Is there already an update on how to handle rate limits in order to test thousands of usernames?

from tweetbotornot.

Related Issues (20)

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. 📊📈🎉

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google ❤️ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.