Closed ghost closed 5 years ago
It should be few hours job on Android develop, but API support multiple IDs ?
I do not know that. Through the web interface, the images must first be uploaded to the server and then they will paste, maybe that's a problem in the app
i also want can upload movie for you @copiis
thet would be GREAT
Yes, API not support yet; But actually i can to the tricky way; upload and use bbcode [img] to attach, should i do that?
you have a GO from me! Let's see what the post looks like when it is shared.
okay, after tomorrow, let's do this! maybe use [img] is a best solution instead of empty attachments
Hmm, would it be possible to first upload the pictures in a row and then publish the post with the two pictures?
you mean publish two status at same time?
No, first upload the photos in the background in a row and then publish the status with the two or three photos in one post.
got it 👍
status update: @copiis
after research media/upload API, it's doesn't return image URL for later use;
{"media_id":542219,"media_id_string":"542219","size":257439,"image":{"w":2400,"h":2400,"image_type":"image\/jpeg"}}
So i cannot append URL on status text, isn't possible for now; Should looking another solution, may upload to user album, use friendica/photo/update(create)
status update: fail: after digging API source code, i cannot generate url even i have photo id no way to do on current API stage
system::createGUID(32, false) $photo_hash = Photo::newResource() /photo/{$photo_hash}-{$smallest}
:{
okay, i decide do something on it @copiis https://github.com/friendica/friendica/issues/6272
It would be nice if more than one picture can be uploaded when creating a new post.