Support » Plugins » [Plugin: WPBook] caught exception: requires user session

  • using wpbook 1.5.5

    Have errors turned on and get Caught exception: requires user session when publishing a new post.

    I successfully got wpbook working on a different page, but seems I’m not doing “something” in the exact right order.

    For example, what are the right steps to be able to display blog posts on a facebook wall? (i.e., 1st add app to page, then authorize in wpbook settings, then edit app settings in page, then blah blah…?)

    I’ve tried things in various order, got lucky once, can’t seem to get it right again 🙁

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

Viewing 15 replies - 1 through 15 (of 17 total)
  • I am having the exact same problem. Everything was working fine when I set it up, but then I installed the Facebook Connect plugin and it stopped working. I have uninstalled Facebook Connect and it still is not working. I am getting:

    Caught exception: requires user session when publishing a new post.

    I spent most of the day getting this working and was thrilled to get it working. Alas, now I am stuck…

    Thoughts???

    J

    I am having the exact same problem. Everything was working fine when I set it up, but then I installed the Facebook Connect plugin and it stopped working. I have uninstalled Facebook Connect and it still is not working. I am getting:

    Caught exception: requires user session when publishing a new post.

    I spent most of the day getting this working and was thrilled to get it working. Alas, now I am stuck…

    Thoughts???

    J

    Not sure why you’re getting “requires user session.”

    Are you trying to publish to a Fan Page in FB, or just your personal wall?

    What do you see if you visit the “click here to grant WPBook the permission to publish to your stream” page (from WPBook settings). Does it report your userid?

    Have you added the application to your profile, or to the page in question?

    Same problem for me. I’m able to write on my wall and also to the fan page.

    This is what I get visiting “click here to grant WPBook the permission to publish to your stream”
    ——–

    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 6XXXXXXX1

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

    Click here to grant permissions for your userid. (This is required if you intend to publish to your personal wall OR any fan pages.)

    You are also listed as the admin of these pages:

    * PAGENAME (1XXXXXXXXXXX2), This page has granted stream.publish permissions to this app.

    If you are the administrator of pages which do not show up in this list, you need to ensure you have added the application to the pages first.

    Follow the detailed directions included with the plugin.

    @gabriperego – Have you clicked on the “click here to grant permissions for your userid” link?

    Does the problem occur when you try to post to your personal wall, to the page, or both?

    I have the same problem. Everything was going fine, but posts were not showing up on my Fan Page wall. I am only trying to use the plugin to post to a Fan Page wall not my profile wall.

    I’ve added the application only to the fanpage.

    I followed all steps and got it working so that all posts showed up on the application page and the application “box” on the left in my fan page. But when I tried some more fiddling to make it post to the wall of the Fan Page and activated “Show errors posting to Facebook Stream” to troubleshoot I got this error too, requires user session.

    I think a tutorial is needed, or expand the current tutorial with steps to puplish to wall (fan page or personal). Because googling the issue seems more people are having problems.

    Thanks for a great plugin though, hope I can solve this ! 🙂

    edit:
    some more info, checking the rights with the link in WPBook settings shows my page have been granted stream rights.
    I am using WP 2.9.2 and WPBook 1.5.5

    Same Error. ” Caught exception: requires user session “
    The FB Application runs the way it should. It displays posts in the box, on any page, Fan, personal etc. that has the app.

    The App Page itself has the posts from my WP blog.

    If I check the settings to post to my personal wall, WPBook does so flawlessly. However I do not want my blog posts going to my profile, but to my fan page.

    Under permissions, it shows my Fan Page has allowed permission to stream etc. And the app is on the fan page as well.

    When I check the box “Show Errors” I get the Caught exception: requires user session every time, and (of course it does not post to the Fan Page. )

    But other then that this plugin works great for 90% of the things..that I dont want to do. haha. Just need it to post to my fan page.

    Scoured google looking for an answer, and nothing yet. Waiting for you to save the day!

    WordPress: 2.9.2
    WPBook: 1.5.5
    Fan Page: http://facebook.thisismycounty.com
    App Page: http://fbapp.thisismycounty.com

    – Larry

    @ragenetic – Are you (the profile id entered into WPBook settings) an admin of the page in question?

    If you go look at the application settings on the page (go into Pages, Edit Page, and click on “Application Settings” in the right part of the page for the new app) is there an “additional permissions” tab?

    What does it say, and what options are checked?

    Can you send me (offline – eckman.john at gmail.com) photos of the settings (FB side) for the app, across the different tabs?

    There’s also a series of steps outlined here:
    http://tech.karolzielinski.com/publish-post-of-facebook-page-wall-as-a-page-not-a-user-python-facebook-rest-api

    It might be useful to try some of these, specifically:

    Set application type – make sure yours is set to Web

    Also the “special link”:

    http://www.facebook.com/connect/prompt_permissions.php?api_key=YOUR_API_KEY&v=1.0&next=http://www.facebook.com/connect/login_success.html?xxRESULTTOKENxx&display=page&ext_perm=publish_stream,offline_access&enable_profile_selector=1&profile_selector_ids=ID_OF_YOUR_PAGE

    Note where you need to put in your api key, your page ID.

    I think some how the page is not granting “offline access” though the “grant permissions” link inside WPBook does request that.

    @twixly – thanks for your data gathering.

    As a test, can I ask you to try also posting to your personal wall?

    I’m wondering if maybe the exception is coming from the user not having active permissions separate from the page?

    Anyway, to eliminate that – please try posting to both wall and page and let’s validate if that works?

    I am sorry, I have uninstalled the plugin, due to time limitation put on me by my boss I had to find an alternate solution.

    So unfortunatly I cannot help with this at this point.

    FYI for folks finding this thread, i believe it is resolved as of WPBook 1.5.6

    @twiddly, can you set the thread to resolved? You still around?

    Hi John… i’m having the same problems on HairWeGo.

    I generated a infinite session key but I get this error when i try to publish:

    Caught exception in stream publish for user: Session key invalid or no longer validError code: 102

    fanpage tab: http://www.facebook.com/HairWeGo
    blog site: http://hairwegoproducts.com

    FYI When I click check permissions I don’t see the extended permissions indicated in this image. http://wpbook.net/wp-content/uploads/2010/08/stream_publish_options.png

    I’m very confused… 🙁

    Hello… someone please help me.

    @mykkal – whatever infinite session key you’ve generated is invalid, or isn’t associated with the user profile provided in WPBook settings.

    Can you post a screenshot of your settings in WPBook and your settings in Facebook application? You can blur out or eliminate the API Key and Secret.

Viewing 15 replies - 1 through 15 (of 17 total)
  • The topic ‘[Plugin: WPBook] caught exception: requires user session’ is closed to new replies.