OptionalfetchOmitted by platforms with no content-listing API. Resolves to null when the request failed and [] when the account genuinely has no content — a caller that caches results must not treat an outage as an empty grid.
Public profile link for a handle. Platform knowledge, not a capability, so every adapter has one.
One platform's implementation of connect, read profile, read content.
A plain object with no per-instance state — credentials come from the environment at call time, tokens are arguments — so each platform exports one ready-made constant.
InstagramProvideris the reference implementation.Capability is method presence: a platform that can't refresh tokens omits
refresh, one with no content-listing API omitsfetchMedia, and callers narrow withif (provider.fetchMedia). This describes the platform, not a token — a token missing a scope still fails at runtime with anullreturn.Example