Viewing 10 replies - 16 through 25 (of 25 total)
  • Thread Starter rgkeenan

    (@rgkeenan)

    I did goto the “check permissions” link.. clicked it.. got 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.

    Your userid is 100000395584740

    You will need to enter that number into the WPBook settings page on your WordPress install.

    This user_id has granted these permissions:

    offline_access – yes
    read_stream – yes
    publish_stream – yes
    manage_pages – yes
    This user has NOT set an access_token for the application to use.

    You’ve indicated you wish to publish to this page: 480083888157
    WPBook stored an access_token for use as as well.

    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.)

    My Profile ID is https://graph.facebook.com/480083888157
    My PageID is https://graph.facebook.com/210200958157

    .. I am not sure where 100000395584740
    is coming from. In WPBook.. I have 210200958157 as profile ID and 480083888157 as page ID.

    I have clicked the link to re-grant permissions and the App simply loads after that (no dialog to grant permissions..)

    Plugin Author John Eckman

    (@johneckman)

    Have you actually visited the Check Permissions page inside the application? Not your app settings in Facebook, but by visiting the WPBook section of WordPress settings, looking in Wall/Stream, and clicking the link which says: “Check permissions for stream publishing, reading, and offline access.”

    That will in the process grant AND STORE an access_token IF your Facebook ProfileID (the one you are logged in to facebook as) matches the one you have listed as “YOUR Facebook Profile ID” in the settings inside WPBook.

    Thread Starter rgkeenan

    (@rgkeenan)

    the debug log continue to say no access token.. hmm..

    Plugin Author John Eckman

    (@johneckman)

    By checking these IDs in Facebook, it looks to me like:

    • 100000395584740 is a user profile named “Palermo’s Bakery” (first name Palermo’s last name Bakeshop)
    • 480083888157 seems to actually be a photo object – a picture of Palermo’s Bakery?
    • 210200958157 is actually the Palermo’s Bakery page in FB

    So I would guess based on that you want “YOUR Facebook Profile ID” to be set to 100000395584740 (is that profile ID the developer of the app in question?) and your page id to 210200958157, then go back to the check permissions page.

    An Access token is granted to a personal profile, when and only when the currently logged in FB userid matches the “YOUR Faceboko ID” – and then, if a page is also available and that username has granted “manage pages” permission, a second access token is retrieved and stored for the page.

    Thread Starter rgkeenan

    (@rgkeenan)

    I am logged into wp-admin with the admin acct.. am also logged into Facebook with the clients acct (https://www.facebook.com/palermobakery – profile id 210200958157 unless I crazy)..

    so why does WPBook continue to tell me my userid is 100000395584740?

    Plugin Author John Eckman

    (@johneckman)

    Because the account you are logged into in FB is user profile 100000395584740 – see https://graph.facebook.com/100000395584740, which tells me it is a personal profile – https://www.facebook.com/palermobakery

    Then you have the page for the business, which has a Page ID of 210200958157, which is a Page not a profile – see https://www.facebook.com/PalermosBakery

    So you’ve confused your profile and your page – the profile is 100000395584740, the page is 210200958157

    But your individual user profile also should not be “Palermo’s Bakeshop” as technically a profile like that is a violation of the TOS of Facebook, which says individual profiles must be actual people . . .

    Thread Starter rgkeenan

    (@rgkeenan)

    duh, well that is embarrassing now isn’t it.

    Thread Starter rgkeenan

    (@rgkeenan)

    Thank you John for all your help today.. was a tricky one. We are back to running normally in WP 3.0.5. Hope all this help someone else who might also be having trouble.

    Love the plugin, intend to use it with a bunch of other clients as well. Will be fantastic to be able to theme the output.. will put an emphasis on getting these legacy site up to WP 3.1

    Thanks again

    Plugin Contributor B.

    (@bandonrandon)

    @jeckman, I had some wierd issue with the get_themes variable when I was doing my initial testing but was able to get it to work but didn’t do any backwards captability testing, oops. Let me know what you figure out.

    Plugin Contributor B.

    (@bandonrandon)

    If you want to use custom themes with WPBook 2.1.4 you should be able to change lines 901-907 to

    function wpbook_check_custom_theme($theme) {
         global $wp_version;
      if (version_compare($wp_version, '3.1', '>=')) {
    // custom theme check fails in wordpress < 3.1
        $installed_themes= array();
        $installed_themes= get_themes();
        $wpbook_theme_check = (!empty($installed_themes[$theme])) ? TRUE : FALSE;
        return $wpbook_theme_check;
      } else {
    //check for style.css in older versions of WordPress
    	if(file_exists(WP_CONTENT_DIR . '/themes/wpbook_theme
    /style.css')) {	return TRUE;}
      }
         return FALSE;
     }

    Still don’t know what’s wrong with get_themes() in WordPress 3.0 but this seems to be a work around as long as you have a style.css In your wpbook_theme directory.
    Hope that helps.

Viewing 10 replies - 16 through 25 (of 25 total)
  • The topic ‘WPBook 2.1.4 / WP3.0.5 – no response to FB app from wpbook.’ is closed to new replies.