Skip to content
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

Twitter, Reddit etc links not returning image #14

Open
Abhi0725 opened this issue Oct 25, 2023 · 1 comment
Open

Twitter, Reddit etc links not returning image #14

Abhi0725 opened this issue Oct 25, 2023 · 1 comment

Comments

@Abhi0725
Copy link

I tried with some major social media sites and getting following:

Twitter: https://twitter.com/thepatwalls/status/1716854579781144617?s=42

image

YC: https://news.ycombinator.com/item?id=37958765

image

Reddit: https://www.reddit.com/r/todayilearned/comments/1795bhq/til_that_mathematician_john_von_neumann_had_an

image

Although with FB linter I can see they are able to generate a preview with image, for e.g the Reddit link preview is like this:

image

Any solution we can make here? For e.g getting image from body when og data is not present.

@hazaveh
Copy link
Owner

hazaveh commented Oct 25, 2023

It is possible to pick the first image on the page, especially if the size is larger than a certain number to avoid picking the wrong images. I will have a look at it later.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants