Using the API!
To use the API, simply make a POST request to http://filetweetapp.com/api/upload with these parameters:
- media (required) - Binary file data
- recipient (required) - Recipient(s)
- message (optional) - A message to send with the file
- is_private (optional) - Require login to download
The API is authenticated using Basic Auth. Use your Twitter credentials to log in.
Alternatively, you can pass your username and password as parameters like this:
- username (optional) - Your username
- password (optional) - Your password
Filetweet will reply with a 1 if things went well, or a 0 if they didn't! Coming soon: Better error messages.