Open Graph metadata
profile:first_name
Provides the given name of the person represented by a profile page.
Code examples
Good example
<meta property="profile:first_name" content="John">A given name written as plain text.
Good example
<meta property="profile:first_name" content="María">Unicode names and their accents are valid strings.
Avoid this example
<John>HTML markup is not part of the person’s name.
Avoid this example
<meta property="profile:first_name" content="J0hn#">Does not match the name shown on the example profile.
Recommendations
- 01Match the Person’s NameUse the spelling, accents, and capitalization shown on the profile page.
- 02Keep Markup OutThe content value is plain text. Do not put HTML around the name.
Related documentation
Related meta tags
profile:first_name
propertyProvides 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.
profile:gender
propertySets 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.
profile:last_name
propertyProvides 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.
profile:username
propertyProvides 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.