• This site uses cookies. By continuing to use this site, you are agreeing to our use of cookies. Learn more.

Not a bug OpenGraph previews on facebook

Jake B.

Well-known member
#1
It seems that since XenForo uses the user's avatar the previews won't work on facebook.

I get this warning:
Provided og:image URL, http://cyclonefanatic.com/forum/data/avatars/m/0/553.jpg?1469259813 was not valid because it did not meet the minimum size constraint of 200px by 200px.

It won't let you show the OpenGraph image since Facebook requires the image to be at least 200x200px, and XenForo tries to user the first post's avatar which is 96x96. Not sure if this is a bug or not, but since the main purpose of Open Graph images are these cards and they become non functional in posts because of the image size I thought it made sense to put it here :)
 

Mike

XenForo developer
Staff member
#2
At this point, I think this is roughly expected and the Open Graph elements are used by various other services now which don't necessarily have these limits. This is a FB-specific limit. So I don't think a change is necessary here.