TerranFenrir@lemmy.ca to test@lemmy.mlEnglish · 10 days agoManually added image link in form.url instead of form.custom_thumbnail_urllemmy.caimagemessage-square2fedilinkarrow-up12arrow-down12
arrow-up10arrow-down1imageManually added image link in form.url instead of form.custom_thumbnail_urllemmy.caTerranFenrir@lemmy.ca to test@lemmy.mlEnglish · 10 days agomessage-square2fedilink
minus-squareUraniumBlazer@lemm.eelinkfedilinkEnglisharrow-up1·10 days agoHaha I was using the API incorrectly. I was pushing the image in form.custom_thumbnail while form.url was empty. Apparently, u can’t do that. If u have an image only post, then u have to put the image uri in form.url. the custom_thumbnail is only there if you already have some other link. Lemmy’s documentation is really lacking. Unfortunately, contributing to it is a little complicated too (for lemmy-js-client), that is
Haha I was using the API incorrectly. I was pushing the image in form.custom_thumbnail while form.url was empty. Apparently, u can’t do that.
If u have an image only post, then u have to put the image uri in form.url. the custom_thumbnail is only there if you already have some other link.
Lemmy’s documentation is really lacking. Unfortunately, contributing to it is a little complicated too (for lemmy-js-client), that is