Title: [Plugin: WPBook]
Last modified: August 19, 2016

---

# [Plugin: WPBook]

 *  Resolved [Miserere](https://wordpress.org/support/users/miserere/)
 * (@miserere)
 * [15 years, 1 month ago](https://wordpress.org/support/topic/plugin-wpbook-3/)
 * I’m using WPbook ver. 2.2.2, which I installed earlier this week. I followed 
   all the steps and instructions, but have not been able to get it to post on FB.
   This is the debug file from yesterday, after I published a new post on [my site](http://enticingthelight.com/)(
   and it didn’t show up on my FB page):
 * > 2011-04-03 23:22:49 : No access token
   >  2011-04-03 23:22:49 : publish_to_facebook
   > running, target_admin is 32699 2011-04-03 23:22:49 : Post ID is 9191 2011-04-
   > 03 23:22:49 : My permalink is [http://enticingthelight.com/2011/04/03/ian-wilkinson-reviews-the-fuji-x100-part-2-real-world-use-shooting-children/](http://enticingthelight.com/2011/04/03/ian-wilkinson-reviews-the-fuji-x100-part-2-real-world-use-shooting-children/)
   > 2011-04-03 23:22:49 : Function does not exist, or no thumb 2011-04-03 23:22:
   > 49 : Post thumbail is 2011-04-03 23:22:49 : Post share link is 2011-04-03 23:
   > 22:49 : Past stream_publish, fb_response is 2011-04-03 23:22:49 : Page access
   > token is 2011-04-03 23:22:49 : Publishing to page 210026772342919 2011-04-03
   > 23:22:49 : Publishing to page, image is
 * The FB page it should be showing up on is [Enticing the Light on FB](http://www.facebook.com/pages/Enticing-the-Light/210026772342919).
 * Any and all help is appreciated!
 * [http://wordpress.org/extend/plugins/wpbook/](http://wordpress.org/extend/plugins/wpbook/)

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

 *  Plugin Author [John Eckman](https://wordpress.org/support/users/johneckman/)
 * (@johneckman)
 * [15 years, 1 month ago](https://wordpress.org/support/topic/plugin-wpbook-3/#post-2014458)
 * What does your check permissions page say? (WordPress->Settings->WPBook, click
   on “check permissions” link).
 * Note the “no access token” above – this means that the appropriate permissions
   have not been granted.
 * Looks like your FB Profile ID and page ID are correct
 *  Thread Starter [Miserere](https://wordpress.org/support/users/miserere/)
 * (@miserere)
 * [15 years, 1 month ago](https://wordpress.org/support/topic/plugin-wpbook-3/#post-2014519)
 * Hi John,
 * Thanks for replying so quickly.
 * I am officially confused… Checking the permissions takes me to my app page…which
   has collected and is correctly displaying my latest posts:
 * [http://apps.facebook.com/enticingthelight/](http://apps.facebook.com/enticingthelight/)
 * What’s not happening is those posts being displayed in my [FB page](http://www.facebook.com/pages/Enticing-the-Light/210026772342919).
   Either I’m not understanding what WPBook does, or I’ve broken something somewhere
   between my FB app and my page.
 * Am I correct in thinking that each new blog post should appear as a wall post
   on my FB Page…?
 * Thanks for your help, and for providing this plugin for free to confused people
   like me 🙂
 *  Plugin Author [John Eckman](https://wordpress.org/support/users/johneckman/)
 * (@johneckman)
 * [15 years, 1 month ago](https://wordpress.org/support/topic/plugin-wpbook-3/#post-2014532)
 * Checking permissions should not just take you to your blog page, if done correctly.
 * Your “check permissions” page lives here:
    [http://apps.facebook.com/enticingthelight/?is_permissions=1&wp_user=1](http://apps.facebook.com/enticingthelight/?is_permissions=1&wp_user=1)
 * (There’s a link to it inside the WPBook settings page inside Facebook).
 * Launching that page tells me:
 * > This page is where you can check and grant extended permissions, which enable
   > WPBook to publish to your personal wall and/or to the walls of fan pages.
   > The Facebook profile ID you are currently logged in to Facebook as is 1825518.
   > You have defined 32699 as your Facebook user id in WPBook Settings.
   > Your Facebook Profile ID must match the ID with which you are logged in to 
   > Facebook, or else an access token will not be stored and publishing to Facebook
   > will fail. Please update the “YOUR Facebook Profile ID” setting in WPBook settings
   > to match the userid shown above.
   > FB profile 1825518 has granted these permissions:
   > offline_access – no
   >  read_stream – no publish_stream – no manage_pages – no
   > Error: No access token has been stored for this user -probably due to a misconfiguration.
   > Check to see that the ProfileID with which you are logged in to Facebook matches
   > the one set in WPBook settings, as listed above
   > You’ve indicated you wish to publish to this page: 210026772342919
   > To correct any of these, Grant or re-grant permissions for your userid. (This
   > is required if you intend to publish to your personal wall OR any fan pages.)
 * Though it will be different for you, because you will be logged into FB with 
   a different ID.
 * Please visit the Check Permissions page ([http://apps.facebook.com/enticingthelight/?is_permissions=1&wp_user=1](http://apps.facebook.com/enticingthelight/?is_permissions=1&wp_user=1))
   as described in the directions and tell us what you see there.
 *  Thread Starter [Miserere](https://wordpress.org/support/users/miserere/)
 * (@miserere)
 * [15 years, 1 month ago](https://wordpress.org/support/topic/plugin-wpbook-3/#post-2014540)
 * Aha! Thanks, John. There were a bunch on NO permissions there, which I’ve now
   set to YES and my permissions page now looks like this:
 * > This page is where you can check and grant extended permissions, which enable
   > WPBook to publish to your personal wall and/or to the walls of fan pages.
   > The Facebook profile ID you are currently logged in to Facebook as is 32699.
   > You have defined 32699 as your Facebook user id in WPBook Settings.
   > FB profile 32699 has granted these permissions:
   >  * offline_access – yes
   >  * read_stream – yes * publish_stream – yes * manage_pages–
   > yes
   > An access token for this user has been stored.
   > You’ve indicated you wish to publish to this page: 210026772342919
   > An access token corresponding to this page has been stored.
 * I suspect all is well now. I have a new article going live tomorrow morning and
   will wait to see if it shows up on my FB page wall (I’m too busy to re-post an
   already published article right now).
 * I’ll return to this thread an post the outcome 🙂
 * Thanks again, John!
 *  Thread Starter [Miserere](https://wordpress.org/support/users/miserere/)
 * (@miserere)
 * [15 years, 1 month ago](https://wordpress.org/support/topic/plugin-wpbook-3/#post-2014585)
 * Nope, didn’t work 🙁
 * What else should I be checking?
 *  Plugin Author [John Eckman](https://wordpress.org/support/users/johneckman/)
 * (@johneckman)
 * [15 years, 1 month ago](https://wordpress.org/support/topic/plugin-wpbook-3/#post-2014595)
 * Well, the permissions above do seem correct.
 * When you say it didn’t work, what happened? Just no post appeared?
 * Are you publishing to your personal profile, or just the fan page [http://www.facebook.com/pages/Enticing-the-Light/210026772342919](http://www.facebook.com/pages/Enticing-the-Light/210026772342919)
 * I assume you mean that this post – [http://apps.facebook.com/enticingthelight/2011/04/05/we-welcome-two-new-affiliate-stores-ebay-and-digitalrev/](http://apps.facebook.com/enticingthelight/2011/04/05/we-welcome-two-new-affiliate-stores-ebay-and-digitalrev/)–
   didn’t post to the Facebook Wall of the page listed above?
 * Do you have debugging enabled in WPBook settings? If so, did you get a wpbook_pub_debug.
   txt file created in your wpbook folder?
 * If you momentarily unpublish the post (set it to draft, save the post, then re-
   publish it) do you see an error?
 *  Thread Starter [Miserere](https://wordpress.org/support/users/miserere/)
 * (@miserere)
 * [15 years, 1 month ago](https://wordpress.org/support/topic/plugin-wpbook-3/#post-2014597)
 * Hi John,
 * I am publishing to the fan page you URL’d and that is indeed the post that didn’t
   show up on the page wall.
 * I do have debugging enabled and all I got were two lines:
 * > 2011-04-05 04:16:02 : publish_to_facebook running, target_admin is 32699
   >  2011-
   > 04-05 04:16:02 : Post ID is 9306
 * Then I reset the post to draft and republished it again, and nothing happened
   on the wall. The debug file says the same as before:
 * > 2011-04-05 23:01:24 : publish_to_facebook running, target_admin is 32699
   >  2011-
   > 04-05 23:01:24 : Post ID is 9306
 * :-/
 *  Plugin Author [John Eckman](https://wordpress.org/support/users/johneckman/)
 * (@johneckman)
 * [15 years, 1 month ago](https://wordpress.org/support/topic/plugin-wpbook-3/#post-2014598)
 * [@miserere](https://wordpress.org/support/users/miserere/)
 * Hmm. You’ve got me stumped.
 * Do you see the “Publish this post to Facebook” section of your post edit screen?
   I assume that is set to “yes”?
 * The only thing I can imagine is that when publish_to_facebook.php gets to this
   section it somehow fails:
 *     ```
       $publish_meta = get_post_meta($my_post->ID,'wpbook_fb_publish',true);
           if(($publish_meta == 'no')) { // user chose not to post this one
             return;
           }
       ```
   
 * That’s lines 84-87 in publish_to_facebook.php and it is designed to check to 
   see whether the user has elected “no” on the “Publish to Facebook” option in 
   their post-edit screen.
 * Do you have access to your WordPress database? Can you look in the wp_postmeta
   table for postid 9306 and a “wpbook_fb_publish” key – is that set to “no”?
 * Do you write your posts in something else, like a desktop client?
 *  Plugin Author [John Eckman](https://wordpress.org/support/users/johneckman/)
 * (@johneckman)
 * [15 years, 1 month ago](https://wordpress.org/support/topic/plugin-wpbook-3/#post-2014599)
 * Looks like never gets to the next debug statement at line 96, so it has to either
   be a problem with the metadata or a problem with the next section, which just
   sets the permalink and author info – lines 88-94.
 *  Thread Starter [Miserere](https://wordpress.org/support/users/miserere/)
 * (@miserere)
 * [15 years, 1 month ago](https://wordpress.org/support/topic/plugin-wpbook-3/#post-2014603)
 * IT WORKED!
 * Doh! The “Publish this post to Facebook” option wasn’t ticked!!! I thought I 
   had set it up so that every post was automatically selected! I hadn’t even considered
   checking for that…
 * But thanks, John, the big hurdle here were the permissions on FB, which I hadn’t
   been able to figure out from the plugin instructions.
 * I appreciate the time you’ve taken to help me out, and hopefully my ineptness
   will serve to help others 🙂

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

The topic ‘[Plugin: WPBook]’ 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/)

 * 10 replies
 * 2 participants
 * Last reply from: [Miserere](https://wordpress.org/support/users/miserere/)
 * Last activity: [15 years, 1 month ago](https://wordpress.org/support/topic/plugin-wpbook-3/#post-2014603)
 * Status: resolved