facebook-opengraph

Angular 4 - Update Meta tags dynamically for Facebook (Open graph)

坚强是说给别人听的谎言 提交于 2019-11-26 04:27:26
问题 How do we add/update meta tags dynamically so that they get picked by Facebook/Whatsapp share dialog? I upgraded my angular 2 application to angular 4 in order to use Meta service to add/update meta tags dynamically once we get the data in component from API. So far in my component, I have this.metaService.updateTag({ property: \'og:title\', content: pageTitle }); this.metaService.updateTag({ property: \'og:url\', \'www.domain.com/page\' }); this.metaService.updateTag({ property: \'og:image\'

FB OpenGraph og:image not pulling images (possibly https?)

限于喜欢 提交于 2019-11-26 03:47:14
问题 First -- I do not believe this is a duplicate issue. I\'ve searched for same or similar problems on SO extensively, and due to the nature of troubleshooting before asking, I believe this problem is unique. Facebook cannot grasp my og:image files and I have tried every usual solution. I\'m beginning to think it might have something to do with https://... I have checked http://developers.facebook.com/tools/debug and have zero warnings or errors. It is finding the images we linked to in the \"