Improvements in Opengraph embed code generation