Title: [Plugin: WPBook] Send custom fields to facebook?
Last modified: August 19, 2016

---

# [Plugin: WPBook] Send custom fields to facebook?

 *  [expresa](https://wordpress.org/support/users/expresa/)
 * (@expresa)
 * [15 years, 4 months ago](https://wordpress.org/support/topic/plugin-wpbook-send-custom-fields-to-facebook/)
 * The question is: **I can send custom fields to facebook?**
 * The post he sent to Facebook are about events, and I would like to include a 
   custom field with the time and date ..
 * Thanks!
 * [http://wordpress.org/extend/plugins/wpbook/](http://wordpress.org/extend/plugins/wpbook/)

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

 *  Plugin Author [John Eckman](https://wordpress.org/support/users/johneckman/)
 * (@johneckman)
 * [15 years, 4 months ago](https://wordpress.org/support/topic/plugin-wpbook-send-custom-fields-to-facebook/#post-1860247)
 * 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](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](http://wordpress.org/support/topic/wpbook-custom-post-types?replies=12)
 *  Thread Starter [expresa](https://wordpress.org/support/users/expresa/)
 * (@expresa)
 * [15 years, 4 months ago](https://wordpress.org/support/topic/plugin-wpbook-send-custom-fields-to-facebook/#post-1860280)
 * 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](https://wordpress.org/support/users/johneckman/)
 * (@johneckman)
 * [15 years, 4 months ago](https://wordpress.org/support/topic/plugin-wpbook-send-custom-fields-to-facebook/#post-1860298)
 * 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.

 * ![](https://s.w.org/plugins/geopattern-icon/wpbook_eeeeee.svg)
 * [WPBook](https://wordpress.org/plugins/wpbook/)
 * [Frequently Asked Questions](https://wordpress.org/plugins/wpbook/#faq)
 * [Support Threads](https://wordpress.org/support/plugin/wpbook/)
 * [Active Topics](https://wordpress.org/support/plugin/wpbook/active/)
 * [Unresolved Topics](https://wordpress.org/support/plugin/wpbook/unresolved/)
 * [Reviews](https://wordpress.org/support/plugin/wpbook/reviews/)

 * 3 replies
 * 2 participants
 * Last reply from: [John Eckman](https://wordpress.org/support/users/johneckman/)
 * Last activity: [15 years, 4 months ago](https://wordpress.org/support/topic/plugin-wpbook-send-custom-fields-to-facebook/#post-1860298)
 * Status: not resolved