![]() |
This one is better, simple product import.
|
how to fix this :(:(:(
{ "errorCode": 0, "errorMessage": "", "results": { "http://www.forums.emonx.com/showthread.php?t=16449": { "hash": "bHseVJ", "shortCNAMEUrl": "http://bit.ly/cN24Pk", "shortKeywordUrl": "", "shortUrl": "http://bit.ly/cN24Pk", "userHash": "cN24Pk" } }, "statusCode": "OK" }Invalid JSON-response on line 196 in /home/admin/emonx.com/forum/bitly.php #0 /home/admin/emonx.com/forum/bitly.php(382): Bitly->doCall('shorten', Array) #1 /home/admin/emonx.com/forum/newthread.php(262) : eval()'d code(14): Bitly->shorten('http://www.foru...') #2 /home/admin/emonx.com/forum/newthread.php(262): eval() #3 {main} Fatal error: Invalid JSON-response on line 196 in [path]/bitly.php in [path]/vb/vb.php on line 284 #0 vb_error_handler(256, Invalid JSON-response on line 196 in /home/admin/emonx.com/forum/bitly.php , /home/admin/emonx.com/forum/vb/vb.php, 284, Array ([exception] => BitlyException Object ([] => Invalid JSON-response,[] => ,[] => 0,[] => /home/admin/emonx.com/forum/bitly.php,[] => 196,[] => Array ([0] => Array ([file] => /home/admin/emonx.com/forum/bitly.php,[line] => 382,[function] => doCall,[class] => Bitly,[type] => ->,[args] => Array ([0] => shorten,[1] => Array ([longUrl] => http://www.forums.emonx.com/showthread.php?t=16449,[history] => 1))),[1] => Array ([file] => /home/admin/emonx.com/forum/newthread.php(262) : eval()'d code,[line] => 14,[function] => shorten,[class] => Bitly,[type] => ->,[args] => Array ([0] => http://www.forums.emonx.com/showthread.php?t=16449)),[2] => Array ([file] => /home/admin/emonx.com/forum/newthread.php,[line] => 262,[function] => eval))),[code] => 256)) called at [(null):0] #1 trigger_error(Invalid JSON-response on line 196 in /home/admin/emonx.com/forum/bitly.php , 256) called at [/home/admin/emonx.com/forum/vb/vb.php:284] #2 vB::handleException(BitlyException Object ([] => Invalid JSON-response,[] => ,[] => 0,[] => /home/admin/emonx.com/forum/bitly.php,[] => 196,[] => Array ([0] => Array ([file] => /home/admin/emonx.com/forum/bitly.php,[line] => 382,[function] => doCall,[class] => Bitly,[type] => ->,[args] => Array ([0] => shorten,[1] => Array ([longUrl] => http://www.forums.emonx.com/showthread.php?t=16449,[history] => 1))),[1] => Array ([file] => /home/admin/emonx.com/forum/newthread.php(262) : eval()'d code,[line] => 14,[function] => shorten,[class] => Bitly,[type] => ->,[args] => Array ([0] => http://www.forums.emonx.com/showthread.php?t=16449)),[2] => Array ([file] => /home/admin/emonx.com/forum/newthread.php,[line] => 262,[function] => eval)))) called at [(null):0] |
Quote:
Quote:
|
@ Videx
now this comes /statuses/update.xml Could not authenticate you. Unauthorized on line 229 in /home/admin/emonx.com/forum/twitter.php #0 /home/admin/emonx.com/forum/twitter.php(648): Twitter->doCall('statuses/update...', Array, true) #1 /home/admin/emonx.com/forum/newthread.php(262) : eval()'d code(26): Twitter->updateStatus('tgerrrrrrrrrree...') #2 /home/admin/emonx.com/forum/newthread.php(262): eval() #3 {main} |
It was working fine when i was on Shared hosting now on VPS it doesnt works :(
|
"Could not authenticate you" (with Twitter) is going to be more difficult. Look back through the thread and you'll see others with the problem, and they don't seem to have had a lot of luck solving it.
|
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:
tweeter.php CURL options: PHP Code:
All the best! |
Quote:
Thank you - Thank You - Thank you. |
Quote:
|
If I have an RSS feed I am importing and it is posting a new thread with the RSS feed info in it, for some reason this does not post that thread to twitter. Is there a way to modify this?
|
Installed and operational in 7 minutes following the directions, including remembering my twitter password.
Thank you for doing this for the community. |
Quote:
I would prefer waiting you to build up a mod, That fix all the problems like that. I wasted so many hours to get it work. Your 3.8.X product was great. While the Owner of this Mod is sleeping... |
Quote:
You can try the other tweet mod vBulletin2Twitter , but since it sounds like a server issue I doubt that will work for you either. However, that mod's author charges for support, so if you pay the fee you may be able to talk him into logging into your server and looking around for a solution. You'll have to trust him with your server credentials for that. |
Quote:
Oh sorry man, I thought you made that haha anyways :) sorry |
If I have an RSS feed I am importing and it is posting a new thread with the RSS feed info in it, for some reason this does not post that thread to twitter. Is there a way to modify this?
|
Quote:
|
Hi Guys,
sorry for my bad english. Thx for this hack but i have a Problem: I insert this php code in my Plug in: // The array below are the ids of non-public forums, update these to be your admin forum ids or anything non-public by default $excludedForums = array(0); // If you are having trouble getting bitly URL shortening to work... disable it! $useBitly = false; if (!in_array($foruminfo[forumid], $excludedForums)) { $shortUrl = 'http://www.MeineDomain.de/showthread.php?t='.$newpost[threadid]; if ($useBitly) { // http://classes.verkoyen.eu/bitly require_once 'bitly.php'; $bitly = new Bitly('<bit.ly username>', '<bit.ly API key>'); $shortUrl = $bitly->shorten($shortUrl); } $tweet = ''; if (isset($newpost['prefixid']) && $newpost['prefixid'] != '') { $tweet = $vbphrase['prefix_'.$newpost['prefixid'].'_title_plain'].' '; } $tweet .= $newpost['title'].' '.$shortUrl; // http://classes.verkoyen.eu/twitter/ require_once 'twitter.php'; $twitter = new Twitter('BlaBlaBla','BlaBlaBla'); $twitter->updateStatus($tweet); and the system tell me : Parse error: syntax error, unexpected $end in /var/www/web1/html/newthread.php(262): eval()'d code on line 27 Is the php Code wrong or What?s the problem? |
Quote:
|
I get this error message:
Quote:
|
Seems to work great - installed
|
Quote:
|
Thanks, I set it up and it's working great so far.
But, will this work on a 3.7 forum too? |
Quote:
|
Quote:
|
My server behind an cisco ASA and IPS firewall. So i received an empty call from the twitter. I have to whitelist twitter.com ip address.
|
"empty reply from server on line"
|
WOWOWOWOWOOWOWO It worked for me :D don't know how it worked Hulaaaaaaaay!
|
Parse error: syntax error, unexpected T_VARIABLE, expecting T_FUNCTION in /home/soicey/public_html/bitly.php on line 139
Hm... Guessing I need to enable curl? |
It works for me too. TheLoboLair twitter feed. We run about 100 new threads a day. The guests aka bots and spiders on the site all day is ridiculous. lol
|
Not looked in on this thread recently, anyone manged to sort out the server issue with this error message??
Quote:
|
How do I work with vBulletin?
|
^sorry it only works with phpnuke, since this is a phpnuke forum...
|
rocking!
vb 4.0.2.pl4 is perfect. only issue I had was the need to go into my http://bit.ly/ account and setup the link for twitter. Cheers! |
Polish characters are displaying incorrectly. Any way of solving it? Please take a look: www.twitter.com/dzwiek
I use iso-8859-2 coding |
After several hours of messing around with this i finally got it working.
// If you are having trouble getting bitly URL shortening to work... disable it! basically I got it working by disabling the bitly url. Can I just ask why have bitly url if it works when disabling it? Also after reading through every page of this thread and several people have said you need CURL and JSON installed and enabled for it to work then isn't it better for you to mention that in the opening post? |
does this work with automated posts via an extrernal rss feed?
|
i've done a test post which worked, but my forum has automated threads from an rss feed which dont get posted to twitter despite them still being new threads.
|
Quote:
|
Works Great! Thanks!!
|
Is there anything like this for Facebook?
|
All times are GMT. The time now is 10:50 AM. |
Powered by vBulletin® Version 3.8.12 by vBS
Copyright ©2000 - 2025, vBulletin Solutions Inc.
X vBulletin 3.8.12 by vBS Debug Information | |
---|---|
|
|
![]() |
|
Template Usage:
Phrase Groups Available:
|
Included Files:
Hooks Called:
|