ExpressionEngine CMS
Open, Free, Amazing

Thread

This is an archived forum and the content is probably no longer relevant, but is provided here for posterity.

The active forums are here.

Facebook integration

May 05, 2012 5:06am

Subscribe [1]
  • #1 / May 05, 2012 5:06am

    Del

    76 posts

    I’m trying to get content pulled in to Facebook using the following code in my head.

    Facebook takes the text from my ‘summary’ field as its description but fails to get the image I specify?

    {exp:channel:entries channel="news" url_title="{segment_3}"}
    <meta property="og:description" content="{summary}" />
    <meta property="og:image" content="{image}"/>
    {/exp:channel:entries}

     


    This question may be related to a resolved thread.

     

  • #2 / May 07, 2012 12:03pm

    Shane Eckert

    7174 posts

    Hello lotusman,

    Thank you for posting your question here on the ExpressionEngine forums.

    Can you show me how you are posting this to FB? Are you using an Add-On?

    Cheers,

  • #3 / May 07, 2012 12:34pm

    Del

    76 posts

    Hey Shane,
    Thanks for your reply.

    We are using the Social Update module which does its stuff and connects to FB.

    We are trying to get FB Opengraph to recognize the specified EE image field without success?

  • #4 / May 07, 2012 4:21pm

    Shane Eckert

    7174 posts

    Hey lotusman,

    I am not sure why this is not working.

    Can you contact the Social Update developer? He may have more of an idea.

    Thank you,

     

  • #5 / May 07, 2012 5:06pm

    Del

    76 posts

    Yep, we’re looking at that, but it seems this is more of a FB taking info from the EE field and wondered if anyone else had come across a similar issue with FB integration in general.

  • #6 / May 08, 2012 5:12am

    Del

    76 posts

    OK. We have this running smoothly now.

    As with many things something simple, the image field was actually a text field with an image embedded in-line so EE was generating extra tags we didn’t need…

    Still, an excuse to clean up some more code:)

.(JavaScript must be enabled to view this email address)

ExpressionEngine News!

#eecms, #events, #releases