Facebook Preview when Attaching a Link

Ji 's Avatar

Ji

11 Aug, 2014 03:19 PM

Hi there,

Been pulling my hair trying to figure this out with Facebook OG but something in the Cascade server is blocking all the OG code that I put in. Every time I copy our company link on Facebook, the auto preview doesn't pull the correct information from the meta tags that we inserted in the index file. Is there a trick so that Facebook doesn't ignore our meta tags and the auto preview correctly? I posted the same link on Yahoo or Twitter and have no issue previewing. I NEED HELP SOON!!!

Let me know if you find any solution or workaround.

Thanks,

Ji

  1. Support Staff 1 Posted by Tim on 11 Aug, 2014 04:22 PM

    Tim's Avatar

    Hi Ji,

    Can you please post the exact code you are attempting to use along with the code that is actually being outputted?

    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.

    Thanks

  2. 2 Posted by Jihae Chung on 11 Aug, 2014 04:59 PM

    Jihae Chung's Avatar

    Hey Tim,

    Thanks for getting back.

    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.

    <!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>
    

    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.

    Thanks,

    Ji

  3. 3 Posted by Ryan Griffith on 11 Nov, 2014 06:57 PM

    Ryan Griffith's Avatar

    Hi Ji,

    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?

    Please feel free to let us know if you have any other questions.

    Thanks!

  4. Ryan Griffith closed this discussion on 03 Dec, 2014 02:50 PM.

Comments are currently closed for this discussion. You can start a new one.

Keyboard shortcuts

Generic

? Show this help
ESC Blurs the current field

Comment Form

r Focus the comment reply box
^ + ↩ Submit the comment

You can use Command ⌘ instead of Control ^ on Mac