Viewing 3 replies - 1 through 3 (of 3 total)
  • Plugin Author John Eckman

    (@johneckman)

    Yes, you can send custom fields to Facebook.

    First, do you mean custom post types, or custom fields added to existing blog posts?

    If you mean custom fields, see the documentation here: http://codex.wordpress.org/Custom_Fields

    If you mean custom post types, see this thread: http://wordpress.org/support/topic/wpbook-custom-post-types?replies=12

    Thread Starter expresa

    (@expresa)

    Hi johneckman ! Thanks for the reply!…

    In my single.php file in the loop, I have the following code:

    <div>Day: <strong><?php the_date('d/m') ?></strong> 
    
    Hours: <span class="rain"><?php $key="rain"; echo get_post_meta($post->ID, $key, true); ?></span>
    
    <?php $key="hours"; echo get_post_meta($post->ID, $key, true); ?> </div><br />

    But not published in the Wall Facebook.Lo need is to publish:

    – Post Title
    – Custom Field 1
    – Custom Field 2
    – 1 image
    – Link to post

    (Only I would fail to send the custom fields …)

    Plugin Author John Eckman

    (@johneckman)

    Are you trying to post to the Facebook wall (excerpts), to the Tab view, or to the application canvas?

    All three have different methods.

    When you refer to your single.php, do you mean in your current theme? Remember that the application canvas for WPBook substitutes it’s own theme for your blog’s theme.

    If you mean the excerpts posted on the wall, you’ll have to look at publish_to_facebook.php where that happens.

    If you mean the tab view, take a look at theme/fbml_tabs.php

Viewing 3 replies - 1 through 3 (of 3 total)

The topic ‘[Plugin: WPBook] Send custom fields to facebook?’ is closed to new replies.