tests/testthat/api.twitter.com/2/tweets-3c8bee.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%2C1266854586188476421", 
    status_code = 200L, headers = structure(list(date = "Sun, 19 Dec 2021 20:49:24 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` = "2266", 
        `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` = "262", 
        `strict-transport-security` = "max-age=631138519", `x-response-time` = "223", 
        `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:24 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` = "2266", `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` = "262", 
            `strict-transport-security` = "max-age=631138519", 
            `x-response-time` = "223", `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\":[{\"referenced_tweets\":[{\"type\":\"retweeted\",\"id\":\"1266819115236364290\"}],\"text\":\"RT @FFFDresden: Neben unserer Fahrraddemo finden am Dienstag auch Aktionen von @StudisForFuture, @ADFC_Dresden, @P4F_Dresden und @BundSachs…\",\"lang\":\"de\",\"source\":\"Twitter for iPhone\",\"conversation_id\":\"1266854586188476421\",\"public_metrics\":{\"retweet_count\":6,\"reply_count\":0,\"like_count\":0,\"quote_count\":0},\"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\"}]},\"created_at\":\"2020-05-30T22:10:45.000Z\",\"author_id\":\"1180995990284853248\",\"possibly_sensitive\":false,\"id\":\"1266854586188476421\"}],\"includes\":{\"users\":[{\"name\":\"\\uD83D\\uDC9AClaudia\\uD83D\\uDC9A\",\"location\":\"Berlin, Deutschland\",\"profile_image_url\":\"https://pbs.twimg.com/profile_images/1441895077610143767/gXY0jbrg_normal.jpg\",\"created_at\":\"2019-10-06T23:59:42.000Z\",\"verified\":false,\"url\":\"\",\"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\",\"pinned_tweet_id\":\"1421396422180712449\",\"id\":\"1180995990284853248\",\"username\":\"ClaudiaP4F\",\"public_metrics\":{\"followers_count\":198,\"following_count\":616,\"tweet_count\":10060,\"listed_count\":1},\"protected\":false},{\"name\":\"Fridays for Future Dresden\",\"location\":\"Dresden, Sachsen\",\"profile_image_url\":\"https://pbs.twimg.com/profile_images/1444628319295709184/xoLenFzS_normal.jpg\",\"created_at\":\"2019-01-05T17:30:10.000Z\",\"verified\":false,\"url\":\"https://t.co/mdPiW5NsEv\",\"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⋅\",\"pinned_tweet_id\":\"1441425967617089536\",\"id\":\"1081603778699296770\",\"username\":\"FFFDresden\",\"public_metrics\":{\"followers_count\":4189,\"following_count\":499,\"tweet_count\":2827,\"listed_count\":52},\"protected\":false},{\"name\":\"StudisForFuture Dresden\",\"profile_image_url\":\"https://pbs.twimg.com/profile_images/1121882984020361217/MLdMP6eb_normal.jpg\",\"created_at\":\"2019-04-26T21:04:05.000Z\",\"verified\":false,\"url\":\"\",\"description\":\"Wir sind eine Gruppe Studierender aus Dresden und solidarisieren uns mit der Fridays For Future Bewegung\",\"id\":\"1121882665064501248\",\"username\":\"StudisForFuture\",\"public_metrics\":{\"followers_count\":86,\"following_count\":14,\"tweet_count\":13,\"listed_count\":2},\"protected\":false},{\"name\":\"ADFC Dresden\",\"location\":\"Dresden, Saxony\",\"profile_image_url\":\"https://pbs.twimg.com/profile_images/770030243/logo_normal.jpg\",\"created_at\":\"2010-03-23T11:04:00.000Z\",\"verified\":false,\"url\":\"http://t.co/57lk74oIJe\",\"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\",\"id\":\"125625502\",\"username\":\"ADFC_Dresden\",\"public_metrics\":{\"followers_count\":2862,\"following_count\":198,\"tweet_count\":5354,\"listed_count\":67},\"protected\":false},{\"name\":\"Parents For Future Dresden\",\"location\":\"Dresden\",\"profile_image_url\":\"https://pbs.twimg.com/profile_images/1367921039418744834/6mvom25w_normal.jpg\",\"created_at\":\"2019-06-06T15:13:37.000Z\",\"verified\":false,\"url\":\"https://t.co/CvlWkCOhRW\",\"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.\",\"pinned_tweet_id\":\"1471446694109847556\",\"id\":\"1136652369859682305\",\"username\":\"P4F_Dresden\",\"public_metrics\":{\"followers_count\":1106,\"following_count\":913,\"tweet_count\":1640,\"listed_count\":26},\"protected\":false}],\"tweets\":[{\"in_reply_to_user_id\":\"1081603778699296770\",\"referenced_tweets\":[{\"type\":\"replied_to\",\"id\":\"1266067475155869696\"}],\"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\",\"lang\":\"de\",\"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\"}]},\"source\":\"Twitter for Android\",\"attachments\":{\"media_keys\":[\"3_1266819103513337857\"]},\"conversation_id\":\"1266067475155869696\",\"public_metrics\":{\"retweet_count\":6,\"reply_count\":3,\"like_count\":12,\"quote_count\":0},\"created_at\":\"2020-05-30T19:49:48.000Z\",\"author_id\":\"1081603778699296770\",\"possibly_sensitive\":false,\"id\":\"1266819115236364290\"}]},\"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\"}]}"), 
    date = structure(1639946964, class = c("POSIXct", "POSIXt"
    ), tzone = "GMT"), times = c(redirect = 0, namelookup = 3.8e-05, 
    connect = 3.9e-05, pretransfer = 0.000156, starttransfer = 0.235625, 
    total = 0.235898)), class = "response")
cjbarrie/academictwitteR documentation built on Sept. 7, 2024, 5:12 a.m.