Skip to content

Ngx meta.opengraphprofile

Home > @davidlj95/ngx-meta > OpenGraphProfile

OpenGraphProfile interface

Open Graph profile metadata for this page.

Requires Open Graph profile metadata managers to work

Signature:

export interface OpenGraphProfile 

Remarks

Used in OpenGraph.profile with type OpenGraphProfile

Provider:

provideNgxMetaOpenGraphProfile() or NgxMetaOpenGraphProfileModule

See also:

Properties

Property Modifiers Type Description
firstName? readonly string | null (Optional) A name normally given to an individual by a parent or self-chosen.
gender? readonly OpenGraphProfileGender | string | null

(Optional) Their gender.

Allowing a string here too, so you can specify another gender than the ones specified by standard (male, female).

Check out OpenGraphProfileGender type for constants you can use to specify standard values for this field.

lastName? readonly string | null (Optional) A name inherited from a family or marriage and by which the individual is commonly known.
username? readonly string | null (Optional) A short unique string to identify them.