View source: R/setup-functions.R
get_char_tweet_ids | R Documentation |
This function is useful because Google Sheets (and hence TAGS)
typically round very large numbers into an exponential form. Thus,
because status ID numbers are very large, they often get corrupted in this
rounding process. The most reliable way to get full status ID numbers is by
using this function, get_char_tweet_ids()
, to pull the ID numbers
from the URL linking to specific statuses.
get_char_tweet_ids(x)
x |
A dataframe containing the column name 'status_url'
(i.e., the hyperlink to specific statuses), such as that returned by
|
A vector of Twitter status IDs as character strings
example_url <- "18clYlQeJOc6W5QRuSlJ6_v3snqKJImFhU42bRkM_OX8"
tags_content <- read_tags(example_url)
get_char_tweet_ids(tags_content[1:10, ])
get_char_tweet_ids(tags_content$status_url[1:10])
get_char_tweet_ids(
"https://twitter.com/tweet__example/status/1176592704647716864")
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.