Jump to content

PHP Oauth


ChrisBrown

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

Archived

This topic is now archived and is closed to further replies.

×
×
  • 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.