-
-
Notifications
You must be signed in to change notification settings - Fork 353
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
[BUG] Link Preview doesn't work properly in sendText WEBJS class with some links #302
Comments
Interesting, it's likely because of redirect from the original link to wget -v https://sauna-sosnovka.ru/ekj
--2024-04-21 18:38:23-- https://sauna-sosnovka.ru/ekj
Resolving sauna-sosnovka.ru (sauna-sosnovka.ru)... 212.107.255.37
Connecting to sauna-sosnovka.ru (sauna-sosnovka.ru)|212.107.255.37|:443... connected.
HTTP request sent, awaiting response... 302 Found
Location: /?id=7216&tel=9833416932#scroll7 [following]
--2024-04-21 18:38:23-- https://sauna-sosnovka.ru/?id=7216&tel=9833416932
Reusing existing connection to sauna-sosnovka.ru:443.
HTTP request sent, awaiting response... 200 OK
Length: unspecified [text/html]
Saving to: ‘ekj’ Even in official WhatsApp Web it takes time to follow all redirects and show the preview. Works perfectly when I send static links like https://waha.devlike.pro/ Try improving the site itself following https://ogp.me/ with no redirects and we'll try handle it properly in the project side (no ETA tho for that) |
thank you ! The first message was sent waha WEBJS sendText
|
We're experiencing the same issue. Specifically, thumbnails are not loading, and at times, the title and description tags are not being imported properly, similar to the OP's case. |
We have switched to the NOWEB engine, and link previews are now working. They are slightly different, as they no longer feature a large header image. Instead, a small thumbnail appears next to the title and description — but at least it works! |
Hi all! Could you provide request payload with exact url? Please specify what engine you're using too 🙏 |
Related about amazon links and captcha #596 |
The problem is that when a link is contained in WEBJS sendText class, then the preview at the top of the message will not show a summary of the page. But if you send the same link again, then the page preview at the top of the text will be.
Maybe it is necessary to make some delay of sending a message, so that the preview of the page had time to load in chromium?
The text was updated successfully, but these errors were encountered: