I’m writing a blog and I would like my links to appear with images/descriptions when posted to FB and other social media sites. I familiarized myself with https://github.com/meteorhacks/meteor-ssr, https://github.com/kadirahq/flow-router, and https://github.com/meteorhacks/picker by @arunoda.
I was thinking of specifying the “_escaped_fragment_=” version of the URL (a server side route, which serves rendered HTML) in my tags instead of the regular URL. This way, when facebook hits my site to get OG data, it will see the meta data corresponding to the route and params in question. If the user wants to share my link to facebook, I’ll modify the url to be the current URL plus the “_escaped_fragment_=”, so they share the static link.
Is this the preferred way to do this, or is there a better way? If I did it this way, then the link shared to facebook would direct the users to the static link. Is there some agreed upon solution for handling dynamic data? Please no iron-router solutions, thanks!