tap
Back

twitter/fxembed-status-reposts

twitterRead-only

List reposters of an X / Twitter post via FxEmbed

api.fxtwitter.com
Last 7 days
0
Last 30 days
0
All time
0
twitter/fxembed-status-reposts.js
/* @meta
{
  "name": "twitter/fxembed-status-reposts",
  "description": "List reposters of an X / Twitter post via FxEmbed",
  "domain": "api.fxtwitter.com",
  "args": {
    "id": {"required": true, "description": "Tweet / post ID"},
    "count": {"required": false, "description": "Page size, 1-100"},
    "cursor": {"required": false, "description": "Pagination cursor"}
  },
  "runtime": "http",
  "readOnly": true,
  "example": "tap site twitter/fxembed-status-reposts id=20 count=20"
}
*/

async function(args) {
  if (!args.id) return {error: 'Missing argument: id', hint: 'Provide tweet / post ID'};

  const params = [];
  if (args.count) params.push('count=' + encodeURIComponent(args.count));
  if (args.cursor) params.push('cursor=' + encodeURIComponent(args.cursor));

  let url = `https://api.fxtwitter.com/2/status/${encodeURIComponent(args.id)}/reposts`;
  if (params.length) url += '?' + params.join('&');

  const resp = await fetch(url, {
    headers: {'accept': 'application/json'}
  });

  if (!resp.ok) return {error: 'HTTP ' + resp.status};

  return await resp.json();
}
Updated May 23, 2026Created May 23, 2026SHA-256: 87c9b6defe1d