Angular 4 - Dynamically added meta tags not working

Viewed 1296

I am using Meta service of Angular 4 -

import { Meta } from '@angular/platform-browser';

 constructor(private _router: Router,
    private _meta: Meta) {
 }

afterRequestSuccess(){
    this._meta.addTag({ property: 'og:description', content: "desc comes from api response" });
    this._meta.addTag({ property: 'og:image', content: "Image path comes from api resonse" });
}`

I can see on added tags in google chorme developer tool but I am trying on facebook Graph Object Debugger https://developers.facebook.com/tools/debug/og/object that time is does not show in the debugger response list.

Can some one help ? thanks in advance.

1 Answers
Related