Jump to content

Recommended Posts

Hello guys,

 

I've been trying to get oauth working for frog (vle). I've had problems with this so I'm currently trying to get it working on twitter as it's more basic. I've downloaded the oauth library from http://oauth-php.googlecode.com/svn/trunk/ and have put in my keys.

 

I'm getting an error of:

 

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

 

I've read online that this can be solved by uploading certificates or turning a verifier off but I'm not 100% sure where in the code to put it in. The error I get when I try is:

 

Warning: curl_setopt(): supplied argument is not a valid cURL handle resource in /home/a3623124/public_html/example/client/twoleggedtwitter.php on line 54

 

Line 54 and 55:

 

// Obtain a request object for the request we want to make
$request = new OAuthRequester(TWITTER_REQUEST_TOKEN_URL, "POST");

 

oAuthRequester is 400line long so i'll attach it.

 

Thank you for any help and time you can give.

Chris

oAuthRequester is 543 lines long

18141_.php

Link to comment
https://forums.phpfreaks.com/topic/261303-php-oauth/
Share on other sites

This thread is more than a year old. Please don't revive it unless you have something important to add.

Join the conversation

You can post now and register later. If you have an account, sign in now to post with your account.

Guest
Reply to this topic...

×   Pasted as rich text.   Restore formatting

  Only 75 emoji are allowed.

×   Your link has been automatically embedded.   Display as a link instead

×   Your previous content has been restored.   Clear editor

×   You cannot paste images directly. Upload or insert images from URL.

×
×
  • Create New...

Important Information

We have placed cookies on your device to help make this website better. You can adjust your cookie settings, otherwise we'll assume you're okay to continue.