I would like to upload a sound file via the twitter API. I prefer not to include a URL within the tweet. Instead, I would like the sound to be playable directly from the tweet just as it would if the file was a video or gif. My sound file extension is ‘.caf’ as I am developing on iOS currently. Can someone guide me within the right direction?
I am posting to this endpoint, “/1.1/media/upload.json” and receiving this error:
error = “media type unrecognized.”;
I am using the chunked method to upload the media file.