LJ::FBUpload::do_upload

LJ::FBUpload::do_upload — Uploads an image to FotoBilder from LiveJournal.

Use

LJ::FBUpload::do_upload(path, rawdata, imgsec, caption, galname);

Arguments

  • path. => path to image on disk, or title to use if 'rawdata' isn't on disk.

  • rawdata. => optional image data scalar ref.

  • imgsec. => bitmask for image security. Defaults to private on unknown strings. Lack of an imgsec opt means public.

  • caption. => optional image description.

  • galname. => gallery to upload image to.

Source:

cgi-bin/fbupload.pl

Returns:

FB protocol data structure, regardless of FB success or failure.