Extract entities of the tweets linked to a tweet id.
Arguments
- x
A tweets object of the rtweet package.
- entity
A entity to extract data from.
- ...
Other possible arguments currently ignored.
Value
Some information about those entities and the tweet id it comes from. for users mentions the ids of the mentioned users are "user_id", "user_id_str" (not "id_str")
Examples
if (auth_has_default()) {
statuses <- c(
"567053242429734913",
"266031293945503744",
"440322224407314432"
)
## lookup tweets data for given statuses
tw <- lookup_tweets(statuses)
entity(tw, "urls")
}