EU Parliament Monitor — API Documentation - v0.9.24
    Preparing search index...

    Module Constants/SocialHandles

    Verified social-media handles for twitter:site / twitter:creator and the canonical organization sameAs list emitted into JSON-LD on every generated page.

    Why this lives in one file: the OpenGraph crawler, the Twitter card validator, and Google's structured-data NewsMediaOrganization graph all expect the same handle and the same sameAs URLs. Keeping them in one constant avoids drift between the four generators.

    Empty-string semantics: when a handle is not yet provisioned the matching constant is '' (empty string). The emit helpers skip emitting an empty tag rather than producing <meta name="twitter:site" content="">, which Twitter rejects as malformed.

    Functions

    buildTwitterAttributionTags

    Variables

    TWITTER_SITE_HANDLE
    TWITTER_CREATOR_HANDLE
    ORG_SAME_AS