Skip to content

Twitter

bocchilorenzo/ntscraper: Scrape from Twitter using Nitter instances

bocchilorenzo/ntscraper: Scrape from Twitter using Nitter instances

bocchilorenzo/ntscraper: Scrape from Twitter using Nitter instances

Social Media Message Format Tweet

  {
    "tweet" : {
      "edit_info" : {
        "initial" : {
          "editTweetIds" : [
            "1637245363215056898"
          ],
          "editableUntil" : "2023-03-19T00:41:27.795Z",
          "editsRemaining" : "5",
          "isEditEligible" : false
        }
      },
      "retweeted" : false,
      "source" : "<a href=\"http://twitter.com/download/android\" rel=\"nofollow\">Twitter for Android</a>",
      "entities" : {
        "hashtags" : [ ],
        "symbols" : [ ],
        "user_mentions" : [
          {
            "name" : "Balaji",
            "screen_name" : "balajis",
            "indices" : [
              "3",
              "11"
            ],
            "id_str" : "2178012643",
            "id" : "2178012643"
          }
        ],
        "urls" : [ ]
      },
      "display_text_range" : [
        "0",
        "140"
      ],
      "favorite_count" : "0",
      "id_str" : "1637245363215056898",
      "truncated" : false,
      "retweet_count" : "0",
      "id" : "1637245363215056898",
      "created_at" : "Sun Mar 19 00:11:27 +0000 2023",
      "favorited" : false,
      "full_text" : "RT @balajis: Just as in 2008, the bankers lied.\n\nThis time, the central bankers, the banks, and the bank regulators have lied to all dollar…",
      "lang" : "en"
    }
  },

Social Media Message Format DM

{
    "dmConversation" : {
      "conversationId" : "57510375-2308144965",
      "messages" : [
        {
          "messageCreate" : {
            "recipientId" : "57510375",
            "reactions" : [ ],
            "urls" : [
              {
                "url" : "https://t.co/9ggZflH1Qf",
                "expanded" : "https://twitter.com/messages/media/544231695567060992",
                "display" : "pic.twitter.com/9ggZflH1Qf"
              }
            ],
            "text" : " https://t.co/9ggZflH1Qf",
            "mediaUrls" : [
              "https://ton.twitter.com/dm/544231695567060992/544231695575429120/RzHtxTQt.jpg"
            ],
            "senderId" : "2308144965",
            "id" : "544231695567060992",
            "createdAt" : "2014-12-14T20:45:22.383Z"
          }
        },
        {
          "messageCreate" : {
            "recipientId" : "57510375",
            "reactions" : [ ],
            "urls" : [
              {
                "url" : "https://t.co/cBifLdtVxQ",
                "expanded" : "https://twitter.com/messages/media/544231635005489153",
                "display" : "pic.twitter.com/cBifLdtVxQ"
              }
            ],
            "text" : " https://t.co/cBifLdtVxQ",
            "mediaUrls" : [
              "https://ton.twitter.com/dm/544231635005489153/544231635022262272/MR1Gaj4u.jpg"
            ],
            "senderId" : "2308144965",
            "id" : "544231635005489153",
            "createdAt" : "2014-12-14T20:45:08.013Z"
          }
        },
        {
          "messageCreate" : {
            "recipientId" : "57510375",
            "reactions" : [ ],
            "urls" : [
              {
                "url" : "https://t.co/F4VRGAEflE",
                "expanded" : "https://twitter.com/messages/media/544231543976497152",
                "display" : "pic.twitter.com/F4VRGAEflE"
              }
            ],
            "text" : " https://t.co/F4VRGAEflE",
            "mediaUrls" : [
              "https://ton.twitter.com/dm/544231543976497152/544231543989104640/o7zboMDw.jpg"
            ],
            "senderId" : "2308144965",
            "id" : "544231543976497152",
            "createdAt" : "2014-12-14T20:44:46.249Z"
          }
        }
      ]
    }
  }