ng2-meta
ng2-meta copied to clipboard
Tag specified as 'name' instead of 'property'
The following meta tags are specified using 'name' instead of 'property' and will be ignored unless specified using the 'property' key: fb:app_id
I use ng2-meta tag function, but in facebook debugger, I am getting this error.
I have checked the ng2-meta code for ng2-meta.umd.js file, here is the code:
function (tag, value) { /** @type {?} */ var prop = 'name'; if (tag.startsWith("og:")) { prop = 'property'; } this.meta.updateTag((_a = {}, _a[prop] = tag, _a.content = value, _a)); var _a; };
fb:app_id does not have og keyword, that is what is creating the problem. Plugin needs to be updated by the author.