Thursday, June 26, 2014

Facebook debug not display youtube ID

i want your help guys! first of all sorry for my bad english knowladge!

so now about my problem!

i have my own CMS where i have some posts there and i want to parse if
i have image in post i parse first image and put it in the meta og:image, i did it no problem but i olso parse youtube links, if i have some youtube iframe embed code there i want to parse this link and get youtube ID and then put this Id in this link http://img.youtube.com/vi/"HERE YOUTUBE id"/maxresdefault.jpg, to get youtube thumbnail for og:image.

so i did parser and i get youtube ID but problem is a ,when i
put it in the link in sourse code it is display normally but when i go in facebook Open Graph Object Debugger and check this link
debugger says that i have no ID in link

one important thing is that in my CMS i use PHP Code:ob_start(); 
function to display values in .tpl extension files, (i

No comments:

Post a Comment