on-internet
← Community

How to make an image with %2F in the url appear when shared, after including it in html meta og:image tag?

Stack Overflow ·

I have an image stored in Firebase Storage. I used the link for my website's meta og:image tag, but it doesn't appear on the preview for WhatsApp or Facebook. It seems like the %2F characters are being replaced with %252F. How can I get around this issue without changing the name of the image? This image works (doesn't have %2F). This image doesn't work (has %2F).

Comments

Sign in or sign up to comment and upvote.

No comments yet.