WordPress.org

Ready to get started?Download WordPress

Forums

Facebook Events Widget
[resolved] Error in SSL (3 posts)

  1. tgambee
    Member
    Posted 1 year ago #

    Here is the result I get. I am only filling in the facebook page id. I do not have it as an "app". Is that essential? Trying to display events for https://www.facebook.com/ThornappleRiverWatershedCouncil/events

    Caught exception: SSL certificate problem, verify that the CA cert is OK. Details: error:14090086:SSL routines:SSL3_GET_SERVER_CERTIFICATE:certificate verify failed

    http://wordpress.org/extend/plugins/facebook-events-widget/

  2. Bloke
    Member
    Posted 1 year ago #

    In the fb-sdk folder find this block of code. I added this line to the end of the array and it worked. :
    CURLOPT_SSL_VERIFYPEER => false,

    public static $CURL_OPTS = array(
        CURLOPT_CONNECTTIMEOUT => 10,
        CURLOPT_RETURNTRANSFER => true,
        CURLOPT_TIMEOUT        => 60,
        CURLOPT_USERAGENT      => 'facebook-php-2.0',
        CURLOPT_SSL_VERIFYPEER => false,
      );
  3. roidayan
    Member
    Plugin Author

    Posted 10 months ago #

    thanks Bloke

Topic Closed

This topic has been closed to new replies.

About this Plugin

About this Topic

Tags

No tags yet.