{SCOpenGraph image=<?php echo JRoute::_(JURI::base().$this->product->images[0]->file_url); ?>}
{SCOpenGraph description=<?php echo $this->product->product_s_desc; ?>}
alzander wrote: When I run the Twitter Card validator on your pages, it keeps returning "ERROR: Internal server error" and "Unable to render card preview". I'm not sure why that is, but when I use a tool like Social Debug , the output is correct. Twitter may just be having issues re-scanning your pages to get the latest data.
As for your code snippets above, I'm not sure where you're seeing either of those blocks of code. If you need to set your own custom tags, the proper way to do it is with the following easy tags:You don't need to set the URL, type or site_name properties as JFBConnect will set those automatically.{SCOpenGraph image=<?php echo JRoute::_(JURI::base().$this->product->images[0]->file_url); ?>} {SCOpenGraph description=<?php echo $this->product->product_s_desc; ?>}
I hope that helps explain, but if you need anything else, just let me know.
Thanks,
Alex
{SCOpenGraph description=My Great Description for this page}
?>
{SCOpenGraph image=<?php echo JRoute::_(JURI::base().$this->product->images[0]->file_url);?>}
{SCOpenGraph description=<?php echo $this->product->product_s_desc; ?>}
<?php
{SCOpenGraph image=<?php echo JRoute::_(JURI::base().$this->product->images[0]->file_url);?>}
{SCOpenGraph description=<?php echo $this->product->product_s_desc;?>}
TEST{SCOpenGraph image=<?php echo JRoute::_(JURI::base().$this->product->images[0]->file_url);?>}
{SCOpenGraph description=<?php echo $this->product->product_s_desc;?>}
TEST
Join our newsletter to get alerts for Joomla releases, tips and tricks and extension updates.