I'm trying to send a webhook to a specific discord channel, however the webhook contains a webp image. I've had this problem multiple times and have never seemed to find a fix for it. Discord just doesn't seem to load webp images, see image below. If anyone knows a workaround that works please let me know, i've been searching for a solution for days.
I even tried to bypass the issue by downloading the webp image with a request via Nodejs, converting it to a JPG image and then sending it through my webhook. However that is pretty incovenient, and I have not managed to download a Webp image with a request since it just freezes at request.
Example image im trying to send with the webhook: https://eu.louisvuitton.com/images/is/image/lv/1/PP_VP_L/louis-vuitton-lv-volt-upside-down-pendant-yellow-gold-jewelry--Q93868_PM2_Front%20View.png?wid=656&hei=656
Related
Trying to use slackbot to upload and post a message with image. The uploading seemingly works, but the link is broken. What do I miss?
I am writing my Webhook to receive events from Moira. Can someone tell me how to add the resulting binary image to the message. Probably only if you upload it to an external service and take a link from there? Or is it possible to rendering in script and put directry in RockerChat message.
I tried everything I found on internet but nothing solved my problem. I really need help on this problem.
I'm following the tutorial "How to upload/store images in MongoDB using Node.js, Express & Multer" (https://www.bezkoder.com/node-js-upload-store-images-mongodb/).
I successfully uploaded the images. I can see the images on my navigator if I use the url from my backend (http://localhost:8080/chat/files/9f722635-bffc-4d4c-aa71-340c4a488ac2.jpeg). However, I can't use this url to display the image on my frontend (react native).
The problem doesn't seem to be related to my frontend, as I can access images from any other url with the same code. Moreover, when I tried to make a GET request on the postman with the same url, the image is not displayed in the body of the response.
My code is exactly the same of the tutorial.
I am currently builidng a chatbot with nodejs. I have my Images stored in a MongoDB now I want to send a Image to facebook but I only got the Base64 String and Facebook wants an URL. Anyone who knows a solution for that?
In php you make a script to render the image, like http://someurl?img=base64string I think in node is pretty much the same workaround. Make sense for you?
Is there a url I can go to to check the status of video I am uploading to YouTube via the API?
I went to this page
https://developers.google.com/youtube/2.0/developers_guide_protocol_checking_video_status
which told me to go to this URL
https://gdata.youtube.com/feeds/api/users//uploads
But all I got back is an RSS feed of videos that are already uploaded (Published).
I am looking for unpublished videos and the associated progress.
I am using resumable upload so I am think if 10% of the video got uploaded I should be able to see that somewhere?
In Java sample you can request progress status via MediaHttpUploader.getProgress() or MediaHttpUploader.getNumBytesUploaded() "https://code.google.com/p/youtube-api-samples/source/browse/samples/java/youtube-cmdline-uploadvideo-sample/src/main/java/com/google/api/services/samples/youtube/cmdline/youtube_cmdline_uploadvideo_sample/UploadVideo.java#213"
C# would be really similar.