Riksdagsmonitor Intelligence Platform โ€” API Documentation - v1.0.30
    Preparing search index...

    Function buildStaticPageTwitterCardBlock

    • Build the Twitter Card meta block (parametrised by title / description / canonical URL). Returns a newline-joined string of <meta> tags.

      Twitter inherits the Open Graph og:image when no dedicated twitter:image is set, but we still emit the dedicated meta tags so the card preview is identical regardless of crawler.

      Parameters

      • input: { title: string; description: string; canonicalUrl: string; imageUrl: string }

      Returns string