You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
It looks like there is a limit how many actors can go into the get_user_info function. Below 26 is fine, but then:
library(atrrr)
df<- search_post("Amsterdam", limit=200)
#> ℹ Found an *unknown total* of posts that fit the query#> ⠙ Got 97 posts, but there is more.. [1.2s]#> ⠹ Got 192 posts, but there is more.. [1.6s]#> ⠸ Got 285 posts, but there is more.. [1.9s]#> ℹ Parsing 285 results.#> ✔ Got 285 results. All done!#> user_info<- get_user_info(actor=df$author_handle)
#> Error in `httr2::req_perform()` at atrrr/R/utils.r:57:5:#> ! HTTP 400 Bad Request.#> • error type: InvalidRequest#> • message: Error: actors must not have more than 25 elements
It looks like there is a limit how many actors can go into the
get_user_info
function. Below 26 is fine, but then:Created on 2024-02-13 with reprex v2.1.0
We should fix this, since we take care of pagination elsewhere (e.g., in
search_post
). So why not here.The text was updated successfully, but these errors were encountered: