social
X (Twitter)
standardX (Twitter) is an reliable social provider offering Social Publish, Social Analytics, Social Accounts and 1 more through Aweb's unified API. It features none streaming support with premium-tier latency.
Specifications
Capabilities (4)
Quick start
Use X (Twitter) through Alfred's unified API — no provider-specific SDK needed.
cURL
curl -X POST https://api.alfred-ai.app/v1/execute \
-H "Authorization: Bearer $ALFRED_API_KEY" \
-H "Content-Type: application/json" \
-d '{
"provider": "x-twitter",
"capability": "social.publish",
"input": { "prompt": "Hello from X (Twitter)!" }
}'TypeScript
import { Alfred } from '@alfred/core';
const alfred = new Alfred({ apiKey: process.env.ALFRED_API_KEY });
const result = await alfred.execute({
provider: 'x-twitter',
capability: 'social.publish',
input: { prompt: 'Hello from X (Twitter)!' },
});
console.log(result.output);