photos.upload (socialNetwork.photos.upload)

Upload a photo.

Parameters

  • Integer < optional> The id of the photo album into which to upload this photo.
  • String < optional> A caption for this photo.
  • File < required> The photo data. You don't need to specify a form var name.

Other parameters required to make this API method call

  • String < required> The api key of the current app.
  • String < required> The current user's session key.
  • Decimal < required> The sequence number for this request. This must be greater than the value provided for the previous call. Tip: Server time in milliseconds is ideal for this.
  • String < required> The signature for the current request.
  • String < required> Set this to 1.0 for now.
  • String < optional> Response format, accepts XML or JSON, default is XML.
  • String < optional> Generates a call to the callback containing the formatted results.