Set Canonical URL to GIF for Facebook

Question

I’m creating a gif hosting user frontend submission site. For Facebook to correctly animate a GIF on their platform, the og meta tag needs to be redirected to the specific gif. I can remedy this by manually adding the gif url as the canonical link and it will work.

However, dynamic posts from multiple users, I will need to reference that gif as canonical in order for it to work.

What would be the best method to do this?

0
user3011165 4 years 2020-05-21T19:10:54-05:00 0 Answers 94 views 0

Leave an answer

Browse
Browse