Social feed
Twitter-style timeline with posts, threaded comments, follow graph, and reactions. Foundation for any social product prototype.
Build a social app in Draftbit →Showcase / Social feed
Twitter-style timeline with posts, threaded comments, follow graph, and reactions. Foundation for any social product prototype.
Build a social app in Draftbit →Click into any collection to see its schema, sample records, and API reference.
Fetch posts in the language of your choice.
curl -sS \
"https://example-data.com/api/v1/posts?limit=25"const res = await fetch(
"https://example-data.com/api/v1/posts?limit=25"
);
const { data, meta } = await res.json();import type { Post, ListEnvelope } from "https://example-data.com/types/posts.d.ts";
const res = await fetch(
"https://example-data.com/api/v1/posts?limit=25"
);
const { data, meta } = (await res.json()) as ListEnvelope<Post>;import requests
res = requests.get(
"https://example-data.com/api/v1/posts",
params={"limit": 25},
)
data = res.json()