Open Graph metadata

profile:last_name

Provides the family name of the person represented by a profile page.

Code examples

Good example
<meta property="profile:last_name" content="Doe">
A family name written as plain text.
Avoid this example
<Doe>
HTML markup is not part of the family name.
Good example
<meta property="profile:last_name" content="Smith-Jones">
Preserves the spelling and punctuation used by the person.
Avoid this example
<meta property="profile:last_name" content="Smith Jones">
Incorrect if the person writes their name with a hyphen.

Recommendations

  • 01
    Match the Person’s Name
    Use the spelling, spacing, punctuation, and capitalization shown on the profile page.
  • 02
    Respect Name Conventions
    Do not force every family name into one capitalization pattern.

Related documentation

Related meta tags

Provides the given name of the person represented by a profile page.

<meta property="profile:first_name" content="John">
A given name written as plain text.

Sets the Open Graph gender value for the person represented by a profile page. The protocol only defines male and female.

<meta property="profile:gender" content="male">
One of the two values defined by Open Graph.

Provides the family name of the person represented by a profile page.

<meta property="profile:last_name" content="Doe">
A family name written as plain text.

Provides a short, unique username for the person represented by a profile page.

<meta property="profile:username" content="exampleuser">
A short username without a platform-specific @ prefix.