Tweetzer API Reference

The APIs provide a more complete way to create static HTML, with Custom HTML template, and Payload data. RapidAPI expose the API endpoint, and provides access managenement.

GET /render/basic/{tweetId}
  • Parameter
    tweetId Tweet status ID is usually the last, numeric part of a Tweet status URL.
  • Response
    HTML Code on success, or HTML commented reason on failue.
POST /render/custom/{tweetId}
  • Parameter
    tweetId Tweet status ID is usually the last, numeric part of a Tweet status URL.
  • Body
    Custom HTML Template with support for Handlebars support.
  • Response
    Custom HTML Render on success, or HTML commented reason on failue.
GET /render/payload/{tweetId}
  • Parameter
    tweetId Tweet status ID is usually the last, numeric part of a Tweet status URL.
  • Response
    JSON data containing pre-processed Tweet values.
  • Response example
    
    {
      //  Tweet staus Id
      "Id": "20",
      //  Tweet in text without markup
      "Text": "just setting up my twttr",
      //  Tweet in HTML with markup
      "Html": "just setting up my <a href=\"twitter.com\">twttr</a>",
      //  Tweet source or publisher
      "Source": "Twitter Web Client",
      //  Tweet status original URL
      "Url": "https://twitter.com/jack/status/20",
      "Created": "2006-03-21T20:50:14.000Z",
      //  Object Author
      "Author": {
        //  Id
        "Id": "12",
        //  Full name
        "Name": "jack",
        //  Username, the @@author part
        "Username": "jack",
        //  Self description
        "Description": "#twitter",
        //  Is a verified account
        "IsVerified": true,
        //
        "ProfileImage": "https://pbs.twimg.com/profile_images/1115644092329758721/AFjOr-K8_normal.jpg"
      },
      //  Object Link for embedded link in the Tweet
      "Link": {
        "Title": "A new link",
        "Description": "This link is fav",
        "UrlLink": "http://to.tw/notexisthere",
        "UrlDisplay": "...www.wrongurl.notexist.here",
        "UrlOriginal": "http://www.wrongurl.notexist",
        "Image": "http://www.wrongurl.notexist.here/image.jpg"
      },
      //  Array of Link
      "Links": [],
      //  Object Media for embedded media (video, images, etc)
      "Media": {
        "Type": "video",
        "Url": "http://www.wrongurl.notexist.here/video.mp4"
      }
    }