hgarcia Posted September 22, 2014 Share Posted September 22, 2014 Hello Prestashop 1.6.09 I'm triying to setup twitter cards for my store: http://tiendascancun.com/ I'm triying to validate, and request card aproval on the twiter card validator at: https://cards-dev.twitter.com/validator First of all i tried this module: http://www.prestashop.com/forums/topic/303217-module-free-prestashop-twitter-card-module/ After, I deactivate it and, by following the Summary Card directives https://dev.twitter.com/cards/types/summary I put the code, for testing on header.tpl, just after the favicon tag: <link rel="shortcut icon" type="image/x-icon" href="{$favicon_url}?{$img_update_time}" /> {* facebook tags*} <meta name="og:title" content="{$meta_title}" /> {if isset($have_image)} {if $have_image} <meta name="og:image" content="{$link->getImageLink($product->link_rewrite, $cover.id_image, 'large_default')}" /> <meta name="og:type" content="og:product" /> <meta name="og:description" content="{$meta_description} Adquierelo en linea ahora." /> {/if} {else} <meta name="og:image" content="{$img_ps_dir}logo_fb.png" /> <meta name="og:type" content="og:website" /> <meta name="og:description" content="{$meta_description}" /> {/if} {* twitter card *} <meta name="twitter:card" content="summary" /> <meta name="twitter:site" content="@tiendascancun" /> <meta name="twitter:creator" content="@tiendascancun" /> <meta name="twitter:title" content="{$meta_title}" /> <meta name="twitter:description" content="{$meta_description}" /> <meta name="twitter:image" content="{$img_ps_dir}logo_fb.png" /> <meta name="twitter:url" content="http://tiendascancun.com/" /> The first group of lines, are the Facebook OpenGraph Tags, wich worked me good on FB. So, no matter what I do , I allways get the same results on the validator: "Unable to render card preview" and "Error: internal server error" I thought that the problem was because I used to have this store installed on a domain subfolder. I already change it to / (public_html), I also added to the begining of robots.txt the lines: User-agent: Twitterbot Disallow: I'm running out of ideas. And Google does not like my questions. Has someone had this problem? Did you found a solution to share? Many thanks in advanced. Best regards Link to comment Share on other sites More sharing options...
Recommended Posts