Thumbnail issue in facebook post
-
Hi,
There is an issue with your extension.
in your code smartyoutube.php line 137 you put
echo '<meta property="og:image" content="https://i.ytimg.com/vi/' . $matches[0][5] . '/default.jpg" />';
This thumbnail can’t be use by facebook because :
“Provided og:image is not big enough. Please use an image that’s at least 200×200 px” (source : https://developers.facebook.com/tools/debug)you have to change the code :
echo '<meta property="og:image" content="https://i.ytimg.com/vi/' . $matches[0][5] . '/hqdefault.jpg" />';
Can you change that for the next version ?
Thanks
- The topic ‘Thumbnail issue in facebook post’ is closed to new replies.