Skip to content

Twitter: Use OG resolver by default #499

Closed

Description

@leon-richardt

Since the Twitter API is now absurdly expensive, it is reasonable to assume that most hosters do not want to pay for an API key. Therefore, Twitter links should be handled by the Open Graph link resolver by default.

Activity

  1. M4tthewDE commented on Jul 11, 2023

    @M4tthewDE
    Contributor

    This seems to be quiet hard to implement, since twitter does not like automated access to their website. Without passing a valid value in the Cookies, the meta tags cannot be resolved.

  2. KararTY commented on Jul 11, 2023

    @KararTY
    Contributor

    This seems to be quiet hard to implement, since twitter does not like automated access to their website. Without passing a valid value in the Cookies, the meta tags cannot be resolved.

    Valid point, the solution is to make sure the user-agent includes the word "bot":
    See matrix-org/synapse#11985 (review)

    We will subsequently get all relevant OG tags.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

      Milestone

      No milestone

      Relationships

      None yet

      Development

      No branches or pull requests

      Issue actions