fileId, URL, metadata, access type, and, on supported platforms, alt text.
For image posts, comments, messages, and avatars, first upload the image through the file repository, then pass the returned image object or fileId into the relevant creation or update API.
Platform Surface
Parameters
Upload An Image
Upload an image first, then use the returned image object orfileId in avatar, post, comment, message, or story APIs.
Read Image Data
Read image data when your app needs image dimensions, alt text, or a sized image URL for rendering.Related Topics
Image Posts
Attach uploaded images to social posts.
Image Comments
Attach uploaded images to comments.
File Handling
Upload and inspect generic file attachments.