I have created the post.js(functions) and i am trying to achieve how i can fetch data from API and display it on a page with Meta tags as well.
So far I have fetched the content i.e. title through node-fetch but adding meta tag is where I am struggling.
Here is the link - https://favology.netlify.app/.netlify/functions/post/10516
My main goal is to add the content of the post and further share it over the FB post for example check the following link - Daria & Jane
If you check the post you can see the link created is through netlify app and further redirects to the main website.
For more detail - https://dariajane.netlify.app/.netlify/functions/post/33178
Notice the last slug i.e. 33178 is something we will send to the API parameter so the specific post details will be fetch(using WordPress)
Ref forums which i read - Redirecting facebook referral to the specific url