#Is it possible to set the open graph image?

5 messages · Page 1 of 1 (latest)

still moth
#

Is it possible to set the open graph image that is dependent on url params? I want example.com/page?id=1 to show different open graph image as example.com/page?id=2. The id param is not limited to just 1 and 2.

upper chasm
#

yep, you'd need to enable SSR, but then you can use the request or url objects to get the url params

still moth
#

thank you

still moth
upper chasm
#

Yep, don't see why not