tests/testthat/api.twitter.com/2/tweets-5be4b9.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=1266852099163291650", 
    status_code = 200L, headers = structure(list(date = "Sun, 19 Dec 2021 10:36:53 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` = "1409", 
        `x-access-level` = "read", `x-frame-options` = "SAMEORIGIN", 
        `content-encoding` = "gzip", `x-xss-protection` = "0", 
        `x-rate-limit-limit` = "300", `x-rate-limit-reset` = "1639910865", 
        `content-disposition` = "attachment; filename=json.json", 
        `x-content-type-options` = "nosniff", `x-rate-limit-remaining` = "297", 
        `strict-transport-security` = "max-age=631138519", `x-response-time` = "199", 
        `x-connection-hash` = "244c25d8369406ebe1736b071cb6dbbc1f610fcb6b5dee6b60cd76860eaeab36"), class = c("insensitive", 
    "list")), all_headers = list(list(status = 200L, version = "HTTP/2", 
        headers = structure(list(date = "Sun, 19 Dec 2021 10:36:53 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` = "1409", `x-access-level` = "read", 
            `x-frame-options` = "SAMEORIGIN", `content-encoding` = "gzip", 
            `x-xss-protection` = "0", `x-rate-limit-limit` = "300", 
            `x-rate-limit-reset` = "1639910865", `content-disposition` = "attachment; filename=json.json", 
            `x-content-type-options` = "nosniff", `x-rate-limit-remaining` = "297", 
            `strict-transport-security` = "max-age=631138519", 
            `x-response-time` = "199", `x-connection-hash` = "244c25d8369406ebe1736b071cb6dbbc1f610fcb6b5dee6b60cd76860eaeab36"), 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\":\"1266852099163291650\",\"referenced_tweets\":[{\"type\":\"retweeted\",\"id\":\"1266722835252129794\"}],\"entities\":{\"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\"}],\"mentions\":[{\"start\":3,\"end\":10,\"username\":\"addnme\",\"id\":\"67984352\"}]},\"conversation_id\":\"1266852099163291650\",\"public_metrics\":{\"retweet_count\":2,\"reply_count\":0,\"like_count\":0,\"quote_count\":0},\"created_at\":\"2020-05-30T22:00:52.000Z\",\"source\":\"Twitter for iPhone\",\"text\":\"RT @addnme: Fahrradprotest für sichere Karl-Marx-Straße\\n\\n#Verkehrswende #VerkehrswendeDresden #Dresden #Sachsen #Fahrradprotest #ADFC #Frid…\",\"possibly_sensitive\":false,\"author_id\":\"1180995990284853248\",\"lang\":\"de\"}],\"includes\":{\"users\":[{\"pinned_tweet_id\":\"1421396422180712449\",\"profile_image_url\":\"https://pbs.twimg.com/profile_images/1441895077610143767/gXY0jbrg_normal.jpg\",\"name\":\"\\uD83D\\uDC9AClaudia\\uD83D\\uDC9A\",\"username\":\"ClaudiaP4F\",\"entities\":{\"description\":{\"hashtags\":[{\"start\":2,\"end\":16,\"tag\":\"Berlin4Future\"},{\"start\":19,\"end\":29,\"tag\":\"P4FBerlin\"},{\"start\":32,\"end\":45,\"tag\":\"bornat330ppm\"}]}},\"location\":\"Berlin, Deutschland\",\"created_at\":\"2019-10-06T23:59:42.000Z\",\"id\":\"1180995990284853248\",\"protected\":false,\"public_metrics\":{\"followers_count\":198,\"following_count\":616,\"tweet_count\":10060,\"listed_count\":1},\"url\":\"\",\"description\":\"\\uD83D\\uDC9A #Berlin4Future \\uD83D\\uDC9A #P4FBerlin \\uD83D\\uDC9A #bornat330ppm \\uD83D\\uDC9A \\uD83D\\uDCAF linksgrünglänzend\",\"verified\":false},{\"pinned_tweet_id\":\"1466837840080351241\",\"profile_image_url\":\"https://pbs.twimg.com/profile_images/1123289805994045440/CjvvZnzW_normal.png\",\"name\":\"Alternative Dresden News\",\"username\":\"addnme\",\"entities\":{\"url\":{\"urls\":[{\"start\":0,\"end\":23,\"url\":\"https://t.co/6WCLELV28u\",\"expanded_url\":\"http://www.addn.me\",\"display_url\":\"addn.me\"}]}},\"location\":\"Dresden\",\"created_at\":\"2009-08-22T21:11:53.000Z\",\"id\":\"67984352\",\"protected\":false,\"public_metrics\":{\"followers_count\":4554,\"following_count\":647,\"tweet_count\":8411,\"listed_count\":106},\"url\":\"https://t.co/6WCLELV28u\",\"description\":\"Nachrichtenportal für eine kritische Öffentlichkeit in Dresden und Umgebung mit Schwerpunkten auf Antifa, Nazis, Freiräumen, Kultur und sozialen Themen.\",\"verified\":false}],\"tweets\":[{\"id\":\"1266722835252129794\",\"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\"}]},\"conversation_id\":\"1266722835252129794\",\"public_metrics\":{\"retweet_count\":2,\"reply_count\":1,\"like_count\":4,\"quote_count\":0},\"created_at\":\"2020-05-30T13:27:13.000Z\",\"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\",\"possibly_sensitive\":false,\"author_id\":\"67984352\",\"lang\":\"de\"}]}}"), 
    date = structure(1639910213, class = c("POSIXct", "POSIXt"
    ), tzone = "GMT"), times = c(redirect = 0, namelookup = 0.022678, 
    connect = 0.039932, pretransfer = 0.070199, starttransfer = 0.283585, 
    total = 0.283827)), class = "response")
cjbarrie/academictwitteR documentation built on Sept. 7, 2024, 5:12 a.m.