我正在将Angular 7用于SPA
这是链接“ https://adda.io/openings/sales-openings/1”。
在检查时,上面的链接具有其自己的元数据和标题,我可以看到其中的标签,但是当我将其发布到任何社交媒体中时,它仅显示默认主页。
通过将此链接粘贴到任何社交媒体中进行检查
import {Meta, Title} from '@angular/platform-browser';
constructor(meta: Meta, title: Title) {
title.setTitle(metaTag.facility_management_software.title);
meta.addTags(metaTag.facility_management_software.meta);
}
<meta name="description"
content="Enhance your apartment living experience online with the best Apartment Management Software, ADDA for Communication, Accounting and Facility Management. Secure your apartment gate with with ADDA Gatekeeper for foolproof security solution.">
它应该显示真实数据
<meta name="description" content="Social Media Platform, Fintech Integrations, IoT, Home Automation we have it all! 3 products, 5 Apps, 7,00,000 users across 90 cities globally. Managing it all is a team of less than 20. Do you have it in you to join this team?">