So I am trying to allow blog posts to be rendered to be spiderable by the facebook graph api. I have seen there are several ways to go about making this work, but none seem to stand out to me as the clear best way, though i am leaning towards server side rendering, but many of the things I have found online seem more difficult then I feel they should be.
What is the best way to put dynamic information into the page headers to be read by google/facebook ect… ?
My first solution was to put empty meta tags into my main.html file and then update them on the template render but the spiders seemingly only pickup the blank tags that way.
I have installed the phantomJS as an npm and I have the spiderable package listed so i thought it would automatically work, but unfortunately not the case.
What is the recommended/best way to accomplish my goal?