Accepted answer

The annswer I implemented is the following. Assume the Facebook URL is${this.state.imageUrl}}

You can append the dynamic image URL to the imageurl attribute and facebook's crawlers will go to Then, you must extract the query parameters and append the imageurl-URI, and finally return it from getInitialProps if you are using NEXT JS.

Whatever the extract URI from imageurl can me added to the meta og:image tag.

Related Query

More Query from same tag