Media
Get download links for a post's media
Read a public social post and get its text, author and a download link for each photo, video and sound.
POST
Needs
media:read. See Permissions.medias, each with a download link.
Nothing is stored. To keep a file, send its url to Import media from links. The links work for a few hours at most, until expires_at. The same post read again within a minute gives the same answer, with fresh links.
warnings says what to know about the answer:
In MCP this is the
download-media-from-url tool: see Media tools.
Errors
A post that can’t be read answers withmessage and a code.
Related
- Import media from links: store a file from the answer.
- Analyze a video with AI: what a post’s video says and shows.
Authorizations
Response
The post and its files.
What a public social post holds, with a download link for each file.