Skip to content
This repository was archived by the owner on Nov 10, 2024. It is now read-only.
This repository was archived by the owner on Nov 10, 2024. It is now read-only.

Error when retreiving users favorites with short user ids #590

@simonheb

Description

@simonheb

Problem

I'm using get_favorites to receive some users likes. It seems to randomly fail for some users. I figured these were always users with short ids. E.g.:

get_favorites("515880511",token=token)
Error: Twitter API failed [401]
 *  ()

The documentation says "User identifiers look like regular numbers, but are actually 64-bit integers which can't be stored in R's numeric vectors. For this reason, rtweet always returns ids as strings." so I am storing the id as a string.

Expected behavior

The expected behavior would be to return a set of "liked" tweets

Reproduce the problem

get_favorites("515880511",token=token)

rtweet version

‘0.7.0.9000’

Metadata

Metadata

Assignees

No one assigned

    Type

    No type
    No fields configured for issues without a type.

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions