UploadPhoto
Post a photo to a user, page, album or event.
Input
| Name | Type | Description |
| Target | String | The Id of the Facebook object the photo will be posted to. The object can be a page, album or event Id. |
| URL | String | An accessible URL the image will be downloaded from and then posted to the target. You need to specify either this field or FileSource. |
| FileSource | String | The complete filepath of the photo to be uploaded. You need to specify either this field or URL. |
| Caption | String | Add a caption to the new post. |
| Publish | String | Whether to immediately publish the new post after uploading the photo. If false, the photo will be saved in a temporary upload state, where you can use the Id of the photo to insert a new photo post. Note that the unpublished photo will be deleted after 24 hours.
The default value is true. |
Result Set Columns
| Name | Type | Description |
| Id | String | The Id of the photo in the target's photo collection. |
| Post_Id | String | The Id of the new photo post. Will be null if 'Publish' was set to false. |