tests/testthat/api.twitter.com/2/tweets-da6002.R

structure(list(url = "https://api.twitter.com/2/tweets?tweet.fields=attachments%2Cauthor_id%2Cconversation_id%2Ccreated_at%2Centities%2Cgeo%2Cid%2Cin_reply_to_user_id%2Clang%2Cpublic_metrics%2Cpossibly_sensitive%2Creferenced_tweets%2Csource%2Ctext%2Cwithheld&user.fields=created_at%2Cdescription%2Centities%2Cid%2Clocation%2Cname%2Cpinned_tweet_id%2Cprofile_image_url%2Cprotected%2Cpublic_metrics%2Curl%2Cusername%2Cverified%2Cwithheld&expansions=author_id%2Centities.mentions.username%2Cgeo.place_id%2Cin_reply_to_user_id%2Creferenced_tweets.id%2Creferenced_tweets.id.author_id&place.fields=contained_within%2Ccountry%2Ccountry_code%2Cfull_name%2Cgeo%2Cid%2Cname%2Cplace_type&ids=1%2C2%2C3%2C4%2C5%2C6%2C7%2C8%2C9%2C10%2C11%2C12%2C13%2C14%2C15%2C16%2C17%2C18%2C19%2C20", 
    status_code = 200L, headers = structure(list(date = "Sun, 19 Dec 2021 20:45:30 UTC", 
        server = "tsa_o", `api-version` = "2.32", `content-type` = "application/json; charset=utf-8", 
        `cache-control` = "no-cache, no-store, max-age=0", `content-length` = "819", 
        `x-access-level` = "read", `x-frame-options` = "SAMEORIGIN", 
        `content-encoding` = "gzip", `x-xss-protection` = "0", 
        `x-rate-limit-limit` = "300", `x-rate-limit-reset` = "1639947531", 
        `content-disposition` = "attachment; filename=json.json", 
        `x-content-type-options` = "nosniff", `x-rate-limit-remaining` = "278", 
        `strict-transport-security` = "max-age=631138519", `x-response-time` = "178", 
        `x-connection-hash` = "7d54fc61481fbbf761f96e7412fcce2a506bf85407f0f6725ae81f8d24a33064"), class = c("insensitive", 
    "list")), all_headers = list(list(status = 200L, version = "HTTP/2", 
        headers = structure(list(date = "Sun, 19 Dec 2021 20:45:30 UTC", 
            server = "tsa_o", `api-version` = "2.32", `content-type` = "application/json; charset=utf-8", 
            `cache-control` = "no-cache, no-store, max-age=0", 
            `content-length` = "819", `x-access-level` = "read", 
            `x-frame-options` = "SAMEORIGIN", `content-encoding` = "gzip", 
            `x-xss-protection` = "0", `x-rate-limit-limit` = "300", 
            `x-rate-limit-reset` = "1639947531", `content-disposition` = "attachment; filename=json.json", 
            `x-content-type-options` = "nosniff", `x-rate-limit-remaining` = "278", 
            `strict-transport-security` = "max-age=631138519", 
            `x-response-time` = "178", `x-connection-hash` = "7d54fc61481fbbf761f96e7412fcce2a506bf85407f0f6725ae81f8d24a33064"), class = c("insensitive", 
        "list")))), cookies = structure(list(domain = c(".twitter.com", 
    ".twitter.com", ".twitter.com", ".twitter.com"), flag = c(TRUE, 
    TRUE, TRUE, TRUE), path = c("/", "/", "/", "/"), secure = c(TRUE, 
    TRUE, TRUE, TRUE), expiration = structure(c(1702744284, 1702744284, 
    1702744284, 1702744284), class = c("POSIXct", "POSIXt")), 
        name = c("guest_id_marketing", "guest_id_ads", "personalization_id", 
        "guest_id"), value = c("REDACTED", "REDACTED", "REDACTED", 
        "REDACTED")), row.names = c(NA, -4L), class = "data.frame"), 
    content = charToRaw("{\"data\":[{\"lang\":\"en\",\"conversation_id\":\"20\",\"created_at\":\"2006-03-21T20:50:14.000Z\",\"id\":\"20\",\"public_metrics\":{\"retweet_count\":121689,\"reply_count\":10004,\"like_count\":172939,\"quote_count\":17656},\"text\":\"just setting up my twttr\",\"source\":\"Twitter Web Client\",\"possibly_sensitive\":false,\"author_id\":\"12\"}],\"includes\":{\"users\":[{\"created_at\":\"2006-03-21T20:50:14.000Z\",\"id\":\"12\",\"description\":\"#bitcoin\",\"public_metrics\":{\"followers_count\":6010782,\"following_count\":4491,\"tweet_count\":28097,\"listed_count\":31283},\"protected\":false,\"location\":\"\\uD83C\\uDF0A\",\"name\":\"jack⚡️\",\"verified\":true,\"username\":\"jack\",\"pinned_tweet_id\":\"1247616214769086465\",\"entities\":{\"description\":{\"hashtags\":[{\"start\":0,\"end\":8,\"tag\":\"bitcoin\"}]}},\"url\":\"\",\"profile_image_url\":\"https://pbs.twimg.com/profile_images/1115644092329758721/AFjOr-K8_normal.jpg\"}]},\"errors\":[{\"value\":\"1\",\"detail\":\"Could not find tweet with ids: [1].\",\"title\":\"Not Found Error\",\"resource_type\":\"tweet\",\"parameter\":\"ids\",\"resource_id\":\"1\",\"type\":\"https://api.twitter.com/2/problems/resource-not-found\"},{\"value\":\"2\",\"detail\":\"Could not find tweet with ids: [2].\",\"title\":\"Not Found Error\",\"resource_type\":\"tweet\",\"parameter\":\"ids\",\"resource_id\":\"2\",\"type\":\"https://api.twitter.com/2/problems/resource-not-found\"},{\"value\":\"3\",\"detail\":\"Could not find tweet with ids: [3].\",\"title\":\"Not Found Error\",\"resource_type\":\"tweet\",\"parameter\":\"ids\",\"resource_id\":\"3\",\"type\":\"https://api.twitter.com/2/problems/resource-not-found\"},{\"value\":\"4\",\"detail\":\"Could not find tweet with ids: [4].\",\"title\":\"Not Found Error\",\"resource_type\":\"tweet\",\"parameter\":\"ids\",\"resource_id\":\"4\",\"type\":\"https://api.twitter.com/2/problems/resource-not-found\"},{\"value\":\"5\",\"detail\":\"Could not find tweet with ids: [5].\",\"title\":\"Not Found Error\",\"resource_type\":\"tweet\",\"parameter\":\"ids\",\"resource_id\":\"5\",\"type\":\"https://api.twitter.com/2/problems/resource-not-found\"},{\"value\":\"6\",\"detail\":\"Could not find tweet with ids: [6].\",\"title\":\"Not Found Error\",\"resource_type\":\"tweet\",\"parameter\":\"ids\",\"resource_id\":\"6\",\"type\":\"https://api.twitter.com/2/problems/resource-not-found\"},{\"value\":\"7\",\"detail\":\"Could not find tweet with ids: [7].\",\"title\":\"Not Found Error\",\"resource_type\":\"tweet\",\"parameter\":\"ids\",\"resource_id\":\"7\",\"type\":\"https://api.twitter.com/2/problems/resource-not-found\"},{\"value\":\"8\",\"detail\":\"Could not find tweet with ids: [8].\",\"title\":\"Not Found Error\",\"resource_type\":\"tweet\",\"parameter\":\"ids\",\"resource_id\":\"8\",\"type\":\"https://api.twitter.com/2/problems/resource-not-found\"},{\"value\":\"9\",\"detail\":\"Could not find tweet with ids: [9].\",\"title\":\"Not Found Error\",\"resource_type\":\"tweet\",\"parameter\":\"ids\",\"resource_id\":\"9\",\"type\":\"https://api.twitter.com/2/problems/resource-not-found\"},{\"value\":\"10\",\"detail\":\"Could not find tweet with ids: [10].\",\"title\":\"Not Found Error\",\"resource_type\":\"tweet\",\"parameter\":\"ids\",\"resource_id\":\"10\",\"type\":\"https://api.twitter.com/2/problems/resource-not-found\"},{\"value\":\"11\",\"detail\":\"Could not find tweet with ids: [11].\",\"title\":\"Not Found Error\",\"resource_type\":\"tweet\",\"parameter\":\"ids\",\"resource_id\":\"11\",\"type\":\"https://api.twitter.com/2/problems/resource-not-found\"},{\"value\":\"12\",\"detail\":\"Could not find tweet with ids: [12].\",\"title\":\"Not Found Error\",\"resource_type\":\"tweet\",\"parameter\":\"ids\",\"resource_id\":\"12\",\"type\":\"https://api.twitter.com/2/problems/resource-not-found\"},{\"value\":\"13\",\"detail\":\"Could not find tweet with ids: [13].\",\"title\":\"Not Found Error\",\"resource_type\":\"tweet\",\"parameter\":\"ids\",\"resource_id\":\"13\",\"type\":\"https://api.twitter.com/2/problems/resource-not-found\"},{\"value\":\"14\",\"detail\":\"Could not find tweet with ids: [14].\",\"title\":\"Not Found Error\",\"resource_type\":\"tweet\",\"parameter\":\"ids\",\"resource_id\":\"14\",\"type\":\"https://api.twitter.com/2/problems/resource-not-found\"},{\"value\":\"15\",\"detail\":\"Could not find tweet with ids: [15].\",\"title\":\"Not Found Error\",\"resource_type\":\"tweet\",\"parameter\":\"ids\",\"resource_id\":\"15\",\"type\":\"https://api.twitter.com/2/problems/resource-not-found\"},{\"value\":\"16\",\"detail\":\"Could not find tweet with ids: [16].\",\"title\":\"Not Found Error\",\"resource_type\":\"tweet\",\"parameter\":\"ids\",\"resource_id\":\"16\",\"type\":\"https://api.twitter.com/2/problems/resource-not-found\"},{\"value\":\"17\",\"detail\":\"Could not find tweet with ids: [17].\",\"title\":\"Not Found Error\",\"resource_type\":\"tweet\",\"parameter\":\"ids\",\"resource_id\":\"17\",\"type\":\"https://api.twitter.com/2/problems/resource-not-found\"},{\"value\":\"18\",\"detail\":\"Could not find tweet with ids: [18].\",\"title\":\"Not Found Error\",\"resource_type\":\"tweet\",\"parameter\":\"ids\",\"resource_id\":\"18\",\"type\":\"https://api.twitter.com/2/problems/resource-not-found\"},{\"value\":\"19\",\"detail\":\"Could not find tweet with ids: [19].\",\"title\":\"Not Found Error\",\"resource_type\":\"tweet\",\"parameter\":\"ids\",\"resource_id\":\"19\",\"type\":\"https://api.twitter.com/2/problems/resource-not-found\"}]}"), 
    date = structure(1639946730, class = c("POSIXct", "POSIXt"
    ), tzone = "GMT"), times = c(redirect = 0, namelookup = 3.1e-05, 
    connect = 3.2e-05, pretransfer = 0.000119, starttransfer = 0.19377, 
    total = 0.193988)), class = "response")
cjbarrie/academictwitteR documentation built on Sept. 7, 2024, 5:12 a.m.