Giter VIP home page Giter VIP logo

Comments (4)

woogi-kang avatar woogi-kang commented on July 26, 2024

I am also having this error with notion url. any changes?

from any_link_preview.

sur950 avatar sur950 commented on July 26, 2024

Usually site builders will add a CName entry to their DNS which redirects to domain.com when someone hitswww.domain.com.

So logically there won't be any metadata for www. links, we generally replace www.domain.com with domain.com while fetching the meta info.

I forgot to do that. I will add that in my next release, till then you can do this replacement in your code before passing it to the preview component.

Simply find for host and if the host domain has www. then simply replace that with an empty string. And append https:// at the beginning. That should solve your issue.

Cheers,
Suresh

from any_link_preview.

harmeet-sidhu avatar harmeet-sidhu commented on July 26, 2024

I am having issues with all Twitter URLs whether they start with www. or not. I think the issue is on the Twitter side because metadata extractor websites also show errors for twitter URLs.

from any_link_preview.

sur950 avatar sur950 commented on July 26, 2024

I hope you found the RCA for the links that you are trying. I am closing the issue. Feel free to open a new one when you find this is an issue with our package while the same is loading in metadata extractor websites.

from any_link_preview.

Related Issues (20)

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. 📊📈🎉

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google ❤️ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.