Post a photo to a user, page, album or event.
|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.|
|Target||String|| The Id of the Facebook object the photo will be posted to. The object can be a user, page, album or event Id. If this target is not specified the photo will be posted to the logged user's timeline.
The default value is me.
|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
|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|