Hello everyone!
First, buro9 Thank You for the great plugin you have done for the public and been so good in replying to our not so smart questions!
However, i was not able to get it going from the first kick! After reading about 12 pages of this thread and trying everything possible I Got IT going.
The working conditions(in my case) are:
vB 4.0.2
vBSEO 3.5: Custom URLs
Charset: UTF-8 ( Russian)
User details: correct
CURL: installed.
JSON: enabled.
Safe_Mode: off
bitly.php CURL options:
PHP Code:
// set options
$options[CURLOPT_URL] = $url;
$options[CURLOPT_PORT] = self::API_PORT;
$options[CURLOPT_USERAGENT] = $this->getUserAgent();
$options[CURLOPT_FOLLOWLOCATION] = false;
$options[CURLOPT_HEADER] = false;
$options[CURLOPT_RETURNTRANSFER] = true;
$options[CURLOPT_TIMEOUT] = (int) $this->getTimeOut();
tweeter.php CURL options:
PHP Code:
// set options
$options[CURLOPT_URL] = $url;
$options[CURLOPT_PORT] = self::TWITTER_API_PORT;
$options[CURLOPT_USERAGENT] = $this->getUserAgent();
$options[CURLOPT_FOLLOWLOCATION] = false;
$options[CURLOPT_RETURNTRANSFER] = true;
$options[CURLOPT_TIMEOUT] = (int) $this->getTimeOut();
Hope it helps somebody.
All the best!