Get an OG image associated with a given account.
GET
/xrpc/place.stream.live.getProfileCard
const url = 'https://example.com/xrpc/place.stream.live.getProfileCard?id=example';const options = {method: 'GET'};
try { const response = await fetch(url, options); const data = await response.json(); console.log(data);} catch (error) { console.error(error);}curl --request GET \ --url 'https://example.com/xrpc/place.stream.live.getProfileCard?id=example'Parameters
Section titled “Parameters”Query Parameters
Section titled “Query Parameters”id
required
The DID or handle of the account.
string
The DID or handle of the account.
Responses
Section titled “Responses”Success
Media type*/*
Bad Request
Media typeapplication/json
object
error
required
One of:
string
message
required
string
Example
{ "error": "RepoNotFound"}