HomeTutorialsX (Twitter) videos and images Open API Integration Guide
Tutorial

X (Twitter) videos and images Open API Integration Guide

Use the TapSave Open API to parse a public X (Twitter) videos and images link and handle the returned media resources in your application.

Updated: 2026-09-04

X (Twitter) videos and images Open API Integration Guide

Use the TapSave Open API to parse a public X (Twitter) videos and images link and handle the returned media resources in your application.

Integration flow

Send a POST request to https://api.videotool.cc/openapi/parse with Content-Type: application/json, an X-API-Key header, and a JSON body containing the public url.

Response handling

First check code === 200, data.resultCode === 0, and data.hasResource === true. Then consume only the resource arrays returned for that request; do not invent URLs or assume a fixed format.

X (Twitter) videos and images resources

For X, a post may return video, images, or one of them; build the UI from the actual videoList and imgList.

Limits and security

Keep the API key on your server, never expose it in browser code, and treat private, deleted, restricted, or unavailable links as expected parse failures.