Facebook has limited the ability to edit the metadata of link previews, to reduce misinformation on their platform. Currently, link metadata can only be edited for domains that you have established ownership of through their Domain Verification tool. This feature is available to everyone through the Facebook Business Manager. Once your domain ownership is verified, you can customize your link preview images, titles, and descriptions.
The information in this article can also be found in the Facebook documentation here.
Implementing domain verification can be done in two ways:
- Add a DNS TXT entry to your DNS record to confirm that you own the domain, or
- Upload an HTML file provided by Facebook to your web directory and confirm domain ownership in Business Manager.
You can still add Open Graph tags to your website to indicate ownership—this does not require the use of Business Manager. You can find more information about implementing the fb:pages tag in the Open Graph - Object Properties documentation.
Add your domain in business manager
- In Business Manager, click on the Business Settings button.
- In the Business Settings, make sure you are in the People and Assets tab, and select Domains from the left side navigation list.
- Click on the Add New Domains button, and enter your domain in the Add a domain pop-up dialog.
- If you have more than one domain listed, select the domain for which you desire to confirm ownership.
- Choose the method you wish to use to verify your domain: DNS Verification or the HTML File Upload. Note: You only need to use one method.
The DNS Verification tab of your selected domain provides the TXT information you will need to add to your DNS record.
- Navigate to the DNS record section of your domain host.
- Add the TXT entry to your DNS record.
- Add @ to the Host field (if it is required by your domain host).
- Once the changes have propagated across your domain's web servers, click the Verify button at the bottom of the DNS Verification tab for the selected domain.
Note: Typically, this change takes only minutes to occur, however there are cases where it may take up to 72 hours to complete.
- Leave the TXT entry in your DNS record as it may be checked periodically for verification purposes.
The precise steps you need to perform to add a DNS TXT entry to your DNS record may vary by domain host.
HTML file upload
The HTML File Upload tab of your selected domain provides the HTML verification file you need to upload to your website.
- Download the HTML verification file.
- Upload the file to the root directory of your website. You will be able to see that it is uploading at the link provided in the HTML File Upload tab.
- Once it is done, click the Verify button at the bottom of the HTML File Verification tab for the selected domain.
- Leave the HTML verification file in your website's root directory as it may be checked periodically for verification purposes.
You need admin access to your website's root folder to perform this type of verification.
Associate Facebook pages with a verified domain
Including Open Graph tags that contain all relevant Page IDs on your website is not always ideal because it requires updating markup on your websites, which can be burdensome, and requires the maintenance of the list of Page IDs without any supporting tools. Having domains as an asset in Business Manager allows for easier maintenance of any list of Pages without any editing of your website's markup tags.
- Under Domains, select the desired domain, and click on the Assign Pages button.
- You should see any and all of the Pages you have added to Business Manager. (If your Page is not available, make sure you have imported it into Business Manager under the Pages tab.) Select all the Pages you wish to add to the domain, and click Save Changes.
- You should now see any added Pages listed under Assigned Assets for your selected domain.
Once you have successfully completed the steps to associate your Pages with verified domains, you will be able to customize metadata when publishing page posts linking to that domain both via Falcon and natively on Facebook.