WordPress.org

Ready to get started?Download WordPress

Forums

WPBook Lite
[resolved] Error: Caught exception publishing to page as Post: (#200) (25 posts)

  1. SkyMcElroy
    Member
    Posted 2 years ago #

    I am receiving the following error from your App:
    Caught exception publishing to page as Post: (#200) This API call requires a valid app_id.Error code: 0

    However, I know that I have properly and correctly configured the Facebook App ID, Facebook App Secret, personal Facebook Profile ID, and Facebook page ID, as I had just finished testing publishing via Simple Facebook Connect (which I chose to remove because of wanting a different comment functionality and the plug-in including an excessive amount of og: image meta-data into my posts).

    Can you please advise?

    Thanks,
    Sky

    http://wordpress.org/extend/plugins/wpbook-lite/

  2. johneckman
    Member
    Plugin Author

    Posted 2 years ago #

    Have you generated and stored an access token successfully?

    What does your WPBook Lite settings page say about access tokens and permissions?

    Does your Facebook Application have the "Deprecate offline_access" enabled? It must be disabled for the application to work.

  3. VolkerHett
    Member
    Posted 2 years ago #

    Deprecate_offline_access seams to be deprecated, or can it be "Remove offline_access permission" on May 6th 2012?

  4. johneckman
    Member
    Plugin Author

    Posted 2 years ago #

    @volkerhett Yes, offline_access is going away.

    Per https://developers.facebook.com/roadmap/ -

    The offline_access permission is deprecated and will be removed July 5, 2012. Until then, you can turn this change on or off using the "Remove offline_access permission" migration. On May 2, 2012, we will automatically turn the migration to "enabled" for all apps. If this breaks your app, you can turn the migration back to "disabled" until July 5, 2012 when it will be permanently "enabled" for all apps. Please see the Removal of offline_access Permission doc for more details.

    I guess this means that they have changed yet again, from "Deprecate offline_access" to "Remove offline_access"

    In order for WPBook (and WPBook Lite) to work in their current codebases, you must have offline_access available, so "Remove offline_access" must be set to disabled, I believe.

  5. johneckman
    Member
    Plugin Author

    Posted 2 years ago #

    Update - WPBook Lite 1.4 and WPBook 2.5.2 now work with "Deprecate Offline_access" enabled - they no longer rely on the offline_access permission

  6. promitech
    Member
    Posted 2 years ago #

    I am getting this when posting to group Caught exception publishing to group as Post: (#210) User not visibleError code: 0

    Please help

    Rick

  7. johneckman
    Member
    Plugin Author

    Posted 2 years ago #

    @promitech Are you sure it is a group you are posting to? What's the ID?

    Does the group allow members to post?

    Is your personal facebook profile (the one who's ID is being used to get an access token) able to post on the wall of the group?

    Generally this error occurs because the user you are posting as (the profile ID in wpbook settings) does not have permission to post on the wall to which you're trying to post (the group ID).

  8. promitech
    Member
    Posted 2 years ago #

    Are you sure it is a group you are posting to? Yes

    What's the ID? 259467477486361 ; http://www.facebook.com/groups/rockawaybeach/

    Does the group allow members to post? Yes and members can add members with admin approval.

    Is your personal facebook profile (the one who's ID is being used to get an access token) able to post on the wall of the group? Yes

    what she is looking for is to cross post post on FB and show on WP and post on WP and show on FB is this what this will do when set correct?

    Thanks

  9. johneckman
    Member
    Plugin Author

    Posted 2 years ago #

    I don't think that's the right ID.

    Check http://graph.facebook.com/259467477486361 - that tells me that an access token is required to see the group, meaning it is private.

    But http://www.facebook.com/groups/rockawaybeach/ is not a private group.

    The ID for that group seems to be 152434154889645

    See: http://graph.facebook.com/152434154889645

    Maybe the other ID is actually her personal profile ID?

  10. promitech
    Member
    Posted 2 years ago #

    this is her personal page http://www.facebook.com/Rockawaybeachor I just checked it with graph and its right.

    I changed the group number to 152434154889645

    this is the wp site it also has the FB widget on the side I will turn off when yours is all set. rockawaybeach.me and you know the group.

    Thanks
    Rick

  11. promitech
    Member
    Posted 2 years ago #

    just made a post on WP 3:16 and its not on the group.

    made one on group and not on WP.

    can I pay you to fix this?

    Rick

  12. johneckman
    Member
    Plugin Author

    Posted 2 years ago #

    Just to be clear, when you are setting this up in WordPress, you want to use her personal FB ID, 100002693320933, in the spot marked "YOUR Facebook Profile ID"

    After setting the ID, you will need to grant permissions for that ID to get an appropriate access token.

    You want to put the ID of the group in the "Group ID" field which is revealed when you check "Publish new posts to the wall of this page/group:"

    If you then also enable debugging and try to post new posts, you should either see them on the group wall or see entries in the debug log.

    When you make posts in the group in Facebook, they will not be imported into WordPress - that is not a feature of any plugin I know.

    When you make posts in WordPress, and posts excerpts from those posts onto a wall in Facebook, comments made (in Facebook) against those excerpts will be imported into WordPress.

    In other words, comments are imported from Facebook for posts originating in WPBook Lite.

    Post originating in Facebook are not imported to WordPress.

  13. promitech
    Member
    Posted 2 years ago #

    I just looked again, and thats the way it is set up, and I turned on debug not sure how to use it? I posted on WP and no show on FB.

    When you make posts in the group in Facebook, they will not be imported into WordPress - that is not a feature of any plugin I know.

    Is this something you could do?

    I would be happy to send screen shot of settings or give admin access.

  14. johneckman
    Member
    Plugin Author

    Posted 2 years ago #

    When you enable debug, wpbook-lite will create a debug file inside the plugin directory, and write information there as you create and publish posts.

    Importing group posts from Facebook into WordPress is not high on my list of features for the project - it's really designed to cross-post out from WordPress.

    Of course, it's an open source plugin so anyone who wanted to do could code that and contribute it.

  15. promitech
    Member
    Posted 2 years ago #

    just looked no new files in plugin dir.

    still not posting on FB either.

    what would it cost to add code to do what I need?

  16. johneckman
    Member
    Plugin Author

    Posted 2 years ago #

    @promitech - have you granted new permissions since you changed the groupID and personal profile ID?

    When you visit your wpbook lite settings page, does it say it has successfully stored an access token?

    Have you enabled "show errors posting to Facebook stream" AND "Enable WPBook to create a debug file"?

    Are you looking in wp-content/plugins/wpbook-lite/ for a debug file?

    I don't do paid development on wpbook. You're welcome to donate at wpbook.net, but that won't get the feature you're looking for.

    But you don't need me to do it - you can hire any WordPress savvy PHP developer to do it.

  17. johneckman
    Member
    Plugin Author

    Posted 2 years ago #

    Also, you've said "it has the Facebook widget on the side" - is that done using a plugin which includes the Facebook SDK? Often those can cause conflicts.

  18. promitech
    Member
    Posted 2 years ago #

    yes, should I delete it and the associated app in Facebook?

  19. johneckman
    Member
    Plugin Author

    Posted 2 years ago #

    I don't know that Facebook allows two different applications with the same domain - never been able to get a straight answer from them on that.

    You might try deleting it and the associated app - but I don't honestly know if it will solve the problem.

  20. promitech
    Member
    Posted 2 years ago #

    I just looked and I only have the one app, thats used in your plugin. Could I have it set wrong?

  21. promitech
    Member
    Posted 2 years ago #

    Hi, First I am not complaining, but I hired a coder and got ripped off...
    anyway I have deleted all facebook plugins ans widgets, deleted the app on facebook. started fresh

    installed plugin, created app as docs states, added setting info.
    went to wp and posted and got this error
    No post id returned from Facebook, $fb_response was /n and $fb_page_type was and $wpbook_description was test1002 and $my_title was test

    I would at least like to make your plugin work.
    Thank you for your time with me.

    Rick Young

  22. johneckman
    Member
    Plugin Author

    Posted 2 years ago #

    @promitech - did you say in another forum you now had it working?

    Given that the $fb_page_type is blank, I would guess that either the group ID or the profile ID is incorrect.

  23. promitech
    Member
    Posted 2 years ago #

    Yes I have it working as written.
    Thanks

    I ended up using wpbook.

  24. yancho
    Member
    Posted 1 year ago #

    promitech can you say how please? i am running in the same problem :(

  25. promitech
    Member
    Posted 1 year ago #

    I now use http://wordpress.org/extend/plugins/dw-social-feed/ and it works great.

    Rick

Topic Closed

This topic has been closed to new replies.

About this Plugin

About this Topic