ConnectApi.PhotoInput

Specify how to crop a photo that has already been uploaded.
Property Type Description Available version
cropSize Integer The length, in pixels, of any edge of the crop square. 29.0
cropX Integer The position X, in pixels, from the left edge of the image to the start of the crop square. Top left is position (0,0). 29.0
cropY Integer The position Y, in pixels, from the top edge of the image to the start of the crop square. Top left is position (0,0). 29.0
fileId String 18 character ID of an existing file. The key prefix must be 069 and the file must be an image and be smaller than 2 GB.

Images uploaded on the Group page and on the User page don’t have file IDs and therefore can’t be used.

Note

25.0
versionNumber Integer Version number of the existing content. If not provided, the latest version is used. 25.0