Error twitteroauth
-
I went to catch the test version to have the pictures on twitter and activate the plugin it conflicts with my theme …
public_html/wp-content/themes/cherry/functions/twitteroauth/twitteroauth.php on line 17
looked at the code and starting from row 17 have this:
—
/* Load OAuth lib. You can find it at http://oauth.net */
if( ! class_exists(‘OAuthException’,false)) {
require_once(‘OAuth.php’);
}/**
* Twitter OAuth class
*/
class TwitterOAuth {
/* Contains the last HTTP status code returned. */
public $http_code;
/* Contains the last API call. */
public $url;
/* Set up the API root URL. */
public $host = “https://api.twitter.com/1.1/”;
/* Set timeout default. */
public $timeout = 30;
/* Set connect timeout. */
public $connecttimeout = 30;
/* Verify SSL Cert. */
public $ssl_verifypeer = FALSE;
/* Respons format. */
public $format = ‘json’;
/* Decode returned json data. */
public $decode_json = TRUE;
/* Contains the last HTTP headers returned. */
public $http_info;
/* Set the useragnet. */
public $useragent = ‘TwitterOAuth v0.2.0-beta2’;
/* Immediately retry the API call if the response was not successful. */
//public $retry = TRUE;==
I would like a solution since used the old version and had no problems and now wanted a pro to use the images on twitter …
The topic ‘Error twitteroauth’ is closed to new replies.