Giter Site home page Giter Site logo

Comments (4)

ryankicks avatar ryankicks commented on August 24, 2024

We understand your frustration and the inability to support hashbangs. We're tracking here:

https://twittercommunity.com/t/does-twitter-card-handle-shebang-urls/15387/8

We don't have a time for update, but please follow that report for more information.

from cards-player-samples.

teo1978 avatar teo1978 commented on August 24, 2024

I'm not talking about fancy ajax uses of the fragment.
I'm talking a bout a simple, plain, old good #, actually pointing to a part of a simple plain HTML.
There should be no need for ?_escaped_fragment at all. If there is, something is very wrong about the way the cards mechanism is designed.

The idea of using meta tags in a page to define a card is ill-conceived from the very beginning.

It should be totally obvious that a "card" shouldn't be identified with the whole content of a page.
Instead of using meta tags, you should be using for example data-* attributes , which can be attached to any node. A mechanism based on data attached to nodes would allow to define a card as a node or set of nodes in a page, without the need for alternative urls to even exist. Simply retrieving the url as is would allow Twitter to scan the document and find the card.

Anyway, I filed this issue before I realized that cards need to be individually approved, which renders them completely useless (what would I use a card for if I have to wait 2 weeks for a human being to approve the content before it can be embedded in a tweet??), so who cares.

from cards-player-samples.

ryankicks avatar ryankicks commented on August 24, 2024

Thanks for the feedback, teo1978. We're sorry it doesn't work for you. We'll add your use case (separate from fragments) to the ticket.

from cards-player-samples.

teo1978 avatar teo1978 commented on August 24, 2024

Actually, the post you pointed to seems to be about hashbangs, i.e. #!, I'm talking about "legitimate", plain fragments, i.e. # without a !. I don't think a conversion to ?_escaped_fragment even makes any sense here.

from cards-player-samples.

Related Issues (8)

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.