• Resolved jikatal

    (@jikatal)


    Using WP Book Lite 1.2.4 & WordPress 3.3.1

    Get following error message in WordPress upon clicking publish:

    Caught exception in publish to page (#200) This API call requires a valid app_id. Error code: 0

    • Access token successfully created & stored
    • Clicking on Facebook App ID “Visit this App profile” leads me to App page which redirects to wordpress website.
    • Clicking on YOUR Facebook Profile ID “Visit this profile” leads me to profile page.
    • Set to publish to page ID, as posts.

    The error log looks like this:
    2012-02-15 16:49:13 : publish_to_facebook running, target_admin is XXXXXXXXXXXXXX
    2012-02-15 16:49:13 : Post ID is 822
    2012-02-15 16:49:13 : My permalink is https://www.XXXXXXX.co.uk/uncategorized/welcome
    2012-02-15 16:49:13 : Function does not exist, or no thumb
    2012-02-15 16:49:13 : Post thumbail is
    2012-02-15 16:49:13 : Post share link is
    2012-02-15 16:49:13 : Past stream_publish, fb_response is
    2012-02-15 16:49:13 : Publishing to page XXXXXXXXXXXXX
    2012-02-15 16:49:13 : Publishing to page, image is

    X’s cover valid numbers.

    https://www.ads-software.com/extend/plugins/wpbook-lite/

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

    (@johneckman)

    jikatal – does the debug file end where you stopped, or does it contain more – it was just getting to the interesting stuff.

    What is the ID of the page you are trying to publish to?

    Hi there

    I am having exactly the same error message. I am posting to group as well as page but only thee group works – wp post works fine too.

    I cannot get it to post on FB page.

    Debug FULL file is:
    2012-07-14 19:00:16 : publish_to_facebook running, target_admin is xxxxxxx
    2012-07-14 19:00:16 : Post ID is 5171
    2012-07-14 19:00:16 : My permalink is https://www.xxxxx
    2012-07-14 19:00:16 : Function does not exist, or no thumb
    2012-07-14 19:00:16 : Post thumbail is
    2012-07-14 19:00:16 : Post share link is
    2012-07-14 19:00:16 : Past stream_publish, fb_response is
    2012-07-14 19:00:16 : Group access token is xxxxxx
    2012-07-14 19:00:16 : Publishing to group xxxxxx
    2012-07-14 19:00:16 : Publishing to group, image is
    2012-07-14 19:00:18 : Just published to group via api, fb_response is Array
    (
    [id] => 201603773200078_500506036643182
    )

    2012-07-14 19:00:18 : Publishing to page xxxxxx
    2012-07-14 19:00:18 : Publishing to page, image is

    Any help, more than appreciated.
    craig

    Plugin Author John Eckman

    (@johneckman)

    craig (and jikatal) – do both of your debug files end right at “image is”?

    Makes me think there must be some kind of issue I’m missing here.

    What are your settings in terms of posting as link versus as post?

    craig – are you also getting the same “Caught exception in publish to page (#200) This API call requires a valid app_id. Error code: 0”

    This would suggest there’s some kind of permissions problem, since the app_id works for posting to groups or profiles.

    What does your WPBook Lite settings page say about page tokens – does it say a page token corresponding to the page you are publishing has been stored?

    Plugin Author John Eckman

    (@johneckman)

    Also, what is the ID of the page you are trying to publish to?

    I’d like to check it in the Facebook Graph API and see if it is correct.

    yes, file ends right on “image is”

    Both Profile and Page/Group Post Type Options are as posts.

    yes i am receiving the same error message craig – “Caught exception in publish to page (#200) This API call requires a valid app_id. Error code: 0”

    In terms of the token, it was successfully stored and detailed within the WPbook lite settings page – however, I have logged in this morning and now se the following error:

    “Your Facebook Access Token for WPBook Lite has expired. Please visit the settings page for WPBook Lite and grant a new access token. Until you do so, cross-posting to Facebook and import of comments will fail.”

    If it is of any help, the facebook apps advanced settings had “Remove offline_access permission:” set to disabled.

    The page ID i am trying to post to is 460172777333904 (fishing page).

    Many thanks John.

    Having the exact same problem.

    Error is:
    Caught exception publishing to page as Post: (#200) This API call requires a valid app_id.Error code: 0

    Debug shows:
    2012-07-17 03:31:35 : publish_to_facebook running, target_admin is xxxxxx
    2012-07-17 03:31:35 : Post ID is 10659
    2012-07-17 03:31:35 : My permalink is https://www.mysite
    2012-07-17 03:31:35 : Function does not exist, or no thumb
    2012-07-17 03:31:35 : Post thumbail is
    2012-07-17 03:31:35 : Post share link is
    2012-07-17 03:31:35 : Past stream_publish, fb_response is
    2012-07-17 03:31:35 : Publishing to page 225078634190642
    2012-07-17 03:31:35 : Publishing to page, image is

    Access token is generated correctly on setting page .
    Please help.

    Plugin Author John Eckman

    (@johneckman)

    csimpson – the ID 460172777333904 doesn’t seem to me to be a page

    See https://graph.facebook.com/460172777333904 – looks to me like that ID refers to a gallery of images?

    I would guess, from what is returned above that the ID you are looking for is 155716824446169 (see https://graph.facebook.com/155716824446169 ) – unfortunately FB Graph API doesn’t directly return the “type” of the thing being examined.

    What is the url inside Facebook of the page you’re trying to post to?

    Plugin Author John Eckman

    (@johneckman)

    deadelvis – similarly, I don’t think that 225078634190642 is actually a page. What’s the URL in Facebook of the thing you are trying to post to?

    I think the ID you should be using is 222717191093453 – see https://graph.facebook.com/222717191093453

    You are trying to post to https://www.facebook.com/portugalnoseumelhor ?

    i am trying to post to https://www.facebook.com/hintleshamfisheries which from your link above, seems like you have the right page ID. I used 155716824446169 as an ID for the page, regenerated the token and then posted again in WP. All i got was a blank white screen. So i returned to wp and received the error

    Your Facebook Access Token for WPBook Lite has expired. Please visit the settings page for WPBook Lite and grant a new access token. Until you do so, cross-posting to Facebook and import of comments will fail.

    I will investigate this now. thanks so far, craig

    Hi all, my issue is all resolved. I was using the wrong PageID. Plus the blank white page issue i resolved by going into the app settings and making “Remove offline_access permission:” set to enabled. Enabled is default but some other advice elsewhere told me to change it too disabled which isnt right.

    Thanks John for help, app is awesome.

    Plugin Author John Eckman

    (@johneckman)

    @deadelvis my guess is you have the same problem csimpson was.

    Remove Offline_access should be set to enabled in FB app settings, and you must use the right Page ID in your WPBook Lite settings.

Viewing 11 replies - 1 through 11 (of 11 total)
  • The topic ‘[Plugin: WPBook Lite] Caught exception in publish to page (#200)’ is closed to new replies.