0

Whenever I shared website link in facebook, twitter or anywhere, I get the following:

{{title}}
{{metadescription}}

When I inspect element using Chrome, I can see the Title and Meta Description correctly.

Could someone shed some light and how to fix it?

Do I have to install PhontomJS/SlimerJS etc? I heard PhantomJS takes a lot of server memory/process.

Elaine Byene
  • 3,868
  • 12
  • 50
  • 96
  • These social media sites don't actually parse javascript. See this post for a possible solution http://www.michaelbromley.co.uk/blog/171/enable-rich-social-sharing-in-your-angularjs-app in fact this post shows exactly what yours is doing regarding meta tags https://prerender.io/ was also built to solve this problem – Ronnie Oct 05 '16 at 00:19
  • prerender.io is too expensive. I would prefer a free self hosted solution. Looking at PhantomJS and other alternatives. – Elaine Byene Oct 05 '16 at 14:39
  • That first link I posted will probably help you out then if your server is apache – Ronnie Oct 05 '16 at 16:04
  • I'm using Python on django with angularJS running nginx. Thanks though. – Elaine Byene Oct 06 '16 at 00:07

0 Answers0