-
Notifications
You must be signed in to change notification settings - Fork 2.5k
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
[Feature] Add fb:app_id and fb:page_id to Meta component #1717
Comments
It doesn't look like there's consistency in how The Currently the Remix It may be better to allow you to specify this in the export function meta() {
return {
title: 'My title',
description: 'My description',
'og:image': 'path/to/image', // keep for backward compatibility
'fb:app_id': { property: 'fb:app_id', content: '1234' }, // use object for non-name version
'@fb:page_id': 'page-id', // or use a prefix like @ to denote this is 'property'
}
} |
So i guess for now this is what we need to do right?
|
Yes, for now you would need to manually render those elements yourself. |
This however does not allow you to specify dynamic values such as your deep link:
|
What is the new or updated feature that you are suggesting?
Request add Facebook's open graph markup
fb:page_id
andfb:app_id
to the Meta component.Why should this feature be included?
When a link is shared to Facebook, the crawler indexes the fb:page_id and fb:app_id if they are present. According to a Guide to Sharing for Webmasters on Facebook's site, they recommend the use of
fb:app_id
The text was updated successfully, but these errors were encountered: