• Resolved Thanner

    (@thanner)


    Hello,

    after I updated to the new version, wpbook does not work.

    I get following message:

    This user_id has granted these permissions:

    * offline_access – no
    * read_stream – no
    * publish_stream – no

    In the debugger I get following message:
    This user_id has granted these permissions:

    Caught exception in getting permissions for user: SSL certificate problem, verify that the CA cert is OK. Details: error:14090086:SSL routines:SSL3_GET_SERVER_CERTIFICATE:certificate verify failedError code: 60

    How can I change it, that it wil work.

    Please help.

Viewing 13 replies - 1 through 13 (of 13 total)
  • @thanner have you followed the upgrade instructions here: http://wpbook.net/docs/upgrade/

    What do you mean “in the debugger”?

    On your check permissions page, can you click on the link labelled ” Grant or re-grant permissions for your userid. “?

    Bill

    (@billdean8604)

    I’m having the same problem.
    I’ve followed the upgrade instructions. If I click the “Check Permissions” link in WPbook. I get the same as above. If I then click the “Grant or re-grant permissions for your userid” link I’m given the option to allow the extra access and everything looks fine, but if I publish a post on my bolg is does not show up on my Facebook page. and if I click the “Check Permissions link again it still says
    * offline_access – no
    * read_stream – no
    * publish_stream – no
    If I use my FB profile to check applications that I’m using and check the permissions for my application FB says that my application has all of the requested permissions. I have removed the permissions and gone throught the smae process with the same results.

    If I turn on
    Enable WPBook to create a debug file
    Show errors posting to Facebook Stream
    and then click the “check Permissions” link I get the same SSL error as noted above.

    In my Advanced setup tab for my application I have fewer migrations.
    Migrations
    Disable Deprecated Auth Methods Enabled
    Stream post URL security Disabled
    OAuth 2.0 for Canvas Enabled
    Timezone-less events Enabled
    Upgrade to Requests 2.0: Enabled

    At one point I had many more but FB must have changed something in the past couple of days.

    Any help would be appreciated.

    Thread Starter Thanner

    (@thanner)

    @johneckman,

    yes I followed the upgrade instructions.

    On my check permisson page, I can click on the link labelled ” Grant or re-grant permissions for your userid.
    An I can see all my posts. But I still get following message:

    ‘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 – no
    * read_stream – no
    * publish_stream – no

    This user has set an access_token for the application to use.

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

    I can enable the debugger in the wpbook setups:

    Stream Debug Options
    Enable WPBook to create a debug file
    Show errors posting to Facebook Stream

    I still get no permission. See quote above.

    Are you using admin via https in WordPress?

    Bill

    (@billdean8604)

    No, I get into the admin using http://

    Thread Starter Thanner

    (@thanner)

    No, I get into the admin using http://

    Hmm. That error is coming from cURL based on your server not recognizing the Facebook server for the graph API.

    There’s a thread here:
    http://forum.developers.facebook.net/viewtopic.php?pid=324606

    Will need to investigate what I can change to make this work.

    Bill

    (@billdean8604)

    Thanks for looking into this. WPBook worked on the 12th when I made a post and stopped working for me on the 15th when I made another.

    Bill

    Just checked in some changes to trunk to see if they fix this – in about 30 minutes you should be able to download from here:

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

    (The “Development” version at the bottom of the page)

    I’ve had this problem and in my case it is because my certificate is self-signed and rejected as being ‘unsafe’ by curl.

    My quick and dirty fix was to turn off the certificate checking by adding the following option to CURL_OPTS$ in facebook.php:

    CURLOPT_SSL_VERIFYPEER => false

    Ideally, I would prefer to be able to specify a folder into which the client certificate could be placed (as per accepting the SSL exception in a modern browser) so that the verification doesn’t need to be turned off.

    Thread Starter Thanner

    (@thanner)

    @johneckman,

    thanks, it works.

    Bill

    (@billdean8604)

    Thanks, that did the trick!

    Great – I will roll this into a 2.1.2 shortly.

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

The topic ‘[wpbook] I get no permissions’ is closed to new replies.