gedankenstuecke/twitter-analyser

View on GitHub
new_tweet_subset.js

Summary

Maintainability
F
1 wk
Test Coverage
window.YTD.tweet.part0 = [ {
  "retweeted" : false,
  "source" : "<a href=\"http://tapbots.com/tweetbot\" rel=\"nofollow\">Tweetbot for iΟS</a>",
  "entities" : {
    "hashtags" : [ ],
    "symbols" : [ ],
    "user_mentions" : [ {
      "name" : "Philipp Bayer",
      "screen_name" : "PhilippBayer",
      "indices" : [ "16", "29" ],
      "id_str" : "121777206",
      "id" : "121777206"
    } ],
    "urls" : [ {
      "url" : "https://t.co/w8pz21j6Vv",
      "expanded_url" : "https://www.goodreads.com/review/show/652888163",
      "display_url" : "goodreads.com/review/show/65…",
      "indices" : [ "68", "91" ]
    } ]
  },
  "display_text_range" : [ "0", "91" ],
  "favorite_count" : "1",
  "in_reply_to_status_id_str" : "1159965221924024320",
  "id_str" : "1159965503051485184",
  "in_reply_to_user_id" : "14286491",
  "truncated" : false,
  "retweet_count" : "0",
  "id" : "1159965503051485184",
  "in_reply_to_status_id" : "1159965221924024320",
  "possibly_sensitive" : false,
  "created_at" : "Fri Aug 09 23:11:41 +0000 2019",
  "favorited" : false,
  "full_text" : "Read the review @PhilippBayer wrote on the mentioned autobiography. https://t.co/w8pz21j6Vv",
  "lang" : "en",
  "in_reply_to_screen_name" : "gedankenstuecke",
  "in_reply_to_user_id_str" : "14286491"
}, {
  "retweeted" : false,
  "source" : "<a href=\"http://tapbots.com/tweetbot\" rel=\"nofollow\">Tweetbot for iΟS</a>",
  "entities" : {
    "hashtags" : [ ],
    "symbols" : [ ],
    "user_mentions" : [ ],
    "urls" : [ {
      "url" : "https://t.co/Vqhq5TAdBV",
      "expanded_url" : "https://twitter.com/DavidBLowry/status/1159836767958138880",
      "display_url" : "twitter.com/DavidBLowry/st…",
      "indices" : [ "114", "137" ]
    } ]
  },
  "display_text_range" : [ "0", "137" ],
  "favorite_count" : "2",
  "id_str" : "1159965221924024320",
  "truncated" : false,
  "retweet_count" : "0",
  "id" : "1159965221924024320",
  "possibly_sensitive" : false,
  "created_at" : "Fri Aug 09 23:10:34 +0000 2019",
  "favorited" : false,
  "full_text" : "He and the glowing raccoons are finally reunited, reading horoscopes and denying any link between HIV &amp; AIDS. https://t.co/Vqhq5TAdBV",
  "lang" : "en"
}, {
  "retweeted" : false,
  "source" : "<a href=\"http://tapbots.com/tweetbot\" rel=\"nofollow\">Tweetbot for iΟS</a>",
  "entities" : {
    "hashtags" : [ ],
    "symbols" : [ ],
    "user_mentions" : [ {
      "name" : "Nazeefa \uD83C\uDF40☄",
      "screen_name" : "NazeefaFatima",
      "indices" : [ "0", "14" ],
      "id_str" : "37054704",
      "id" : "37054704"
    } ],
    "urls" : [ ]
  },
  "display_text_range" : [ "0", "57" ],
  "favorite_count" : "1",
  "in_reply_to_status_id_str" : "1159823677703282688",
  "id_str" : "1159852950254227461",
  "in_reply_to_user_id" : "37054704",
  "truncated" : false,
  "retweet_count" : "0",
  "id" : "1159852950254227461",
  "in_reply_to_status_id" : "1159823677703282688",
  "created_at" : "Fri Aug 09 15:44:27 +0000 2019",
  "favorited" : false,
  "full_text" : "@NazeefaFatima It was so great to finally meet in person!",
  "lang" : "en",
  "in_reply_to_screen_name" : "NazeefaFatima",
  "in_reply_to_user_id_str" : "37054704"
}, {
  "retweeted" : false,
  "source" : "<a href=\"https://mobile.twitter.com\" rel=\"nofollow\">Twitter Web App</a>",
  "entities" : {
    "user_mentions" : [ {
      "name" : "Philip Ellis",
      "screen_name" : "Philip_Ellis",
      "indices" : [ "3", "16" ],
      "id_str" : "222444337",
      "id" : "222444337"
    } ],
    "urls" : [ ],
    "symbols" : [ ],
    "media" : [ {
      "expanded_url" : "https://twitter.com/zbgolia/status/1154777994252161026/video/1",
      "source_status_id" : "1154777994252161026",
      "indices" : [ "88", "111" ],
      "url" : "https://t.co/kiSlwXQ9Fn",
      "media_url" : "http://pbs.twimg.com/ext_tw_video_thumb/1154777848395304961/pu/img/DCzgIYqzvou0VeLs.jpg",
      "id_str" : "1154777848395304961",
      "source_user_id" : "259113321",
      "id" : "1154777848395304961",
      "media_url_https" : "https://pbs.twimg.com/ext_tw_video_thumb/1154777848395304961/pu/img/DCzgIYqzvou0VeLs.jpg",
      "source_user_id_str" : "259113321",
      "sizes" : {
        "thumb" : {
          "w" : "150",
          "h" : "150",
          "resize" : "crop"
        },
        "medium" : {
          "w" : "1200",
          "h" : "675",
          "resize" : "fit"
        },
        "small" : {
          "w" : "680",
          "h" : "383",
          "resize" : "fit"
        },
        "large" : {
          "w" : "1280",
          "h" : "720",
          "resize" : "fit"
        }
      },
      "type" : "photo",
      "source_status_id_str" : "1154777994252161026",
      "display_url" : "pic.twitter.com/kiSlwXQ9Fn"
    } ],
    "hashtags" : [ ]
  },
  "display_text_range" : [ "0", "111" ],
  "favorite_count" : "0",
  "id_str" : "1159146575622475776",
  "truncated" : false,
  "retweet_count" : "0",
  "id" : "1159146575622475776",
  "possibly_sensitive" : false,
  "created_at" : "Wed Aug 07 16:57:34 +0000 2019",
  "favorited" : false,
  "full_text" : "RT @Philip_Ellis: [JOB INTERVIEW]\n\nInterviewer: Do you have any questions for us?\n\nMe:  https://t.co/kiSlwXQ9Fn",
  "lang" : "en",
  "extended_entities" : {
    "media" : [ {
      "expanded_url" : "https://twitter.com/zbgolia/status/1154777994252161026/video/1",
      "source_status_id" : "1154777994252161026",
      "indices" : [ "88", "111" ],
      "url" : "https://t.co/kiSlwXQ9Fn",
      "media_url" : "http://pbs.twimg.com/ext_tw_video_thumb/1154777848395304961/pu/img/DCzgIYqzvou0VeLs.jpg",
      "id_str" : "1154777848395304961",
      "video_info" : {
        "aspect_ratio" : [ "16", "9" ],
        "duration_millis" : "45412",
        "variants" : [ {
          "bitrate" : "256000",
          "content_type" : "video/mp4",
          "url" : "https://video.twimg.com/ext_tw_video/1154777848395304961/pu/vid/480x270/9dXRMkihwUJrcedP.mp4?tag=10"
        }, {
          "bitrate" : "832000",
          "content_type" : "video/mp4",
          "url" : "https://video.twimg.com/ext_tw_video/1154777848395304961/pu/vid/640x360/XI7BsQJUDBaKeBz9.mp4?tag=10"
        }, {
          "content_type" : "application/x-mpegURL",
          "url" : "https://video.twimg.com/ext_tw_video/1154777848395304961/pu/pl/EzF1MVQbpeN4oXWg.m3u8?tag=10"
        }, {
          "bitrate" : "2176000",
          "content_type" : "video/mp4",
          "url" : "https://video.twimg.com/ext_tw_video/1154777848395304961/pu/vid/1280x720/g60m28vGjo1uKFrj.mp4?tag=10"
        } ]
      },
      "source_user_id" : "259113321",
      "additional_media_info" : {
        "monetizable" : false
      },
      "id" : "1154777848395304961",
      "media_url_https" : "https://pbs.twimg.com/ext_tw_video_thumb/1154777848395304961/pu/img/DCzgIYqzvou0VeLs.jpg",
      "source_user_id_str" : "259113321",
      "sizes" : {
        "thumb" : {
          "w" : "150",
          "h" : "150",
          "resize" : "crop"
        },
        "medium" : {
          "w" : "1200",
          "h" : "675",
          "resize" : "fit"
        },
        "small" : {
          "w" : "680",
          "h" : "383",
          "resize" : "fit"
        },
        "large" : {
          "w" : "1280",
          "h" : "720",
          "resize" : "fit"
        }
      },
      "type" : "video",
      "source_status_id_str" : "1154777994252161026",
      "display_url" : "pic.twitter.com/kiSlwXQ9Fn"
    } ]
  }
}, {
  "retweeted" : false,
  "source" : "<a href=\"http://tapbots.com/tweetbot\" rel=\"nofollow\">Tweetbot for iΟS</a>",
  "entities" : {
    "hashtags" : [ ],
    "symbols" : [ ],
    "user_mentions" : [ {
      "name" : "liubov",
      "screen_name" : "luyibov",
      "indices" : [ "0", "8" ],
      "id_str" : "2889619139",
      "id" : "2889619139"
    }, {
      "name" : "Jake Wintermute",
      "screen_name" : "SynBio1",
      "indices" : [ "9", "17" ],
      "id_str" : "2570913493",
      "id" : "2570913493"
    }, {
      "name" : "marc santolini",
      "screen_name" : "msantolini",
      "indices" : [ "18", "29" ],
      "id_str" : "299603744",
      "id" : "299603744"
    }, {
      "name" : "Roberto Toro",
      "screen_name" : "R3RT0",
      "indices" : [ "30", "36" ],
      "id_str" : "2231179117",
      "id" : "2231179117"
    }, {
      "name" : "katja heuer",
      "screen_name" : "katjaQheuer",
      "indices" : [ "37", "49" ],
      "id_str" : "2981013099",
      "id" : "2981013099"
    }, {
      "name" : "Jon Tennant",
      "screen_name" : "Protohedgehog",
      "indices" : [ "50", "64" ],
      "id_str" : "352650591",
      "id" : "352650591"
    } ],
    "urls" : [ ]
  },
  "display_text_range" : [ "0", "126" ],
  "favorite_count" : "3",
  "in_reply_to_status_id_str" : "1159132637795160069",
  "id_str" : "1159140448377724929",
  "in_reply_to_user_id" : "2889619139",
  "truncated" : false,
  "retweet_count" : "0",
  "id" : "1159140448377724929",
  "in_reply_to_status_id" : "1159132637795160069",
  "created_at" : "Wed Aug 07 16:33:13 +0000 2019",
  "favorited" : false,
  "full_text" : "@luyibov @SynBio1 @msantolini @R3RT0 @katjaQheuer @Protohedgehog I’m not an expert. But I think these are called “stripes”. :p",
  "lang" : "en",
  "in_reply_to_screen_name" : "luyibov",
  "in_reply_to_user_id_str" : "2889619139"
}, {
  "retweeted" : false,
  "source" : "<a href=\"http://tapbots.com/tweetbot\" rel=\"nofollow\">Tweetbot for iΟS</a>",
  "entities" : {
    "hashtags" : [ ],
    "symbols" : [ ],
    "user_mentions" : [ {
      "name" : "Bastian Greshake Tzovaras",
      "screen_name" : "gedankenstuecke",
      "indices" : [ "3", "19" ],
      "id_str" : "14286491",
      "id" : "14286491"
    } ],
    "urls" : [ {
      "url" : "https://t.co/Xq0JEgsRhW",
      "expanded_url" : "https://twitter.com/Michael__Rera/status/1158374078996242432",
      "display_url" : "twitter.com/Michael__Rera/…",
      "indices" : [ "76", "99" ]
    } ]
  },
  "display_text_range" : [ "0", "99" ],
  "favorite_count" : "0",
  "id_str" : "1159080024080887809",
  "truncated" : false,
  "retweet_count" : "0",
  "id" : "1159080024080887809",
  "possibly_sensitive" : false,
  "created_at" : "Wed Aug 07 12:33:07 +0000 2019",
  "favorited" : false,
  "full_text" : "RT @gedankenstuecke: That would be me, looking for an apartment in Paris. \uD83D\uDE00 https://t.co/Xq0JEgsRhW",
  "lang" : "en"
}, {
  "retweeted" : false,
  "source" : "<a href=\"http://tapbots.com/tweetbot\" rel=\"nofollow\">Tweetbot for iΟS</a>",
  "entities" : {
    "hashtags" : [ ],
    "symbols" : [ ],
    "user_mentions" : [ {
      "name" : "marc santolini",
      "screen_name" : "msantolini",
      "indices" : [ "0", "11" ],
      "id_str" : "299603744",
      "id" : "299603744"
    }, {
      "name" : "Jon Tennant",
      "screen_name" : "Protohedgehog",
      "indices" : [ "12", "26" ],
      "id_str" : "352650591",
      "id" : "352650591"
    } ],
    "urls" : [ ]
  },
  "display_text_range" : [ "0", "75" ],
  "favorite_count" : "0",
  "in_reply_to_status_id_str" : "1158848834556051456",
  "id_str" : "1158849711681523713",
  "in_reply_to_user_id" : "299603744",
  "truncated" : false,
  "retweet_count" : "0",
  "id" : "1158849711681523713",
  "in_reply_to_status_id" : "1158848834556051456",
  "created_at" : "Tue Aug 06 21:17:56 +0000 2019",
  "favorited" : false,
  "full_text" : "@msantolini @Protohedgehog I should have put the scare quotes: “Restaurant”",
  "lang" : "en",
  "in_reply_to_screen_name" : "msantolini",
  "in_reply_to_user_id_str" : "299603744"
}, {
  "retweeted" : false,
  "source" : "<a href=\"http://tapbots.com/tweetbot\" rel=\"nofollow\">Tweetbot for iΟS</a>",
  "entities" : {
    "hashtags" : [ ],
    "symbols" : [ ],
    "user_mentions" : [ {
      "name" : "marc santolini",
      "screen_name" : "msantolini",
      "indices" : [ "0", "11" ],
      "id_str" : "299603744",
      "id" : "299603744"
    }, {
      "name" : "Jon Tennant",
      "screen_name" : "Protohedgehog",
      "indices" : [ "12", "26" ],
      "id_str" : "352650591",
      "id" : "352650591"
    } ],
    "urls" : [ ]
  },
  "display_text_range" : [ "0", "107" ],
  "favorite_count" : "4",
  "in_reply_to_status_id_str" : "1158836352387100677",
  "id_str" : "1158836779841150978",
  "in_reply_to_user_id" : "299603744",
  "truncated" : false,
  "retweet_count" : "0",
  "id" : "1158836779841150978",
  "in_reply_to_status_id" : "1158836352387100677",
  "created_at" : "Tue Aug 06 20:26:33 +0000 2019",
  "favorited" : false,
  "full_text" : "@msantolini @Protohedgehog Yep, traditionally the only vegetarian thing you can eat in German restaurants \uD83D\uDE02",
  "lang" : "en",
  "in_reply_to_screen_name" : "msantolini",
  "in_reply_to_user_id_str" : "299603744"
}, {
  "retweeted" : false,
  "source" : "<a href=\"http://tapbots.com/tweetbot\" rel=\"nofollow\">Tweetbot for iΟS</a>",
  "entities" : {
    "hashtags" : [ ],
    "symbols" : [ ],
    "user_mentions" : [ {
      "name" : "Michael Rera",
      "screen_name" : "Michael__Rera",
      "indices" : [ "0", "14" ],
      "id_str" : "4075485214",
      "id" : "4075485214"
    }, {
      "name" : "KIEZ Bistro Allemand",
      "screen_name" : "KIEZ_Bistro",
      "indices" : [ "15", "27" ],
      "id_str" : "2514706255",
      "id" : "2514706255"
    } ],
    "urls" : [ ]
  },
  "display_text_range" : [ "0", "177" ],
  "favorite_count" : "1",
  "in_reply_to_status_id_str" : "1158835594744799239",
  "id_str" : "1158836067337940992",
  "in_reply_to_user_id" : "4075485214",
  "truncated" : false,
  "retweet_count" : "1",
  "id" : "1158836067337940992",
  "in_reply_to_status_id" : "1158835594744799239",
  "created_at" : "Tue Aug 06 20:23:43 +0000 2019",
  "favorited" : false,
  "full_text" : "@Michael__Rera @KIEZ_Bistro In good German tradition we were called ‘boring people’ (Langweiler) all evening for eating the vegetarian version of Käsespätzle. Would go again! :D",
  "lang" : "en",
  "in_reply_to_screen_name" : "Michael__Rera",
  "in_reply_to_user_id_str" : "4075485214"
}, {
  "retweeted" : false,
  "source" : "<a href=\"http://tapbots.com/tweetbot\" rel=\"nofollow\">Tweetbot for iΟS</a>",
  "entities" : {
    "user_mentions" : [ {
      "name" : "Michael Rera",
      "screen_name" : "Michael__Rera",
      "indices" : [ "5", "19" ],
      "id_str" : "4075485214",
      "id" : "4075485214"
    } ],
    "urls" : [ ],
    "symbols" : [ ],
    "media" : [ {
      "expanded_url" : "https://twitter.com/gedankenstuecke/status/1158806049874436096/photo/1",
      "indices" : [ "100", "123" ],
      "url" : "https://t.co/UYfuNLdOmD",
      "media_url" : "http://pbs.twimg.com/media/EBTn72vWsAA9L4H.jpg",
      "id_str" : "1158806019633491968",
      "id" : "1158806019633491968",
      "media_url_https" : "https://pbs.twimg.com/media/EBTn72vWsAA9L4H.jpg",
      "sizes" : {
        "thumb" : {
          "w" : "150",
          "h" : "150",
          "resize" : "crop"
        },
        "medium" : {
          "w" : "1200",
          "h" : "900",
          "resize" : "fit"
        },
        "small" : {
          "w" : "680",
          "h" : "510",
          "resize" : "fit"
        },
        "large" : {
          "w" : "2048",
          "h" : "1536",
          "resize" : "fit"
        }
      },
      "type" : "photo",
      "display_url" : "pic.twitter.com/UYfuNLdOmD"
    } ],
    "hashtags" : [ ]
  },
  "display_text_range" : [ "0", "123" ],
  "favorite_count" : "4",
  "id_str" : "1158806049874436096",
  "truncated" : false,
  "retweet_count" : "1",
  "id" : "1158806049874436096",
  "possibly_sensitive" : false,
  "created_at" : "Tue Aug 06 18:24:26 +0000 2019",
  "favorited" : false,
  "full_text" : "When @Michael__Rera picks where you should go for dinner and he directs you to a German beer place. https://t.co/UYfuNLdOmD",
  "lang" : "en",
  "extended_entities" : {
    "media" : [ {
      "expanded_url" : "https://twitter.com/gedankenstuecke/status/1158806049874436096/photo/1",
      "indices" : [ "100", "123" ],
      "url" : "https://t.co/UYfuNLdOmD",
      "media_url" : "http://pbs.twimg.com/media/EBTn72vWsAA9L4H.jpg",
      "id_str" : "1158806019633491968",
      "id" : "1158806019633491968",
      "media_url_https" : "https://pbs.twimg.com/media/EBTn72vWsAA9L4H.jpg",
      "sizes" : {
        "thumb" : {
          "w" : "150",
          "h" : "150",
          "resize" : "crop"
        },
        "medium" : {
          "w" : "1200",
          "h" : "900",
          "resize" : "fit"
        },
        "small" : {
          "w" : "680",
          "h" : "510",
          "resize" : "fit"
        },
        "large" : {
          "w" : "2048",
          "h" : "1536",
          "resize" : "fit"
        }
      },
      "type" : "photo",
      "display_url" : "pic.twitter.com/UYfuNLdOmD"
    } ]
  }
}, {
  "retweeted" : false,
  "source" : "<a href=\"https://tapbots.com/software/tweetbot/mac\" rel=\"nofollow\">Tweetbot for Mac</a>",
  "entities" : {
    "hashtags" : [ ],
    "symbols" : [ ],
    "user_mentions" : [ {
      "name" : "Hervé Ménager",
      "screen_name" : "rvmngr",
      "indices" : [ "0", "7" ],
      "id_str" : "632591287",
      "id" : "632591287"
    } ],
    "urls" : [ ]
  },
  "display_text_range" : [ "0", "32" ],
  "favorite_count" : "1",
  "in_reply_to_status_id_str" : "1158467245313581056",
  "id_str" : "1158520189102825475",
  "in_reply_to_user_id" : "632591287",
  "truncated" : false,
  "retweet_count" : "0",
  "id" : "1158520189102825475",
  "in_reply_to_status_id" : "1158467245313581056",
  "created_at" : "Mon Aug 05 23:28:32 +0000 2019",
  "favorited" : false,
  "full_text" : "@rvmngr Awesome, thanks so much!",
  "lang" : "en",
  "in_reply_to_screen_name" : "rvmngr",
  "in_reply_to_user_id_str" : "632591287"
}]