Versions Compared


  • This line was added.
  • This line was removed.
  • Formatting was changed.
Comment: Fixed links for message and attachment


  1. Go through Creating an App to setup your app in the developer dashboard.
  2. In the Advanced Info section, enable the attachment picker.

    Opening a Widget

    Fill in the info below:

    Tooltip textYesThis will be shown against your attachment picker button to the user
    Select action for attachment pickerYes

    Select an appropriate client action for the attachment picker.

  3. Go through app installation and install this app into your own Flock account.
  4. Whenever a user presses the attachment picker button, the event client.pressButton along with a event token will be appended to the corresponding client action you selected and sent to your service.
  5. After verifying the validation token, you should present the interface for the user to create an attachment.
  6. Once the user has finished creating the attachment you can send it to back to Flock to the chat tab from where the user clicked on your attachment picker by creating a message object, with an attachment object, and sending the message to Flock via the chat.sendMessage method call.
  7. Publish your app to the app store once you are done testing it.