tag:help-archives.hannonhill.com,2010-02-09:/discussions/how-do-i/13856-facebook-preview-when-attaching-a-linkCascade CMS: Discussion 2014-12-03T14:50:33Ztag:help-archives.hannonhill.com,2010-02-09:Comment/340964972014-08-11T16:22:14Z2014-08-11T16:22:14ZFacebook Preview when Attaching a Link<div><p>Hi Ji,</p>
<p>Can you please post the exact code you are attempting to use
along with the code that is actually being outputted?</p>
<p>Also, let me know which version of Cascade Server you are using.
You can see the version by looking in the bottom right-hand corner
of the application.</p>
<p>Thanks</p></div>Timtag:help-archives.hannonhill.com,2010-02-09:Comment/340964972014-08-11T16:59:09Z2014-10-08T18:18:18ZFacebook Preview when Attaching a Link<div><p>Hey Tim,</p>
<p>Thanks for getting back.</p>
<p>We’re using version 7.0 and the way we are set up is with
two files, one is a template page and the other one is an index.php
page. The template page will have all the meta data codes including
the Facebook’s OG types and the index.php will just pull the
info from the template page. So in our template page we created a
test OG codes that look like this.</p>
<pre>
<code><!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd">
<html prefix="og: http://ogp.me/ns#">
<head>
<title><system-page-title /></title>
<meta content="text/html; charset=UTF-8" http-equiv="Content-Type" />
<system-page-meta-description description="Cascade Server" />
<meta content="this is a test" description="og:description" />
<meta content="http://www.thoracic.org/images/ATS-FB2.jpg" property="og:image" />
<link href="http://yui.yahooapis.com/combo?2.9.0/build/reset-fonts-grids/reset-fonts-grids.css&amp;2.9.0/build/base/base-min.css&amp;2.9.0/build/assets/skins/sam/skin.css" rel="stylesheet" type="text/css" />
</head>
<body>
<system-region name="HTML_HEAD_TOP" /><script src="http://yui.yahooapis.com/combo?2.9.0/build/utilities/utilities.js&amp;2.9.0/build/event-mouseenter/event-mouseenter-min.js&amp;2.9.0/build/selector/selector-min.js&amp;2.9.0/build/event-delegate/event-delegate-min.js&amp;2.9.0/build/carousel/carousel-min.js&amp;2.9.0/build/container/container-min.js&amp;2.9.0/build/menu/menu-min.js&amp;2.9.0/build/tabview/tabview-min.js" type="text/javascript">
<!-- -->
</script></code>
</pre>
<p>But the index.php page is not pulling any codes from the
template. If you need to see what’s really going on, maybe we
can do a remote desktop support session if you’d like. Let me
know if you have any input on this issue.</p>
<p>Thanks,</p>
<p>Ji</p></div>Jihae Chungtag:help-archives.hannonhill.com,2010-02-09:Comment/340964972014-11-11T18:57:41Z2014-11-11T18:57:41ZFacebook Preview when Attaching a Link<div><p>Hi Ji,</p>
<p>My apologies for the delayed response to your discussion, I was
going over some older discussions and noticed this one is still
open. Were you able to get the Facebook preview working?</p>
<p>Please feel free to let us know if you have any other
questions.</p>
<p>Thanks!</p></div>Ryan Griffith