![]() |
Anyone who had issues with Bit.ly ... figure out how to resolve that issue? I want to sue this Mod so bad but my url's are really long without being shortened
|
Quote:
|
I've been really surprised at the number of people posting about issues with Bit.ly. It took me all of five minutes to set up my account with them and get that working. I've had many more issues with the mod itself.
For example, it doesn't check to see if the title of a thread exceeds the 140 character length allowed for a tweet -- this causes an Exception error to be thrown that's not captured and handled anywhere -- which is fine for a programmer ,but doesn't really help an end user when they see a screen dump of gobbledygook in response to submitting a thread with a long title. :/ |
Simple and effective. I had no problems getting it to work right out of the gate, thanks.
|
Quote:
|
Hi,
after posting: Quote:
|
Downloaded, installed & tweeting away.
Thanks :) :D |
Quote:
|
Do I have to enter the sub-forum ID's too or are the main forum ID's enough?
Do category ID's work too? |
Hello,
i got this error: Warnung: curl_setopt_array() [function.curl-setopt-array]: CURLOPT_FOLLOWLOCATION cannot be activated when in safe_mode or an open_basedir is set in [path]/bitly.php (Zeile 141) { "errorCode": 0, "errorMessage": "", "results": { "http://forum.mydomain.de/showthread.php?t=3680": { "hash": "dAunjV", "shortCNAMEUrl": "http://bit.ly/9857Z4", "shortKeywordUrl": "", "shortUrl": "http://bit.ly/9857Z4", "userHash": "9857Z4" } }, "statusCode": "OK" }Invalid JSON-response on line 196 in /var/www/virtual/mydomain.de/forum/htdocs/bitly.php #0 /var/www/virtual/mydomain.de/forum/htdocs/bitly.php(382): Bitly->doCall('shorten', Array) #1 /var/www/virtual/mydomain.de/forum/htdocs/newthread.php(262) : eval()'d code(14): Bitly->shorten('http://forum.em...') #2 /var/www/virtual/mydomain.de/forum/htdocs/newthread.php(262): eval() #3 /var/www/virtual/mydomain.de/forum/htdocs/vbseo.php(1629): require('/var/www/virtua...') #4 {main} Schwerer Fehler: Invalid JSON-response on line 196 in [path]/bitly.php in [path]/vb/vb.php (Zeile 284) #0 vb_error_handler(256, Invalid JSON-response on line 196 in /var/www/virtual/mydomain.de/forum/htdocs/bitly.php , /var/www/virtual/mydomain.de/forum/htdocs/vb/vb.php, 284, Array ([exception] => BitlyException Object ([] => Invalid JSON-response,[] => ,[] => 0,[] => /var/www/virtual/mydomain.de/forum/htdocs/bitly.php,[] => 196,[] => Array ([0] => Array ([file] => /var/www/virtual/mydomain.de/forum/htdocs/bitly.php,[line] => 382,[function] => doCall,[class] => Bitly,[type] => ->,[args] => Array ([0] => shorten,[1] => Array ([longUrl] => http://forum.mydomain.de/showthread.php?t=3680,[history] => 1))),[1] => Array ([file] => /var/www/virtual/mydomain.de/forum/htdocs/newthread.php(262) : eval()'d code,[line] => 14,[function] => shorten,[class] => Bitly,[type] => ->,[args] => Array ([0] => http://forum.mydomain.de/showthread.php?t=3680)),[2] => Array ([file] => /var/www/virtual/mydomain.de/forum/htdocs/newthread.php,[line] => 262,[function] => eval),[3] => Array ([file] => /var/www/virtual/mydomain.de/forum/htdocs/vbseo.php,[line] => 1629,[args] => Array ([0] => /var/www/virtual/mydomain.de/forum/htdocs/newthread.php),[function] => require))),[code] => 256)) called at [(null):0] #1 trigger_error(Invalid JSON-response on line 196 in /var/www/virtual/mydomain.de/forum/htdocs/bitly.php , 256) called at [/var/www/virtual/mydomain.de/forum/htdocs/vb/vb.php:284] #2 vB::handleException(BitlyException Object ([] => Invalid JSON-response,[] => ,[] => 0,[] => /var/www/virtual/mydomain.de/forum/htdocs/bitly.php,[] => 196,[] => Array ([0] => Array ([file] => /var/www/virtual/mydomain.de/forum/htdocs/bitly.php,[line] => 382,[function] => doCall,[class] => Bitly,[type] => ->,[args] => Array ([0] => shorten,[1] => Array ([longUrl] => http://forum.mydomain.de/showthread.php?t=3680,[history] => 1))),[1] => Array ([file] => /var/www/virtual/mydomain.de/forum/htdocs/newthread.php(262) : eval()'d code,[line] => 14,[function] => shorten,[class] => Bitly,[type] => ->,[args] => Array ([0] => http://forum.mydomain.de/showthread.php?t=3680)),[2] => Array ([file] => /var/www/virtual/mydomain.de/forum/htdocs/newthread.php,[line] => 262,[function] => eval),[3] => Array ([file] => /var/www/virtual/mydomain.de/forum/htdocs/vbseo.php,[line] => 1629,[args] => Array ([0] => /var/www/virtual/mydomain.de/forum/htdocs/newthread.php),[function] => require)))) called at [(null):0] Best regards |
Quote:
|
I am missing the response, or the author has not responded.
My board is not a heavy use board so I want to be able to tweet EVERY POST, not just new threads. Can this be done? |
Steeler7, did you check to make sure you included your twitter url in the plugin you created?
|
Quote:
PHP Code:
|
Yours looks identical to mine except for the forum exclusions. I put a space after each comma. Don't know if that would even affect it.
|
Quote:
|
does this need a specific version of php? Im using 5.1.6 and couldn't use the Tweet Poster mod because it required php 5.2.3 or higher.
just curious |
what do I have to insert after
PHP Code:
Best regards, Majora |
Quote:
I don't know. I'm running 5.2.8 |
Quote:
anyone else running php 5.1.6 or lower? I'm talking with my host to upgrade but they said something about conflicts with plesk being an issue (I think they're trying to scare me off from forcing them to do work..lol) |
I got this error message after submitting a thread:
Warning: curl_setopt_array() [function.curl-setopt-array]: CURLOPT_FOLLOWLOCATION cannot be activated when in safe_mode or an open_basedir is set in [path]/bitly.php on line 141 { "errorCode": 0, "errorMessage": "", "results": { "http://www.pro-esports.com/showthread.php?t=22": { "hash": "d6TEBY", "shortCNAMEUrl": "http://bit.ly/cn4qlP", "shortKeywordUrl": "", "shortUrl": "http://bit.ly/cn4qlP", "userHash": "cn4qlP" } }, "statusCode": "OK" }Invalid JSON-response on line 196 in /.../pro-esports.com/forums/bitly.php #0 /.../pro-esports.com/forums/bitly.php(382): Bitly->doCall('shorten', Array) #1 /.../pro-esports.com/forums/newthread.php(262) : eval()'d code(19): Bitly->shorten('http://www.pro-...') #2 /.../pro-esports.com/forums/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 /.../pro-esports.com/forums/bitly.php , /.../pro-esports.com/forums/vb/vb.php, 284, Array ([exception] => BitlyException Object ([] => Invalid JSON-response,[] => ,[] => 0,[] => /.../pro-esports.com/forums/bitly.php,[] => 196,[] => Array ([0] => Array ([file] => /.../pro-esports.com/forums/bitly.php,[line] => 382,[function] => doCall,[class] => Bitly,[type] => ->,[args] => Array ([0] => shorten,[1] => Array ([longUrl] => http://www.pro-esports.com/showthread.php?t=22,[history] => 1))),[1] => Array ([file] => /.../pro-esports.com/forums/newthread.php(262) : eval()'d code,[line] => 19,[function] => shorten,[class] => Bitly,[type] => ->,[args] => Array ([0] => http://www.pro-esports.com/showthread.php?t=22)),[2] => Array ([file] => /.../pro-esports.com/forums/newthread.php,[line] => 262,[function] => eval))),[code] => 256)) #1 trigger_error(Invalid JSON-response on line 196 in /.../pro-esports.com/forums/bitly.php , 256) called at [/.../pro-esports.com/forums/vb/vb.php:284] #2 vB::handleException(BitlyException Object ([] => Invalid JSON-response,[] => ,[] => 0,[] => /.../pro-esports.com/forums/bitly.php,[] => 196,[] => Array ([0] => Array ([file] => /.../pro-esports.com/forums/bitly.php,[line] => 382,[function] => doCall,[class] => Bitly,[type] => ->,[args] => Array ([0] => shorten,[1] => Array ([longUrl] => http://www.pro-esports.com/showthread.php?t=22,[history] => 1))),[1] => Array ([file] => /.../pro-esports.com/forums/newthread.php(262) : eval()'d code,[line] => 19,[function] => shorten,[class] => Bitly,[type] => ->,[args] => Array ([0] => http://www.pro-esports.com/showthread.php?t=22)),[2] => Array ([file] => /.../pro-esports.com/forums/newthread.php,[line] => 262,[function] => eval)))) I got rid of the red code after changing from "true" to "false". The first error message is a problem which you explained in your mod post but I don't know where to add the code from there. It says on line 136 but the code only has about 30 lines. :S |
Ok... I had my host upgrade my PHP. I'm now running 5.2.12 . I have curl, json enabled, I have Mcrypt (which was a requirement for another twitter mod)..
This is what I get now when I post a thread... { "errorCode": 0, "errorMessage": "", "results": { "http://www.pittsburghsportstavern.com/forum/showthread.php?t=3106": { "hash": "ccJT9V", "shortCNAMEUrl": "http://bit.ly/d5LAZT", "shortKeywordUrl": "", "shortUrl": "http://bit.ly/d5LAZT", "userHash": "d5LAZT" } }, "statusCode": "OK" } That code is now on the white screen. Post still goes through on the forum, makes its way to Bit.ly, doesn't get to Twitter |
For some reason I still get this error after adding the code on line 136 in the bitly.php file.
Code:
Warning: curl_setopt_array() [function.curl-setopt-array]: CURLOPT_FOLLOWLOCATION cannot be activated when in safe_mode or an open_basedir is set in [path]/bitly.php on line 141 |
Steelers7 and others- I have deleted this mod and installed a new one that was just released here: https://vborg.vbsupport.ru/showthread.php?t=236278
Much easier to configure and lets you tweet post replies as well. I set it up on my 2 sites with no problems. If you need help, let me know. -Gary |
Is there anyway to make it put some like "New forum thread:" before each twitter post? I find im loosing follows, probably because they think it's spam? Cheers! Otherwise, it's a great mod!
|
Any way to get replies to be tweeted?
|
Tried everything went many times through the thread, everything is enabled from my servers side, kept getting JSON issues and then twitter auth problems!
Uninstalled and total waste of time for me! |
is there anyway of adding a #hashtag prefix so that
Code:
Barnsley FC v Blackpool 27/02/2010 Match Thread - http://bit.ly/bD0SKL #Barnsley Football Club |
I got all working, no errors!
but.. No tweets! So I guess not all working after all! |
Well, I finally got around to hacking the heck out of it and here's my version that uses is.gd instead of bit.ly (which I could never get to work). A shame there isn't some way to test this besides LIVE.
PHP Code:
|
Respect! 5 stars, works just great :)
|
Quote:
|
I'm not a coder, but after hacking away with these two mods I finally got one that works for me. I made no claim to credit for anything, nor am I suggesting anyone should use mine.
Fact is, if you can fix yours I prefer the add-on approach to doing this tedious manual code mangling, so I'll probably try it again. Especially if you add some bells and whistles like forum names and summaries. |
no error.... and no tweet, anywhere (log) i can trouble shoot this ?
take that back, i replied on the forum and got this error: Quote:
i had setup the incorrect Hook Location, fixed that but still get the same error.. |
this thread is no longer active ? :confused:
|
works fine !
thanks you very much! loving this :) |
5 stars...
|
Superb!
Working for me after I double checked my edits in the PHP - top work |
Very easy instructions. I downloaded, installed and configured it in minutes! And then I tested it. Works like a breeze! :D
|
One think I would like to see is this being compatible with RSS Feed threads, which it does not seem to be able to do at the moment
|
All times are GMT. The time now is 08:12 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:
|