tests/testthat/api.twitter.com/2/tweets-d547dd.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%2C1266855344086663169%2C1266854627758276608%2C1266854586188476421", 
    status_code = 200L, headers = structure(list(date = "Sun, 19 Dec 2021 20:49:21 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` = "3284", 
        `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` = "264", 
        `strict-transport-security` = "max-age=631138519", `x-response-time` = "237", 
        `x-connection-hash` = "a8dd0b91b56c071e60ae4b83ca064c192d64678a1e03c31011044170217df8ed"), class = c("insensitive", 
    "list")), all_headers = list(list(status = 200L, version = "HTTP/2", 
        headers = structure(list(date = "Sun, 19 Dec 2021 20:49:21 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` = "3284", `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` = "264", 
            `strict-transport-security` = "max-age=631138519", 
            `x-response-time` = "237", `x-connection-hash` = "a8dd0b91b56c071e60ae4b83ca064c192d64678a1e03c31011044170217df8ed"), 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\":[{\"id\":\"1266855344086663169\",\"conversation_id\":\"1266855344086663169\",\"possibly_sensitive\":false,\"author_id\":\"1007979497965178880\",\"entities\":{\"hashtags\":[{\"start\":21,\"end\":27,\"tag\":\"Soros\"},{\"start\":52,\"end\":57,\"tag\":\"Geld\"},{\"start\":120,\"end\":125,\"tag\":\"NGOs\"}],\"mentions\":[{\"start\":3,\"end\":19,\"username\":\"TheReal32492440\",\"id\":\"1155848155893837825\"}]},\"public_metrics\":{\"retweet_count\":100,\"reply_count\":0,\"like_count\":0,\"quote_count\":0},\"text\":\"RT @TheReal32492440: #Soros hat es angekündigt: mit #Geld sorgt er für Unruhen und Zerstörung. Dieser Teufel finanziert #NGOs, Zeitungen un…\",\"source\":\"Twitter for Android\",\"lang\":\"de\",\"referenced_tweets\":[{\"type\":\"retweeted\",\"id\":\"1266816466512297984\"}],\"created_at\":\"2020-05-30T22:13:45.000Z\"},{\"id\":\"1266854627758276608\",\"conversation_id\":\"1266854627758276608\",\"possibly_sensitive\":false,\"author_id\":\"1220059857535086597\",\"entities\":{\"hashtags\":[{\"start\":21,\"end\":27,\"tag\":\"Soros\"},{\"start\":52,\"end\":57,\"tag\":\"Geld\"},{\"start\":120,\"end\":125,\"tag\":\"NGOs\"}],\"mentions\":[{\"start\":3,\"end\":19,\"username\":\"TheReal32492440\",\"id\":\"1155848155893837825\"}]},\"public_metrics\":{\"retweet_count\":100,\"reply_count\":0,\"like_count\":0,\"quote_count\":0},\"text\":\"RT @TheReal32492440: #Soros hat es angekündigt: mit #Geld sorgt er für Unruhen und Zerstörung. Dieser Teufel finanziert #NGOs, Zeitungen un…\",\"source\":\"Twitter for Android\",\"lang\":\"de\",\"referenced_tweets\":[{\"type\":\"retweeted\",\"id\":\"1266816466512297984\"}],\"created_at\":\"2020-05-30T22:10:54.000Z\"},{\"id\":\"1266854586188476421\",\"conversation_id\":\"1266854586188476421\",\"possibly_sensitive\":false,\"author_id\":\"1180995990284853248\",\"entities\":{\"mentions\":[{\"start\":3,\"end\":14,\"username\":\"FFFDresden\",\"id\":\"1081603778699296770\"},{\"start\":79,\"end\":95,\"username\":\"StudisForFuture\",\"id\":\"1121882665064501248\"},{\"start\":97,\"end\":110,\"username\":\"ADFC_Dresden\",\"id\":\"125625502\"},{\"start\":112,\"end\":124,\"username\":\"P4F_Dresden\",\"id\":\"1136652369859682305\"}]},\"public_metrics\":{\"retweet_count\":6,\"reply_count\":0,\"like_count\":0,\"quote_count\":0},\"text\":\"RT @FFFDresden: Neben unserer Fahrraddemo finden am Dienstag auch Aktionen von @StudisForFuture, @ADFC_Dresden, @P4F_Dresden und @BundSachs…\",\"source\":\"Twitter for iPhone\",\"lang\":\"de\",\"referenced_tweets\":[{\"type\":\"retweeted\",\"id\":\"1266819115236364290\"}],\"created_at\":\"2020-05-30T22:10:45.000Z\"}],\"includes\":{\"users\":[{\"profile_image_url\":\"https://pbs.twimg.com/profile_images/1348577897393610757/7qHem2PP_normal.jpg\",\"location\":\"NRW, Deutschland\",\"url\":\"\",\"id\":\"1007979497965178880\",\"entities\":{\"description\":{\"mentions\":[{\"start\":112,\"end\":119,\"username\":\"RTErsc\"}]}},\"description\":\"Es ist nie zu spät - neu anzufangen! Wer aufgibt, hat den Kampf bereits verloren! Att.! \\nNEU  - GETTR - unter : @RTErsc\",\"username\":\"RTErsc\",\"name\":\"RTErs\\uD83C\\uDDE9\\uD83C\\uDDEA\\uD83C\\uDDFA\\uD83C\\uDDF8\\uD83C\\uDDEA\\uD83C\\uDDF8MAGA*IFB*\",\"protected\":false,\"public_metrics\":{\"followers_count\":6536,\"following_count\":6570,\"tweet_count\":155208,\"listed_count\":4},\"verified\":false,\"created_at\":\"2018-06-16T13:33:34.000Z\"},{\"profile_image_url\":\"https://pbs.twimg.com/profile_images/1190023297494376452/trykKe9U_normal.jpg\",\"location\":\"Cologne \",\"url\":\"\",\"id\":\"1155848155893837825\",\"description\":\"Konservativ. Gastarbeiter Kind. \\uD83D\\uDD0E Make Germany great again! Gedanken sind Energie. Coronologe™ My immune system is created by god.\",\"username\":\"TheReal32492440\",\"name\":\"Inspector Reality \\uD83D\\uDD75️‍♂️ \\uD83C\\uDDE9\\uD83C\\uDDEA \\uD83C\\uDDEC\\uD83C\\uDDF7 \\uD83C\\uDDFA\\uD83C\\uDDF8\",\"protected\":false,\"public_metrics\":{\"followers_count\":3897,\"following_count\":3207,\"tweet_count\":36497,\"listed_count\":29},\"pinned_tweet_id\":\"1330566567839588357\",\"verified\":false,\"created_at\":\"2019-07-29T14:30:49.000Z\"},{\"profile_image_url\":\"https://pbs.twimg.com/profile_images/1220060457207242753/de4ZrMWa_normal.jpg\",\"location\":\"\\uD83D\\uDE4B\",\"url\":\"\",\"id\":\"1220059857535086597\",\"description\":\"Lieber stehende sterben als kriechend leben\",\"username\":\"Conny96418914\",\"name\":\"Conny\",\"protected\":false,\"public_metrics\":{\"followers_count\":113,\"following_count\":145,\"tweet_count\":2711,\"listed_count\":0},\"verified\":false,\"created_at\":\"2020-01-22T19:05:37.000Z\"},{\"profile_image_url\":\"https://pbs.twimg.com/profile_images/1441895077610143767/gXY0jbrg_normal.jpg\",\"location\":\"Berlin, Deutschland\",\"url\":\"\",\"id\":\"1180995990284853248\",\"entities\":{\"description\":{\"hashtags\":[{\"start\":2,\"end\":16,\"tag\":\"Berlin4Future\"},{\"start\":19,\"end\":29,\"tag\":\"P4FBerlin\"},{\"start\":32,\"end\":45,\"tag\":\"bornat330ppm\"}]}},\"description\":\"\\uD83D\\uDC9A #Berlin4Future \\uD83D\\uDC9A #P4FBerlin \\uD83D\\uDC9A #bornat330ppm \\uD83D\\uDC9A \\uD83D\\uDCAF linksgrünglänzend\",\"username\":\"ClaudiaP4F\",\"name\":\"\\uD83D\\uDC9AClaudia\\uD83D\\uDC9A\",\"protected\":false,\"public_metrics\":{\"followers_count\":198,\"following_count\":616,\"tweet_count\":10060,\"listed_count\":1},\"pinned_tweet_id\":\"1421396422180712449\",\"verified\":false,\"created_at\":\"2019-10-06T23:59:42.000Z\"},{\"profile_image_url\":\"https://pbs.twimg.com/profile_images/1444628319295709184/xoLenFzS_normal.jpg\",\"location\":\"Dresden, Sachsen\",\"url\":\"https://t.co/mdPiW5NsEv\",\"id\":\"1081603778699296770\",\"entities\":{\"url\":{\"urls\":[{\"start\":0,\"end\":23,\"url\":\"https://t.co/mdPiW5NsEv\",\"expanded_url\":\"http://fffutu.re/dresden\",\"display_url\":\"fffutu.re/dresden\"}]},\"description\":{\"hashtags\":[{\"start\":116,\"end\":132,\"tag\":\"UprootTheSystem\"}]}},\"description\":\"Wir sind Schüler:innen und junge Menschen aus Dresden, die freitags für eine sozial-ökologische Wende streiken. \\n⋅  #UprootTheSystem ✊ \\n⋅\",\"username\":\"FFFDresden\",\"name\":\"Fridays for Future Dresden\",\"protected\":false,\"public_metrics\":{\"followers_count\":4189,\"following_count\":499,\"tweet_count\":2827,\"listed_count\":52},\"pinned_tweet_id\":\"1441425967617089536\",\"verified\":false,\"created_at\":\"2019-01-05T17:30:10.000Z\"},{\"profile_image_url\":\"https://pbs.twimg.com/profile_images/1121882984020361217/MLdMP6eb_normal.jpg\",\"url\":\"\",\"id\":\"1121882665064501248\",\"description\":\"Wir sind eine Gruppe Studierender aus Dresden und solidarisieren uns mit der Fridays For Future Bewegung\",\"username\":\"StudisForFuture\",\"name\":\"StudisForFuture Dresden\",\"protected\":false,\"public_metrics\":{\"followers_count\":86,\"following_count\":14,\"tweet_count\":13,\"listed_count\":2},\"verified\":false,\"created_at\":\"2019-04-26T21:04:05.000Z\"},{\"profile_image_url\":\"https://pbs.twimg.com/profile_images/770030243/logo_normal.jpg\",\"location\":\"Dresden, Saxony\",\"url\":\"http://t.co/57lk74oIJe\",\"id\":\"125625502\",\"entities\":{\"url\":{\"urls\":[{\"start\":0,\"end\":22,\"url\":\"http://t.co/57lk74oIJe\",\"expanded_url\":\"http://www.adfc-dresden.de\",\"display_url\":\"adfc-dresden.de\"}]},\"description\":{\"urls\":[{\"start\":53,\"end\":76,\"url\":\"https://t.co/QC9HlftOPE\",\"expanded_url\":\"http://adfc-dresden.de/impressum\",\"display_url\":\"adfc-dresden.de/impressum\"}]}},\"description\":\"Unterwegs für aktive Mobilität in Dresden seit 1987.\\nhttps://t.co/QC9HlftOPE\",\"username\":\"ADFC_Dresden\",\"name\":\"ADFC Dresden\",\"protected\":false,\"public_metrics\":{\"followers_count\":2862,\"following_count\":198,\"tweet_count\":5354,\"listed_count\":67},\"verified\":false,\"created_at\":\"2010-03-23T11:04:00.000Z\"},{\"profile_image_url\":\"https://pbs.twimg.com/profile_images/1367921039418744834/6mvom25w_normal.jpg\",\"location\":\"Dresden\",\"url\":\"https://t.co/CvlWkCOhRW\",\"id\":\"1136652369859682305\",\"entities\":{\"url\":{\"urls\":[{\"start\":0,\"end\":23,\"url\":\"https://t.co/CvlWkCOhRW\",\"expanded_url\":\"http://dresden.parentsforfuture.de\",\"display_url\":\"dresden.parentsforfuture.de\"}]},\"description\":{\"mentions\":[{\"start\":50,\"end\":61,\"username\":\"FFFDresden\"}]}},\"description\":\"Eltern aus Dresden und Umgebung. Wir unterstützen @FFFDresden. Wir suchen Helfer - sprich uns auf den Demos an und komm zu unseren Treffen.\",\"username\":\"P4F_Dresden\",\"name\":\"Parents For Future Dresden\",\"protected\":false,\"public_metrics\":{\"followers_count\":1106,\"following_count\":913,\"tweet_count\":1640,\"listed_count\":26},\"pinned_tweet_id\":\"1471446694109847556\",\"verified\":false,\"created_at\":\"2019-06-06T15:13:37.000Z\"}],\"tweets\":[{\"id\":\"1266816466512297984\",\"conversation_id\":\"1266816466512297984\",\"possibly_sensitive\":false,\"entities\":{\"urls\":[{\"start\":221,\"end\":244,\"url\":\"https://t.co/UESkGHg3QG\",\"expanded_url\":\"https://twitter.com/TheReal32492440/status/1266816466512297984/photo/1\",\"display_url\":\"pic.twitter.com/UESkGHg3QG\"}],\"hashtags\":[{\"start\":0,\"end\":6,\"tag\":\"Soros\"},{\"start\":31,\"end\":36,\"tag\":\"Geld\"},{\"start\":99,\"end\":104,\"tag\":\"NGOs\"},{\"start\":120,\"end\":137,\"tag\":\"FridaysForFuture\"},{\"start\":167,\"end\":179,\"tag\":\"GeorgeFloyd\"},{\"start\":180,\"end\":191,\"tag\":\"mineapolis\"},{\"start\":192,\"end\":209,\"tag\":\"AntifaTerrorists\"},{\"start\":210,\"end\":220,\"tag\":\"riots2020\"}]},\"author_id\":\"1155848155893837825\",\"attachments\":{\"media_keys\":[\"3_1266816456924299264\"]},\"public_metrics\":{\"retweet_count\":100,\"reply_count\":29,\"like_count\":148,\"quote_count\":9},\"text\":\"#Soros hat es angekündigt: mit #Geld sorgt er für Unruhen und Zerstörung. Dieser Teufel finanziert #NGOs, Zeitungen und #FridaysForFuture. Er gehört hinter Gittern!!! #GeorgeFloyd #mineapolis\\n#AntifaTerrorists #riots2020 https://t.co/UESkGHg3QG\",\"source\":\"Twitter for Android\",\"lang\":\"de\",\"created_at\":\"2020-05-30T19:39:16.000Z\"},{\"id\":\"1266819115236364290\",\"conversation_id\":\"1266067475155869696\",\"possibly_sensitive\":false,\"entities\":{\"urls\":[{\"start\":256,\"end\":279,\"url\":\"https://t.co/PpdX7djZBs\",\"expanded_url\":\"https://twitter.com/FFFDresden/status/1266819115236364290/photo/1\",\"display_url\":\"pic.twitter.com/PpdX7djZBs\"}],\"hashtags\":[{\"start\":160,\"end\":173,\"tag\":\"Abfckpraemie\"},{\"start\":238,\"end\":255,\"tag\":\"FridaysForFuture\"}],\"mentions\":[{\"start\":63,\"end\":79,\"username\":\"StudisForFuture\",\"id\":\"1121882665064501248\"},{\"start\":81,\"end\":94,\"username\":\"ADFC_Dresden\",\"id\":\"125625502\"},{\"start\":96,\"end\":108,\"username\":\"P4F_Dresden\",\"id\":\"1136652369859682305\"},{\"start\":113,\"end\":125,\"username\":\"BundSachsen\",\"id\":\"1003560485315383296\"}]},\"author_id\":\"1081603778699296770\",\"attachments\":{\"media_keys\":[\"3_1266819103513337857\"]},\"public_metrics\":{\"retweet_count\":6,\"reply_count\":3,\"like_count\":12,\"quote_count\":0},\"text\":\"Neben unserer Fahrraddemo finden am Dienstag auch Aktionen von @StudisForFuture, @ADFC_Dresden, @P4F_Dresden und @BundSachsen statt. Seid am 02.0. dabei! Weder #Abfckpraemie, noch unweltschädliche Subventionen dürfen ins Konjunkturpaket! #FridaysForFuture https://t.co/PpdX7djZBs\",\"source\":\"Twitter for Android\",\"lang\":\"de\",\"referenced_tweets\":[{\"type\":\"replied_to\",\"id\":\"1266067475155869696\"}],\"created_at\":\"2020-05-30T19:49:48.000Z\",\"in_reply_to_user_id\":\"1081603778699296770\"}]},\"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\"}]}"), 
    date = structure(1639946961, class = c("POSIXct", "POSIXt"
    ), tzone = "GMT"), times = c(redirect = 0, namelookup = 3.1e-05, 
    connect = 3.2e-05, pretransfer = 0.000126, starttransfer = 0.253542, 
    total = 0.253876)), class = "response")
cjbarrie/academictwitteR documentation built on Sept. 7, 2024, 5:12 a.m.