Support file uploads (StatusNet)

Bug #473149 reported by Craig
14
This bug affects 2 people
Affects Status Importance Assigned to Milestone
Gwibber
New
Undecided
Unassigned

Bug Description

StatusNet 0.9 supports file uploads via the API, and it would be great if Gwibber supported that feature.

To upload a file, call "statuses/update" just like you do now for providing a new status update, but use the standard "multipart/form-data" encoding instead of just a regular post, and put the file data in the "media" field.

Revision history for this message
Colin Dean (colindean) wrote :

How does StatusNet show this in the interface? Is it like a file attached to a single post?

Revision history for this message
Craig (candrews-integralblue) wrote :

StatusNet generates a URL for the file, uses the user's selected URL shortener to get a short URL, and appends that to the notice text. Here's an example: http://identi.ca/notice/13611238

The StatusNet web interface allows a user to do this by entering the notice text, then clicking the paperclip, and selecting a file to upload.

File upload support is not new, just the API interface to do so is.

To post a comment you must log in.
This report contains Public information  
Everyone can see this information.

Other bug subscribers

Remote bug watches

Bug watches keep track of this bug in other bug trackers.