tests/testthat/api.twitter.com/2/tweets-16c888.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%2C1266852781526302722%2C1266852099163291650", 
    status_code = 200L, headers = structure(list(date = "Sun, 19 Dec 2021 20:45:29 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` = "2369", 
        `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` = "279", 
        `strict-transport-security` = "max-age=631138519", `x-response-time` = "245", 
        `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:29 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` = "2369", `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` = "279", 
            `strict-transport-security` = "max-age=631138519", 
            `x-response-time` = "245", `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\":[{\"created_at\":\"2020-05-30T22:03:34.000Z\",\"possibly_sensitive\":false,\"lang\":\"de\",\"referenced_tweets\":[{\"type\":\"retweeted\",\"id\":\"1266436838190911497\"}],\"id\":\"1266852781526302722\",\"author_id\":\"593841338\",\"public_metrics\":{\"retweet_count\":121,\"reply_count\":0,\"like_count\":0,\"quote_count\":0},\"entities\":{\"mentions\":[{\"start\":3,\"end\":11,\"username\":\"Manya_G\",\"id\":\"98816776\"}],\"hashtags\":[{\"start\":61,\"end\":78,\"tag\":\"FridaysForFuture\"}]},\"conversation_id\":\"1266852781526302722\",\"source\":\"Twitter for Android\",\"text\":\"RT @Manya_G: Super Schildermeer am Heldenplatz heute! \\uD83D\\uDCAA\\uD83C\\uDFFB\\uD83D\\uDC4F\\uD83C\\uDFFB\\uD83D\\uDC9A\\n\\n#FridaysForFuture sind kreativ wie eh und je, schön, euch wieder \\\"live\\\" zu seh…\"},{\"created_at\":\"2020-05-30T22:00:52.000Z\",\"possibly_sensitive\":false,\"lang\":\"de\",\"referenced_tweets\":[{\"type\":\"retweeted\",\"id\":\"1266722835252129794\"}],\"id\":\"1266852099163291650\",\"author_id\":\"1180995990284853248\",\"public_metrics\":{\"retweet_count\":2,\"reply_count\":0,\"like_count\":0,\"quote_count\":0},\"entities\":{\"mentions\":[{\"start\":3,\"end\":10,\"username\":\"addnme\",\"id\":\"67984352\"}],\"hashtags\":[{\"start\":57,\"end\":71,\"tag\":\"Verkehrswende\"},{\"start\":72,\"end\":93,\"tag\":\"VerkehrswendeDresden\"},{\"start\":94,\"end\":102,\"tag\":\"Dresden\"},{\"start\":103,\"end\":111,\"tag\":\"Sachsen\"},{\"start\":112,\"end\":127,\"tag\":\"Fahrradprotest\"},{\"start\":128,\"end\":133,\"tag\":\"ADFC\"}]},\"conversation_id\":\"1266852099163291650\",\"source\":\"Twitter for iPhone\",\"text\":\"RT @addnme: Fahrradprotest für sichere Karl-Marx-Straße\\n\\n#Verkehrswende #VerkehrswendeDresden #Dresden #Sachsen #Fahrradprotest #ADFC #Frid…\"}],\"includes\":{\"users\":[{\"public_metrics\":{\"followers_count\":1358,\"following_count\":2249,\"tweet_count\":5740,\"listed_count\":50},\"verified\":false,\"id\":\"593841338\",\"pinned_tweet_id\":\"1284128128210796545\",\"entities\":{\"url\":{\"urls\":[{\"start\":0,\"end\":23,\"url\":\"https://t.co/PCoLqPOgEI\",\"expanded_url\":\"http://www.interculturalreadiness.com\",\"display_url\":\"interculturalreadiness.com\"}]}},\"location\":\"Amsterdam\",\"name\":\"Ursula Brinkmann\",\"created_at\":\"2012-05-29T16:28:09.000Z\",\"profile_image_url\":\"https://pbs.twimg.com/profile_images/1366306118218170373/5RQ3TK8X_normal.jpg\",\"description\":\"Author 'Intercultural Readiness' (Palgrave).  Intercultural Readiness Certification September October 2+3 December 2021.  Contact us for more information\",\"username\":\"UrsulaBrinkmann\",\"protected\":false,\"url\":\"https://t.co/PCoLqPOgEI\"},{\"public_metrics\":{\"followers_count\":329,\"following_count\":260,\"tweet_count\":6168,\"listed_count\":4},\"verified\":false,\"id\":\"98816776\",\"name\":\"Manya G.\",\"created_at\":\"2009-12-23T06:38:26.000Z\",\"profile_image_url\":\"https://pbs.twimg.com/profile_images/1251530661304942592/STby4pV6_normal.jpg\",\"description\":\"\",\"username\":\"Manya_G\",\"protected\":false,\"url\":\"\"},{\"public_metrics\":{\"followers_count\":198,\"following_count\":616,\"tweet_count\":10060,\"listed_count\":1},\"verified\":false,\"id\":\"1180995990284853248\",\"pinned_tweet_id\":\"1421396422180712449\",\"entities\":{\"description\":{\"hashtags\":[{\"start\":2,\"end\":16,\"tag\":\"Berlin4Future\"},{\"start\":19,\"end\":29,\"tag\":\"P4FBerlin\"},{\"start\":32,\"end\":45,\"tag\":\"bornat330ppm\"}]}},\"location\":\"Berlin, Deutschland\",\"name\":\"\\uD83D\\uDC9AClaudia\\uD83D\\uDC9A\",\"created_at\":\"2019-10-06T23:59:42.000Z\",\"profile_image_url\":\"https://pbs.twimg.com/profile_images/1441895077610143767/gXY0jbrg_normal.jpg\",\"description\":\"\\uD83D\\uDC9A #Berlin4Future \\uD83D\\uDC9A #P4FBerlin \\uD83D\\uDC9A #bornat330ppm \\uD83D\\uDC9A \\uD83D\\uDCAF linksgrünglänzend\",\"username\":\"ClaudiaP4F\",\"protected\":false,\"url\":\"\"},{\"public_metrics\":{\"followers_count\":4554,\"following_count\":647,\"tweet_count\":8420,\"listed_count\":0},\"verified\":false,\"id\":\"67984352\",\"pinned_tweet_id\":\"1466837840080351241\",\"entities\":{\"url\":{\"urls\":[{\"start\":0,\"end\":23,\"url\":\"https://t.co/6WCLELV28u\",\"expanded_url\":\"http://www.addn.me\",\"display_url\":\"addn.me\"}]}},\"location\":\"Dresden\",\"name\":\"Alternative Dresden News\",\"created_at\":\"2009-08-22T21:11:53.000Z\",\"profile_image_url\":\"https://pbs.twimg.com/profile_images/1123289805994045440/CjvvZnzW_normal.png\",\"description\":\"Nachrichtenportal für eine kritische Öffentlichkeit in Dresden und Umgebung mit Schwerpunkten auf Antifa, Nazis, Freiräumen, Kultur und sozialen Themen.\",\"username\":\"addnme\",\"protected\":false,\"url\":\"https://t.co/6WCLELV28u\"}],\"tweets\":[{\"entities\":{\"urls\":[{\"start\":131,\"end\":154,\"url\":\"https://t.co/sQFsra6LH2\",\"expanded_url\":\"https://twitter.com/Manya_G/status/1266436838190911497/photo/1\",\"display_url\":\"pic.twitter.com/sQFsra6LH2\"}],\"hashtags\":[{\"start\":48,\"end\":65,\"tag\":\"FridaysForFuture\"}]},\"created_at\":\"2020-05-29T18:30:46.000Z\",\"possibly_sensitive\":false,\"lang\":\"de\",\"attachments\":{\"media_keys\":[\"3_1266436070302003201\"]},\"id\":\"1266436838190911497\",\"author_id\":\"98816776\",\"public_metrics\":{\"retweet_count\":121,\"reply_count\":6,\"like_count\":799,\"quote_count\":2},\"conversation_id\":\"1266436838190911497\",\"source\":\"Twitter Web App\",\"text\":\"Super Schildermeer am Heldenplatz heute! \\uD83D\\uDCAA\\uD83C\\uDFFB\\uD83D\\uDC4F\\uD83C\\uDFFB\\uD83D\\uDC9A\\n\\n#FridaysForFuture sind kreativ wie eh und je, schön, euch wieder \\\"live\\\" zu sehen \\uD83D\\uDE0D https://t.co/sQFsra6LH2\"},{\"entities\":{\"urls\":[{\"start\":198,\"end\":221,\"url\":\"https://t.co/OjUBpx4PIK\",\"expanded_url\":\"https://www.addn.me/soziales/fahrradprotest-fuer-sichere-karl-marx-strasse/\",\"display_url\":\"addn.me/soziales/fahrr…\",\"status\":200,\"unwound_url\":\"https://www.addn.me/soziales/fahrradprotest-fuer-sichere-karl-marx-strasse/\"}],\"hashtags\":[{\"start\":45,\"end\":59,\"tag\":\"Verkehrswende\"},{\"start\":60,\"end\":81,\"tag\":\"VerkehrswendeDresden\"},{\"start\":82,\"end\":90,\"tag\":\"Dresden\"},{\"start\":91,\"end\":99,\"tag\":\"Sachsen\"},{\"start\":100,\"end\":115,\"tag\":\"Fahrradprotest\"},{\"start\":116,\"end\":121,\"tag\":\"ADFC\"},{\"start\":122,\"end\":139,\"tag\":\"FridaysForFuture\"},{\"start\":140,\"end\":151,\"tag\":\"FFFDresden\"},{\"start\":152,\"end\":163,\"tag\":\"Autogipfel\"},{\"start\":164,\"end\":178,\"tag\":\"Abwrackprämie\"},{\"start\":179,\"end\":189,\"tag\":\"GhostBike\"},{\"start\":190,\"end\":195,\"tag\":\"StVO\"}]},\"created_at\":\"2020-05-30T13:27:13.000Z\",\"possibly_sensitive\":false,\"lang\":\"de\",\"id\":\"1266722835252129794\",\"author_id\":\"67984352\",\"public_metrics\":{\"retweet_count\":2,\"reply_count\":1,\"like_count\":4,\"quote_count\":0},\"conversation_id\":\"1266722835252129794\",\"source\":\"Twitter Web App\",\"text\":\"Fahrradprotest für sichere Karl-Marx-Straße\\n\\n#Verkehrswende #VerkehrswendeDresden #Dresden #Sachsen #Fahrradprotest #ADFC #FridaysForFuture #FFFDresden #Autogipfel #Abwrackprämie #GhostBike #StVO \\n\\nhttps://t.co/OjUBpx4PIK\"}]},\"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\"}]}"), 
    date = structure(1639946729, class = c("POSIXct", "POSIXt"
    ), tzone = "GMT"), times = c(redirect = 0, namelookup = 2.8e-05, 
    connect = 2.9e-05, pretransfer = 0.000117, starttransfer = 0.258645, 
    total = 0.259041)), class = "response")
cjbarrie/academictwitteR documentation built on Sept. 7, 2024, 5:12 a.m.