View Full Version : New Posting Features - WS vBulletin Tweet Poster
Please click Mark as Installed if you are using this hack.
What Does This Hack Do?Silver
I use v4.1.0 of this hack at Wolfshead Solutions and have had no issues at all.
Depending on the options you select in the AdminCP, you can:
Automatically create a new tweet when you create a new thread only (including hashtags if selected)
Automatically create a new tweet when you post a new reply/quick reply to a thread only
Automatically create a new tweet when you create a new thread and post a new reply/quick reply
These tweets are live updates.... the instant you or your members post a new thread or a new reply/quick reply in a WS vBulletin Tweet Poster enabled forum, a tweet is made at the same time. These tweets will only be posted if they are 140 characters or shorter (this is automatically checked) and the new thread or new reply/quick reply is not sent the moderation queue.... so instead of throwing errors, in these cases this hack will not even attempt to tweet the thread/post.
As of v4.0.003, this hack is very, very loosely based on Buro9's vBulletin To Twitter (https://vborg.vbsupport.ru/showthread.php?t=234288) hack (there is not one line of original untouched code left from his hack in this hack, and his hack is based on Basic authentication). I have totally rewritten his hack to made it into a product to use OAuth authentication to post to Twitter and have added extra functionality, which includes is.gd, TinyURL.com & Metamark as alternative url shortening services, as well as options to tweet replies to threads as well as tweet new threads and to add Hashtags.
What is required before installing this hack?
Your server needs the following options installed on it for this hack to work. This hack will check the requirements for you and will not install this hack if they are not.
cURL with OpenSSL compiled into your php - http://curl.haxx.se/, http://php.net/manual/en/book.curl.php
JSON support compiled into your php - http://www.json.org/, http://php.net/manual/en/book.json.php
Once you have server requisites from above covered, you will then need the following accounts setup before you can install this hack:
You need to have a normal Twitter account details to post to - http://twitter.com
You will need to register a new Twitter Application (while logged with your normal Twitter account) - http://dev.twitter.com/apps/new
You will need the items below for step 4 of the attached install instructions:
Note down the "Consumer Key" and "Consumer Secret" (Under App Details)
Note down the "Access Token" and "Access Token Secret" (under My Access Token on the App details screen)
If you want to use bit.ly url shortening (Optional)
You need to have registered with bit.ly to obtain a username and your API Key - http://bit.ly
Then install this hack by following the "Installation/Upgrade Instructions" attached.
TWITTER DEMO: There is no longer a demo available.
What Do You Get?
The settings in the AdminCP options are:
Turn this hack on or off
Enter your twitter "Consumer Key" and "Consumer Secret"
Enter your twitter "Access Token" and "Access Token Secret"
Select which url shortening service to use, is.gd, TinyURL.com, Metamark, bit.ly or none (default is bit.ly)
Enter your bit.ly username and API key
Option to include all, include selected or exclude selected forums when posting to twitter
Enter which forums to include or exclude when posting to twitter
Select if you want to use your thread prefixes when posting a new thread to twitter
Select if you want to post your new threads to twitter or not
Select if you want to allow user or admincp defined hashtags (or no hashtags at all)
Enter admincp defined hashtags
Select if you want to post your replies/quick replies to twitter or not
There is a link to edit the new reply/quick reply prefix (default is Re:)
Date prefix to add to new reply/quick reply to make it unique to not be detected as a duplicate by twitter
Frequently Asked QuestionsSilver
Question 1:
It doesn't work! Help!!!
Answer:
That does not help others help you. Please explain exactly what the issue is, give as much information as possible and that may aid others in helping you.
Question 2:
I don't know how to setup a Twitter Application! Help!!!
Answer:
Enter the following details when creating your application:
Application Name: I advise your website url (for instance I used "wolfshead-solutions.com")
Application Website: Enter the full url to your site (for instance I used "http://www.wolfshead-solutions.com")
Application Type: Set to "Client"
Default Access type: Set to "Read & Write"
Stay logged into your Twitter account, as the first time you tweet from your forum you will need to authorise the domain.
Question 3:
I think I have set up everything correctly, the thread and/or post is created with no issues, there are no errors, but nothing is posted to twitter. Help !!!
Answer:
On the Details tab of your Twitter Application (at https://dev.twitter.com), check the following:
Under the OAuth settings section, check Access level is set to Read and write not Read-only
Under the Your access token section, check Access level is set to Read and write not Read-only
If either of the above settings is Read-only, then you need to do the following:
Revoke access for the current application on your normal twitter account
Delete your current application
Create a brand new application with exactly the same information as the application you have just deleted.
Under the Settings tab, check the Access level under the Application type
is set to Read and write not Read-only before you create the Access Token
Question 4:
I am using vBulletin 3.8.7 and the user hash tag field is not showing.... what can I do?
Answer:
Follow the instructions in this post.
Question 5:
Can you please add the ability to tweet RSS feeds, CMS articles, Blogs, calendar events etc?
Answer:
This hack tweets live to twitter, and as none of the requests above are guaranteed to be live (ie they can be set to be published later), I will never be adding the any of the above to this hack and that will never change.
Question 6:
Can I use this hack with vBulletin 4.1.4 which has the new CKEditor, and the hashtag field be visible to my members (if selected in the AdminCP options)?
Answer:
Yes, this hack is already compatible. If you select Only User defined Hashtags or Both User and AdminCP defined Hashtags in the AdminCP Options for this hack, the hashtag field will be displayed to your members.
Question 7:
I see "Basic authentication is not supported on line XXX" or /statuses/update.xml Could not authenticate you. Unauthorized on line XXX errors
Answer:
It means you still have either v4.0.001 or v4.0.002 of this hack installed, and the solution is to upgrade to v4.1.0 or above of this hack, which uses OAuth Authentication.
Question 8:
I see "Fatal error: Cannot redeclare class OAuthException in [path]/includes/twitteroauth/OAuth.php on line 8" error
Answer:
Edit the OAuth.php file in the twitteroauth folder. Find all instances of OAuthException and change them to OAuthException_tw. That should fix it up.
Question 9:
I see a "You must be authenticated to access shorten" or INVALID_LOGIN on line xxx in /xxxxx/xxxxx/xxxxx/includes/bitly.php error message.... what do I do?
Answer:
Ensure you have entered your bit.ly username & API key correctly. If that does not fix it, then select is.gd, TinyURL or Metamark in your AdminCP Options instead of bit.ly for url shortening.
Question 10:
I see an "INVALID_JSON" error
Answer:
Select is.gd, TinyURL or Metamark in your AdminCP Options instead of bit.ly for url shortening.
Question 11:
bit.ly does not work (gives error messages), what can I do?
Answer:
Select is.gd, TinyURL or Metamark in your AdminCP Options instead of bit.ly for url shortening.
Question 12:
I see an error that says "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"
Answer:
Looks like that is a safe_mode issue... the below should fix it (but is not guaranteed that it will, but it should). In bitly.php, find:
$options[CURLOPT_FOLLOWLOCATION] = true;
Change it to:
$options[CURLOPT_FOLLOWLOCATION] = false;
$options[CURLOPT_HEADER] = true;
If that does not fix it, then select is.gd, TinyURL or Metamark in your AdminCP Options instead of bit.ly for url shortening.
Question 13:
As I do not have to register with is.gd, how to I view click statistics with the generated link?
Answer:
Simply add a hyphen (dash) to the end of the shortened URL, and instead of being redirected to the original long address automatically, you'll be taken to a preview page telling you where the link goes and gives you the click statistics for the url.
For example: You have been given the shortened link http://is.gd/8HdYu and want to check where it goes. Copy/paste it into your browser's address bar and then add a hyphen, making the link http://is.gd/8HdYu-. Now simply visit that address, and instead of being taken directly to the original URL, you'll be taken to a preview page on the is.gd site which will tell you the link's destination along with the click statistics.
Question 14:
Threads with titles that have special characters in them (such as ? ? ? ? ? ? ? ?) do not tweet, what do I do?
Answer:
Sorry, but it looks like an issue with the Twitter (OAuth) class file by Abraham Williams and not with this hack at all.
I have checked his bug tracker and this issue has been reported twice and has not been fixed yet by the author, please see:
http://github.com/abraham/twitteroauth/issues#issue/18
http://github.com/abraham/twitteroauth/issues#issue/32
You might want to reply to both of the bug reports to see if you can get the author to fix his Twitter class any quicker.
Question 15:
This hack has been working fine then stopped working on Tuesday 11th June 2013 and I did not make any changes, what do I do?
Answer:
Twitter updated their API to version 1.1 on 11/6/2013, so any versions of this hack below v4.1.0 will have stopped working. The solution is to upgrade to v4.1.0 of this hack.
If it still does not work, then you will probably need to do the following, then the hack should start working again within 24 hours:
Revoke access for the current application on your normal twitter account
Delete your current application
Create a brand new application with exactly the same information as the application you have just deleted.
Under the Settings tab, check the Access level under the Application type
is set to Read and write not Read-only before you create the Access Token
vBulletin Version CompatibilitySilver
This hack can be used with vBulletin versions 4.0.0 - 4.2.1.
This has been tested with vBulletin v3.8.x and works fine, it should also work with v3.7.x and earlier versions (but has not been tested).
Hack Support/Feature RequestsSilver
IMPORTANT: This hack is no longer supported, but I have marked it as re-usable code, so it can be developed further (remember to acknowledge me as orignal author of this hack).
Install/Upgrade/Uninstall InstructionsSilver
There are no file or template changes at all and is fully phrased. You just need to upload 5 files (in 2 folders), import 1 product and alter the correct vBulletin Options in the AdminCP, and then it will work from then on.
The readme.txt instructions file is included in attached .zip file.
Version HistorySilver
v4.1.0 - Sunday 30th June 2013 (Final Version Ever)
-- Updated: Installation/Upgrade/Removal Instructions file
-- Updated: OAuth.php & twitteroauth.php files to use the new Twitter API 1.1 (old API 1.0 no longer works)
-- Removed: all references to "account/rate_limit_status", as this has been removed from the Twitter API 1.1
-- Removed: Two plugins to aid in diagnosing problems with this hack (as I no longer support this hack, and have now left the vBulletin community)
v4.0.6 - Saturday 29th January 2011
-- Changed: Hack name
-- Updated: Installation/Upgrade/Removal Instructions file
-- Updated: Screenshots
-- Fixed: New Threads, Replies & Quick Replies in twitter enabled forums are only tweeted when they will not end up on the moderation queue
-- Fixed: Hashtags now work in vBulletin v3.8.x (hack tested and working.... not tested on v3.7.x nor v3.6.x but should also work)
-- Added: Install code to ensure all server requirements are met and all folders and files have been uploaded before the hack will install
-- Added: AdminCP Options to allow for both User & AdminCP defined Hashtags for new threads in twitter enabled forums
-- Added: Two plugins to aid in diagnosing problems with this hack (disabled by default)
v4.0.5 - Saturday 27th November 2010 (first released to Wolfshead Solutions on Wednesday 27th October 2010)
-- Changed: Version number formatting
-- Updated: Installation/Upgrade/Removal Instructions file
-- Updated: Screenshots
-- Added: AdminCP Options to include/exclude forums
-- Added: Hashtags for new threads in twitter enabled forums
-- Added: 2 plugins to cater for new hashtag feature
-- Added: AdminCP Option to also use the Metamark url shortening service
-- Added: Version History file
-- Removed: AdminCP Option for tli.td url shortening service (now requires api key)
v4.0.004 - Saturday 18th September 2010 (first released to Wolfshead Solutions on Wednesday 18th August 2010)
-- Updated: Installation/Upgrade/Removal Instructions file
-- Updated: Screenshots
-- Fixed: Tweets for new replies now correctly use the AdminCP's timezone offset setting along with DST settings for the timestamp
-- Added: AdminCP Options to also use the TinyURL and tli.tl url shortening services
-- Added: Automatic check to see if tweet is longer 140 characters or not (and post tweet if not)
-- Added: Automatic truncate tweet title text in the tweet if the tweet (including the URL) exceeds 140 characters
-- Added: Automatic check to see if number of hourly calls to the Twitter OAuth API has been exceeded or not (and post tweet if not)
-- Added: Ability to use vBulletin "Friendly URLs" (available in vBulletin 4 and later only) or just plain URLs
-- Added: All files needed for this hack in one package (no longer necessary to download other class files separately any more)
v4.0.003 - Friday 2nd July 2010
-- Updated: Installation/Upgrade/Removal Instructions file
-- Updated: Screenshots
-- Updated: 3 plugins to now use OAuth instead of Basic authentication when posting to Twitter
-- Added: AdminCP Option to not use url shortening at all
-- Added: 4 new AdminCP Options for Twitter "Consumer Key", "Consumer Secret", "Access Token" and "Access Token Secret"
-- Removed: 2 AdminCP Options for Twitter "Username" and "Password"
v4.0.002 - Monday 1st March 2010
-- Fixed: When multiple forums selected in AdminCP Options, threads or posts were not twittered at all
v4.0.001 - Friday 19th February 2010
-- Initial vBulletin v4.0.x Release
ThanksSilver
Thanks go out to Buro9 who marked his original hack Re-usable Code. Thanks also go out to Dragonsys for pointing me in the right direction to converting this hack to use OAuth authentication, and also to Videx who bugged me about updating this and I have noticed is doing a lot to support this hack.
Show Your Appreciation Silver
Although not required, if you have enjoyed the benefits of this hack, and would like show your appreciation for my efforts, then please feel free to click on the Support Developer link and donate any amount you feel is appropriate.
DonationsSilver
I would like to thank the following people for their kind donations:
Budabing (https://vborg.vbsupport.ru/member.php?u=479474)
Big-Pete
02-19-2010, 09:13 AM
Very nice thanks!
Jabong82
02-19-2010, 09:30 AM
Thank you for this! This looks so much simpler than the other one!
Jabong82
02-19-2010, 09:32 AM
I have a question though. I don't really get how this mod works.
Say someone doesn't have a twitter account and creates a thread, does anything happen?
Also say someone does have a twitter account, is this now posted on his account? How does it know the right person?
Big-Pete
02-19-2010, 11:02 AM
I have a question though. I don't really get how this mod works.
Say someone doesn't have a twitter account and creates a thread, does anything happen?
Also say someone does have a twitter account, is this now posted on his account? How does it know the right person?
In the Setup (Admincp) you add your (or your sites) twitter account details, then when you create a new thread it sends a tweet to that twitter account..
So if you have a news forum this is ideal as every new thread will be tweeted, which saves time.. :)
I've just set this up to tweet from 3 select forums that only Admins, Editors and Mods use..
MyChemicalSelf
02-19-2010, 11:10 AM
Brilliant modification i will be installing this later!
Hornstar
02-19-2010, 07:27 PM
Thanks! Tagged for when I upgrade.
Jabong82
02-19-2010, 11:13 PM
In the Setup (Admincp) you add your (or your sites) twitter account details, then when you create a new thread it sends a tweet to that twitter account..
So if you have a news forum this is ideal as every new thread will be tweeted, which saves time.. :)
I've just set this up to tweet from 3 select forums that only Admins, Editors and Mods use..
Oh thank you for your explanation. So basically it just tweets to only your twitter account? So basically the only people who will receive the tweet are people who are your contacts on your twitter account?
sqzdog
02-19-2010, 11:41 PM
Jabong82, anybody that is a "follower" on your Twitter account should get the notifications too. I am using the other version, but intend to install this one since I want new threads as well as replies to be tweeted.
GeorgeB85
02-20-2010, 01:35 AM
What if you do not want to use a url shortening service?
kefallon
02-20-2010, 04:58 AM
get the same issue as wit the other mod
statuses/update.xml Could not authenticate you. Unauthorized on line 229 in /var/www/vhosts/ionian-island.co.uk/httpdocs/forums/twitter.php
#0 /var/www/vhosts/ionian-island.co.uk/httpdocs/forums/twitter.php(648): Twitter->doCall('statuses/update...', Array, true)
#1 /var/www/vhosts/ionian-island.co.uk/httpdocs/forums/newthread.php(262) : eval()'d code(26): Twitter->updateStatus('test http://www...')
#2 /var/www/vhosts/ionian-island.co.uk/httpdocs/forums/newthread.php(262): eval()
#3 {main}
Any thoughts??
pete_brady
02-20-2010, 10:32 AM
installed; bitly.php & twitter.php had to be modified for openbasedir & safemode as in the FAQ above. disabled bit.ly based on JSON error.
new threads create a twitter post (http://twitter.com/thumped/status/9381520916) , but i get the following error:
invalid body on line 664 in /home/thumped/public_html/bbs/includes/twitter.php
#0 /home/thumped/public_html/bbs/newthread.php(262) : eval()'d code(33): Twitter->updateStatus('test post III -...')
#1 /home/thumped/public_html/bbs/newthread.php(262): eval()
#2 {main}
Fatal error: invalid body on line 664 in [path]/includes/twitter.php in [path]/vb/vb.php on line 284
#0 vb_error_handler(256, invalid body on line 664 in /home/thumped/public_html/bbs/includes/twitter.php , /home/thumped/public_html/bbs/vb/vb.php, 284, Array ([exception] => TwitterException Object ([] => Array ([100] => Continue,[101] => Switching Protocols,[200] => OK,[201] => Created,[202] => Accepted,[203] => Non-Authoritative Information,[204] => No Content,[205] => Reset Content,[206] => Partial Content,[300] => Multiple Choices,[301] => Status code is received in response to a request other than GET or HEAD, the user agent MUST NOT automatically redirect the request unless it can be confirmed by the user, since this might change the conditions under which the request was issued.,[302] => Status code is received in response to a request other than GET or HEAD, the user agent MUST NOT automatically redirect the request unless it can be confirmed by the user, since this might change the conditions under which the request was issued.,[303] => See Other,[304] => Not Modified,[305] => Use Proxy,[306] => (Unused),[307] => Temporary Redirect,[400] => Bad Request,[401] => Unauthorized,[402] => Payment Required,[403] => Forbidden,[404] => Not Found,[405] => Method Not Allowed,[406] => Not Acceptable,[407] => Proxy Authentication Required,[408] => Request Timeout,[409] => Conflict,[411] => Length Required,[412] => Precondition Failed,[413] => Request Entity Too Large,[414] => Request-URI Too Long,[415] => Unsupported Media Type,[416] => Requested Range Not Satisfiable,[417] => Expectation Failed,[500] => Internal Server Error,[501] => Not Implemented,[502] => Bad Gateway,[503] => Service Unavailable,[504] => Gateway Timeout,[505] => HTTP Version Not Supported),[] => invalid body,[] => ,[] => 0,[] => /home/thumped/public_html/bbs/includes/twitter.php,[] => 664,[] => Array ([0] => Array ([file] => /home/thumped/public_html/bbs/newthread.php(262) : eval()'d code,[line] => 33,[function] => updateStatus,[class] => Twitter,[type] => ->,[args] => Array ([0] => test post III - http://is.gd/8N3rA)),[1] => Array ([file] => /home/thumped/public_html/bbs/newthread.php,[line] => 262,[function] => eval))),[code] => 256)) #1 trigger_error(invalid body on line 664 in /home/thumped/public_html/bbs/includes/twitter.php , 256) called at [/home/thumped/public_html/bbs/vb/vb.php:284] #2 vB::handleException(TwitterException Object ([] => Array ([100] => Continue,[101] => Switching Protocols,[200] => OK,[201] => Created,[202] => Accepted,[203] => Non-Authoritative Information,[204] => No Content,[205] => Reset Content,[206] => Partial Content,[300] => Multiple Choices,[301] => Status code is received in response to a request other than GET or HEAD, the user agent MUST NOT automatically redirect the request unless it can be confirmed by the user, since this might change the conditions under which the request was issued.,[302] => Status code is received in response to a request other than GET or HEAD, the user agent MUST NOT automatically redirect the request unless it can be confirmed by the user, since this might change the conditions under which the request was issued.,[303] => See Other,[304] => Not Modified,[305] => Use Proxy,[306] => (Unused),[307] => Temporary Redirect,[400] => Bad Request,[401] => Unauthorized,[402] => Payment Required,[403] => Forbidden,[404] => Not Found,[405] => Method Not Allowed,[406] => Not Acceptable,[407] => Proxy Authentication Required,[408] => Request Timeout,[409] => Conflict,[411] => Length Required,[412] => Precondition Failed,[413] => Request Entity Too Large,[414] => Request-URI Too Long,[415] => Unsupported Media Type,[416] => Requested Range Not Satisfiable,[417] => Expectation Failed,[500] => Internal Server Error,[501] => Not Implemented,[502] => Bad Gateway,[503] => Service Unavailable,[504] => Gateway Timeout,[505] => HTTP Version Not Supported),[] => invalid body,[] => ,[] => 0,[] => /home/thumped/public_html/bbs/includes/twitter.php,[] => 664,[] => Array ([0] => Array ([file] => /home/thumped/public_html/bbs/newthread.php(262) : eval()'d code,[line] => 33,[function] => updateStatus,[class] => Twitter,[type] => ->,[args] => Array ([0] => test post III - http://is.gd/8N3rA)),[1] => Array ([file] => /home/thumped/public_html/bbs/newthread.php,[line] => 262,[function] => eval))))
Big-Pete
02-20-2010, 10:52 AM
I got a similar error so uninstalled for now..
Alibass
02-21-2010, 12:11 AM
Mod working as it should when replying to thread, but does not work when you create a thread.
Anyone else having this issue?
Videx
02-21-2010, 01:02 AM
Mod working as it should when replying to thread, but does not work when you create a thread.
Anyone else having this issue?Working fine here in 402. I haven't tried replys, but it's working good with is.gd and new threads.
L-Mane
02-21-2010, 01:46 AM
Is there anyway to put for example "Forum Name: Thread Title" ????
Alibass
02-21-2010, 02:51 AM
Working fine here in 402. I haven't tried replys, but it's working good with is.gd and new threads.
Running 4.0.2 here also. I have my settings at bit.ly url shortening and my bitly user name and api code is correct. Both twitter and bitly php files are in /includes folder per instructions. I think mod has a bug...
Warning: require_once(bitly.php) [function.require-once (http://www.bigrcplanes.com/forum/function.require-once)]: failed to open stream: No such file or directory in [path]/newthread.php(262) : eval()'d code on line 12
Fatal error: require_once() [function.require (http://www.bigrcplanes.com/forum/function.require)]: Failed opening required 'bitly.php' (include_path='.:/usr/lib/php:/usr/local/lib/php') in /home/xxxxxxxxxx/public_html/forum/newthread.php(262) : eval()'d code on line 12
Alibass
02-21-2010, 03:21 AM
Problem fixed
JHUMON
02-21-2010, 05:10 AM
thanks its work nice for me.
Doesnt works here either, both is.me and bit.ly
ALBCODERS
02-21-2010, 07:12 PM
After Posting
Warning: require_once([path]/includes/twitter.php) [function.require-once]: failed to open stream: No such file or directory in [path]/newthread.php(262) : eval()'d code on line 31
Fatal error: require_once() [function.require]: Failed opening required '/home2/muhabetl/public_html/albcoders/includes/twitter.php' (include_path='.:/usr/lib/php:/usr/local/lib/php') in /home2/muhabetl/public_html/albcoders/newthread.php(262) : eval()'d code on line 31
get the same issue as wit the other mod
statuses/update.xml Could not authenticate you. Unauthorized on line 229 in /var/www/vhosts/ionian-island.co.uk/httpdocs/forums/twitter.php
#0 /var/www/vhosts/ionian-island.co.uk/httpdocs/forums/twitter.php(648): Twitter->doCall('statuses/update...', Array, true)
#1 /var/www/vhosts/ionian-island.co.uk/httpdocs/forums/newthread.php(262) : eval()'d code(26): Twitter->updateStatus('test http://www...')
#2 /var/www/vhosts/ionian-island.co.uk/httpdocs/forums/newthread.php(262): eval()
#3 {main}
Any thoughts??
installed; bitly.php & twitter.php had to be modified for openbasedir & safemode as in the FAQ above. disabled bit.ly based on JSON error.
new threads create a twitter post (http://twitter.com/thumped/status/9381520916) , but i get the following error:
Doesnt works here either, both is.me and bit.ly
After Posting
Warning: require_once([path]/includes/twitter.php) [function.require-once]: failed to open stream: No such file or directory in [path]/newthread.php(262) : eval()'d code on line 31
Fatal error: require_once() [function.require]: Failed opening required '/home2/muhabetl/public_html/albcoders/includes/twitter.php' (include_path='.:/usr/lib/php:/usr/local/lib/php') in /home2/muhabetl/public_html/albcoders/newthread.php(262) : eval()'d code on line 31
I will not be providing any support @ vbulletin.org at all, please read the first post, which the below is pasted from:
Hack Support/Feature RequestsSilver
All support/feature requests for this free hack will be provided at Wolfshead Solutions (http://www.wolfshead-solutions.com) via an annual support subscription (for a small fee).
I will not be providing any support here at all, and all requests for support not posted at Wolfshead Solutions by vBulletin.org Hacks Support subscribers will just be ignored.
For the reason why I am no longer able to provide support here, please see here.
pete_brady
02-23-2010, 09:55 AM
i thought you were going to ignore requests here?
;)
Stryker412
02-23-2010, 12:49 PM
When I go to post a new thread, I get nothing but a white screen. No error at all. Anyone else get this?
It appears the thread was posted but bit.ly screwed up the redirect page. I switched to is.gd and it now allows me to post but nothing is sent to my twitter.
masons
02-23-2010, 12:58 PM
I keep getting json errors, but I do have it compiled! Also curl is working, username and API key correct, twitter account + password correct.
I do have vbseo
TonicWater
02-23-2010, 05:00 PM
would be cool if you can put the cms rss feed into this app so that cms articles can automatical post to twitter
Videx
02-25-2010, 12:35 AM
There is an error in the "vBulletin2Twitter Enabled Forums" option. It only works for a single digit, e.g. 0 works, 10 works, but "10,22" doesn't post any tweets, either in forum 10 or forum 22.
Hateman
02-27-2010, 06:25 AM
Yes. I have the same problem.
When I go to post a new thread, I get nothing but a white screen. No error at all. Anyone else get this?
It appears the thread was posted but bit.ly screwed up the redirect page. I switched to is.gd and it now allows me to post but nothing is sent to my twitter.
There is an error in the "vBulletin2Twitter Enabled Forums" option. It only works for a single digit, e.g. 0 works, 10 works, but "10,22" doesn't post any tweets, either in forum 10 or forum 22.
Yes. I have the same problem.
Doesnt works here either, both is.me and bit.ly
Hi all,
This hack has now been updated this hack to v4.0.002, and is now available to all vBulletin.org Hacks Support subscribers over at Wolfshead Solutions.
This new version fixes the bug that when including multiple forums that are allowed to tweet in the AdminCP Options, no tweets are made in any of the included forums at all. Tweets are now made from all forums indicated in the AdminCP Options.
If there are no issues then I will release this update to vBulletin.org on Monday 8th March 2010.
Regards,
Mosh Shigdar, Wolfshead Solutions.
CEO254
03-03-2010, 07:55 AM
So much better than the other mod
Thank You!!!
Update: v4.0.002
-- Fixed - When multiple forums selected in AdminCP Options, threads or posts were not twittered at all
this one works off our admin setting were forum admin I sets up a dedicated forums tweeter accounts and then when anyone post the post goes to the dedicated tweeter, dose this also work off blogs and cms ?
Im also looking for a option were the individual user can set his/her tweeter account into their profile and so each of their post will be delivered to their tweeter account?
zeroality
03-08-2010, 06:59 PM
Would like to use this without the URL shortening.
Edit: Figured it out, simply change the $shortURL so that it equals $baseURL in all instances in Plugin Manager.
Great mod, thanks.
boromir86
03-09-2010, 07:34 AM
@zeroality: can you please be more specific? where and what needs to be changed to use this mod without url shortening...?!
The Ottoman
03-10-2010, 07:23 PM
Oh thank god... this is so much better especially since the other hack is failing now.
zeroality
03-11-2010, 03:11 AM
@zeroality: can you please be more specific? where and what needs to be changed to use this mod without url shortening...?!
I changed all instances in the three plugins. I'm not sure if it was present in all three though. Look in Plugin Manager under Product : vBulletin2Twitter. Be sure not to mess anything up though as it may break the product.
What if you do not want to use a url shortening service?
Would like to use this without the URL shortening.
Edit: Figured it out, simply change the $shortURL so that it equals $baseURL in all instances in Plugin Manager.
Great mod, thanks.
@zeroality: can you please be more specific? where and what needs to be changed to use this mod without url shortening...?!
This will be included in the next version, there is no ETA for when that will happen yet, but it should be before the end of the month.
zeroality
03-12-2010, 09:18 PM
Does this have any problems with long thread titles? My limit is set to 85 characters, and I just posted a pretty long one then got an error and it didn't tweet the thread but still posted the thread. I didn't happen to catch the error message, I didn't think to.
redhawk89
03-13-2010, 06:00 PM
looks like having a comma in the thread title does this
Internal Server Error on line 229 in /home/saskforu/public_html/includes/twitter.php
#0 /home/saskforu/public_html/includes/twitter.php(648): Twitter->doCall('statuses/update...', Array, true)
#1 /home/saskforu/public_html/newthread.php(262) : eval()'d code(33): Twitter->updateStatus('Men are from Ma...')
#2 /home/saskforu/public_html/newthread.php(262): eval()
#3 /home/saskforu/public_html/vbseo.php(1629): require('/home/saskforu/...')
#4 {main}
Warning: Invalid error type specified in [path]/vb/vb.php on line 284
CEO254
03-13-2010, 08:10 PM
Is there any way I can add "#Example" to the tweets?
Brandon Sheley
03-13-2010, 08:14 PM
nice idea, better then the usually "it could be done with twitterfeed" type mods.
I may have to check this one out when we go live. :up:
as usual :( same problem with me. I have nothing to do except placing my hand on head
{ "errorCode": 0, "errorMessage": "", "results": { "http://forums.emonx.com/showthread.php?t=16473": { "hash": "8XhqxX", "shortCNAMEUrl": "http://bit.ly/aeY5YX", "shortKeywordUrl": "", "shortUrl": "http://bit.ly/aeY5YX", "userHash": "aeY5YX" } }, "statusCode": "OK" }Invalid JSON-response on line 199 in /home/admin/emonx.com/forum/includes/bitly.php
#0 /home/admin/emonx.com/forum/includes/bitly.php(383): Bitly->doCall('shorten', Array)
#1 /home/admin/emonx.com/forum/newthread.php(262) : eval()'d code(13): Bitly->shorten('http://forums.e...')
#2 /home/admin/emonx.com/forum/newthread.php(262): eval()
#3 {main}
Fatal error: Invalid JSON-response on line 199 in [path]/includes/bitly.php in [path]/vb/vb.php on line 284
#0 vb_error_handler(256, Invalid JSON-response on line 199 in /home/admin/emonx.com/forum/includes/bitly.php , /home/admin/emonx.com/forum/vb/vb.php, 284, Array ([exception] => BitlyException Object ([] => Invalid JSON-response,[] => ,[] => 0,[] => /home/admin/emonx.com/forum/includes/bitly.php,[] => 199,[] => Array ([0] => Array ([file] => /home/admin/emonx.com/forum/includes/bitly.php,[line] => 383,[function] => doCall,[class] => Bitly,[type] => ->,[args] => Array ([0] => shorten,[1] => Array ([longUrl] => http://forums.emonx.com/showthread.php?t=16473))),[1] => Array ([file] => /home/admin/emonx.com/forum/newthread.php(262) : eval()'d code,[line] => 13,[function] => shorten,[class] => Bitly,[type] => ->,[args] => Array ([0] => http://forums.emonx.com/showthread.php?t=16473)),[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 199 in /home/admin/emonx.com/forum/includes/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/includes/bitly.php,[] => 199,[] => Array ([0] => Array ([file] => /home/admin/emonx.com/forum/includes/bitly.php,[line] => 383,[function] => doCall,[class] => Bitly,[type] => ->,[args] => Array ([0] => shorten,[1] => Array ([longUrl] => http://forums.emonx.com/showthread.php?t=16473))),[1] => Array ([file] => /home/admin/emonx.com/forum/newthread.php(262) : eval()'d code,[line] => 13,[function] => shorten,[class] => Bitly,[type] => ->,[args] => Array ([0] => http://forums.emonx.com/showthread.php?t=16473)),[2] => Array ([file] => /home/admin/emonx.com/forum/newthread.php,[line] => 262,[function] => eval)))) called at [(null):0]
ismael33
03-19-2010, 10:04 AM
i've a problem:
when i post a title like this: "juan ganó la partida", the tweet is: "juan ganó partida"
another example: "¿Qué verdad esconde", the tweet is: "¿Quéerdad esconde"
any idea?
SpaceStar
03-19-2010, 11:17 AM
Worked without any problem - thanku
SpaceStar
03-19-2010, 07:48 PM
User is over daily status update limit. on line 204 in /xxx/xxx/includes/twitter.php
#0 /xxx/xxx/includes/twitter.php(648): Twitter->doCall('statuses/update...', Array, true)
#1 /xxx/xxx/includes/newreply.php(742) : eval()'d code(29): Twitter->updateStatus('Re: Mithai Ya Z...')
#2 /xxx/xxx/includes/newreply.php(742): eval()
#3 {main}
Fatal error: User is over daily status update limit. on line 204 in [path]/includes/twitter.php in [path]/vb/vb.php on line 284
Some of my users arey getting this error, how to eliminate it?
as usual :( same problem with me. I have nothing to do except placing my hand on head
{ "errorCode": 0, "errorMessage": "", "results": { "http://forums.emonx.com/showthread.php?t=16473": { "hash": "8XhqxX", "shortCNAMEUrl": "http://bit.ly/aeY5YX", "shortKeywordUrl": "", "shortUrl": "http://bit.ly/aeY5YX", "userHash": "aeY5YX" } }, "statusCode": "OK" }Invalid JSON-response on line 199 in /home/admin/emonx.com/forum/includes/bitly.php
#0 /home/admin/emonx.com/forum/includes/bitly.php(383): Bitly->doCall('shorten', Array)
#1 /home/admin/emonx.com/forum/newthread.php(262) : eval()'d code(13): Bitly->shorten('http://forums.e...')
#2 /home/admin/emonx.com/forum/newthread.php(262): eval()
#3 {main}
Fatal error: Invalid JSON-response on line 199 in [path]/includes/bitly.php in [path]/vb/vb.php on line 284
#0 vb_error_handler(256, Invalid JSON-response on line 199 in /home/admin/emonx.com/forum/includes/bitly.php , /home/admin/emonx.com/forum/vb/vb.php, 284, Array ([exception] => BitlyException Object ([] => Invalid JSON-response,[] => ,[] => 0,[] => /home/admin/emonx.com/forum/includes/bitly.php,[] => 199,[] => Array ([0] => Array ([file] => /home/admin/emonx.com/forum/includes/bitly.php,[line] => 383,[function] => doCall,[class] => Bitly,[type] => ->,[args] => Array ([0] => shorten,[1] => Array ([longUrl] => http://forums.emonx.com/showthread.php?t=16473))),[1] => Array ([file] => /home/admin/emonx.com/forum/newthread.php(262) : eval()'d code,[line] => 13,[function] => shorten,[class] => Bitly,[type] => ->,[args] => Array ([0] => http://forums.emonx.com/showthread.php?t=16473)),[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 199 in /home/admin/emonx.com/forum/includes/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/includes/bitly.php,[] => 199,[] => Array ([0] => Array ([file] => /home/admin/emonx.com/forum/includes/bitly.php,[line] => 383,[function] => doCall,[class] => Bitly,[type] => ->,[args] => Array ([0] => shorten,[1] => Array ([longUrl] => http://forums.emonx.com/showthread.php?t=16473))),[1] => Array ([file] => /home/admin/emonx.com/forum/newthread.php(262) : eval()'d code,[line] => 13,[function] => shorten,[class] => Bitly,[type] => ->,[args] => Array ([0] => http://forums.emonx.com/showthread.php?t=16473)),[2] => Array ([file] => /home/admin/emonx.com/forum/newthread.php,[line] => 262,[function] => eval)))) called at [(null):0]
The answer is already part of the FAQ in the first post.
User is over daily status update limit. on line 204 in /xxx/xxx/includes/twitter.php
#0 /xxx/xxx/includes/twitter.php(648): Twitter->doCall('statuses/update...', Array, true)
#1 /xxx/xxx/includes/newreply.php(742) : eval()'d code(29): Twitter->updateStatus('Re: Mithai Ya Z...')
#2 /xxx/xxx/includes/newreply.php(742): eval()
#3 {main}
Fatal error: User is over daily status update limit. on line 204 in [path]/includes/twitter.php in [path]/vb/vb.php on line 284
Some of my users arey getting this error, how to eliminate it?
I have just added the answer to the FAQ in the first post.
bigcurt
03-23-2010, 12:10 AM
No way this works with 3.8, right? haha
No way this works with 3.8, right? haha
As noted in the first post it should work, as there is no specific vBulletin 4.0.x code in this hack. I have not tested it, but do not see why it should not work.
All I can suggest is give it go and see.
it worked on the vb4, my server behide asa and ips firewall so i received an empty call ( empty reply from server on line). I added twitter ip to whitelist and problem solved
milaszewski
03-29-2010, 02:02 PM
Polish characters are displaying incorrectly. Any way of changing it? Please take a look: www.twitter.com/dzwiek
delmarva
03-30-2010, 12:03 AM
Could not authenticate you. /statuses/update.xml Unauthorized on line 229 in /var/www/vhosts/mysite.com/httpdocs/forum/includes/twitter.php
#0 /var/www/vhosts/mysite.com/httpdocs/forum/includes/twitter.php(648): Twitter->doCall('statuses/update...', Array, true)
#1 /var/www/vhosts/mysite.com/httpdocs/forum/newthread.php(262) : eval()'d code(33): Twitter->updateStatus('Tweet 4 - http:...')
#2 /var/www/vhosts/mysite.com/httpdocs/forum/newthread.php(262): eval()
#3 /var/www/vhosts/mysite.com/httpdocs/forum/vbseo.php(1629): require('/var/www/vhosts...')
#4 {main}
Same problem with the previous mod... Jeez
aspen1018
04-01-2010, 05:52 PM
fantastic mod
works great
jaybolt
04-03-2010, 03:06 PM
Thanks Mosh - always a pleasure to see you active on here mate. Installed and works perfectly :)
Thanks Mosh - always a pleasure to see you active on here mate. Installed and works perfectly :)
Hey Jay,
Thanks for the compliments :)
Speak to you soon mate.
Mosh.
si_reading
04-04-2010, 01:05 PM
Great little hack thanks got it working already!
delmarva
04-04-2010, 01:56 PM
Could not authenticate you. /statuses/update.xml Unauthorized on line 229 in /var/www/vhosts/mysite.com/httpdocs/forum/includes/twitter.php
#0 /var/www/vhosts/mysite.com/httpdocs/forum/includes/twitter.php(648): Twitter->doCall('statuses/update...', Array, true)
#1 /var/www/vhosts/mysite.com/httpdocs/forum/newthread.php(262) : eval()'d code(33): Twitter->updateStatus('Tweet 4 - http:...')
#2 /var/www/vhosts/mysite.com/httpdocs/forum/newthread.php(262): eval()
#3 /var/www/vhosts/mysite.com/httpdocs/forum/vbseo.php(1629): require('/var/www/vhosts...')
#4 {main}
Any update on this? Thanks
Uasuforos
04-08-2010, 09:01 PM
Warning: require_once([path]/includes/bitly.php) [function.require-once]: failed to open stream: No such file or directory in [path]/newthread.php(262) : eval()'d code on line 11
Mastergumble
04-12-2010, 10:03 PM
Polish characters are displaying incorrectly. Any way of changing it? Please take a look: www.twitter.com/dzwiek
Same problem, all the rest is working nice and with vBSEO installed :)
Not sure the problems with special characters, if this can be fized would be awesome indeed.
Great Mod!!!
JHUMON
04-14-2010, 11:26 AM
I got the following error
Could not authenticate you. on line 204 in /home/jhumon/public_html/includes/twitter.php
#0 /home/jhumon/public_html/includes/twitter.php(648): Twitter->doCall('statuses/update...', Array, true)
#1 /home/jhumon/public_html/newthread.php(273) : eval()'d code(33): Twitter->updateStatus('test thread - h...')
#2 /home/jhumon/public_html/newthread.php(273): eval()
#3 {main}
Fatal error: Could not authenticate you. on line 204 in [path]/includes/twitter.php in [path]/vb/vb.php on line 287
#0 vb_error_handler(256, Could not authenticate you. on line 204 in /home/jhumon/public_html/includes/twitter.php , /home/jhumon/public_html/vb/vb.php, 287, Array ([exception] => TwitterException Object ([] => Array ([100] => Continue,[101] => Switching Protocols,[200] => OK,[201] => Created,[202] => Accepted,[203] => Non-Authoritative Information,[204] => No Content,[205] => Reset Content,[206] => Partial Content,[300] => Multiple Choices,[301] => Status code is received in response to a request other than GET or HEAD, the user agent MUST NOT automatically redirect the request unless it can be confirmed by the user, since this might change the conditions under which the request was issued.,[302] => Status code is received in response to a request other than GET or HEAD, the user agent MUST NOT automatically redirect the request unless it can be confirmed by the user, since this might change the conditions under which the request was issued.,[303] => See Other,[304] => Not Modified,[305] => Use Proxy,[306] => (Unused),[307] => Temporary Redirect,[400] => Bad Request,[401] => Unauthorized,[402] => Payment Required,[403] => Forbidden,[404] => Not Found,[405] => Method Not Allowed,[406] => Not Acceptable,[407] => Proxy Authentication Required,[408] => Request Timeout,[409] => Conflict,[411] => Length Required,[412] => Precondition Failed,[413] => Request Entity Too Large,[414] => Request-URI Too Long,[415] => Unsupported Media Type,[416] => Requested Range Not Satisfiable,[417] => Expectation Failed,[500] => Internal Server Error,[501] => Not Implemented,[502] => Bad Gateway,[503] => Service Unavailable,[504] => Gateway Timeout,[505] => HTTP Version Not Supported),[] => Could not authenticate you.,[] => ,[] => 0,[] => /home/jhumon/public_html/includes/twitter.php,[] => 204,[] => Array ([0] => Array ([file] => /home/jhumon/public_html/includes/twitter.php,[line] => 648,[function] => doCall,[class] => Twitter,[type] => ->,[args] => Array ([0] => statuses/update.xml,[1] => Array ([status] => test thread - http://bit.ly/9o8kcK),[2] => 1)),[1] => Array ([file] => /home/jhumon/public_html/newthread.php(273) : eval()'d code,[line] => 33,[function] => updateStatus,[class] => Twitter,[type] => ->,[args] => Array ([0] => test thread - http://bit.ly/9o8kcK)),[2] => Array ([file] => /home/jhumon/public_html/newthread.php,[line] => 273,[function] => eval))),[code] => 256)) called at [(null):0] #1 trigger_error(Could not authenticate you. on line 204 in /home/jhumon/public_html/includes/twitter.php , 256) called at [/home/jhumon/public_html/vb/vb.php:287] #2 vB::handleException(TwitterException Object ([] => Array ([100] => Continue,[101] => Switching Protocols,[200] => OK,[201] => Created,[202] => Accepted,[203] => Non-Authoritative Information,[204] => No Content,[205] => Reset Content,[206] => Partial Content,[300] => Multiple Choices,[301] => Status code is received in response to a request other than GET or HEAD, the user agent MUST NOT automatically redirect the request unless it can be confirmed by the user, since this might change the conditions under which the request was issued.,[302] => Status code is received in response to a request other than GET or HEAD, the user agent MUST NOT automatically redirect the request unless it can be confirmed by the user, since this might change the conditions under which the request was issued.,[303] => See Other,[304] => Not Modified,[305] => Use Proxy,[306] => (Unused),[307] => Temporary Redirect,[400] => Bad Request,[401] => Unauthorized,[402] => Payment Required,[403] => Forbidden,[404] => Not Found,[405] => Method Not Allowed,[406] => Not Acceptable,[407] => Proxy Authentication Required,[408] => Request Timeout,[409] => Conflict,[411] => Length Required,[412] => Precondition Failed,[413] => Request Entity Too Large,[414] => Request-URI Too Long,[415] => Unsupported Media Type,[416] => Requested Range Not Satisfiable,[417] => Expectation Failed,[500] => Internal Server Error,[501] => Not Implemented,[502] => Bad Gateway,[503] => Service Unavailable,[504] => Gateway Timeout,[505] => HTTP Version Not Supported),[] => Could not authenticate you.,[] => ,[] => 0,[] => /home/jhumon/public_html/includes/twitter.php,[] => 204,[] => Array ([0] => Array ([file] => /home/jhumon/public_html/includes/twitter.php,[line] => 648,[function] => doCall,[class] => Twitter,[type] => ->,[args] => Array ([0] => statuses/update.xml,[1] => Array ([status] => test thread - http://bit.ly/9o8kcK),[2] => 1)),[1] => Array ([file] => /home/jhumon/public_html/newthread.php(273) : eval()'d code,[line] => 33,[function] => updateStatus,[class] => Twitter,[type] => ->,[args] => Array ([0] => test thread - http://bit.ly/9o8kcK)),[2] => Array ([file] => /home/jhumon/public_html/newthread.php,[line] => 273,[function] => eval)))) called at [(null):0]
zelnik
04-14-2010, 04:07 PM
Hi guys,
Installed this and if I used bit.ly it refuses to post a url to twitter and displays "- Array" instead.
is.gd works fine but I would prefer to use bit.ly as I find it more reliable.
My login and API are correctly entered.
vB4.0.3
zelnik
04-14-2010, 05:54 PM
argh! just like the other automatic poster for vb4.0 this doesn't post RSS feeds to twitter :(
I would not mind making a financial contribution if you could fix bit.ly and include rss threads to be posted on twitter?
dbigras
04-19-2010, 04:20 PM
I have a problem. When sending the thread title to Twitter, if there's a french character in the tittle, it cuts the next two characters.
So, for example, Éditeur (which means Editor in french), it would send Éteur (cutting di) from the title.
What's the fix?
Xeon3D
04-20-2010, 04:12 PM
Installed, working perfectly and nominated! :) (using vB 4.0.3)
i've a problem:
when i post a title like this: "juan gan? la partida", the tweet is: "juan gan? partida"
another example: "?Qu? verdad esconde", the tweet is: "?Qu?erdad esconde"
any idea?
Polish characters are displaying incorrectly. Any way of changing it? Please take a look: www.twitter.com/dzwiek
I have a problem. When sending the thread title to Twitter, if there's a french character in the tittle, it cuts the next two characters.
So, for example, ?diteur (which means Editor in french), it would send ?teur (cutting di) from the title.
What's the fix?
Thanks to a lot of help with testing and research from Miguel Dias, one of our vBulletin.org Hack subscribers at Wolfshead Solutions (Mastergumble here at vBulletin.org), we have come up with a solution, which has been added to the FAQ in the first post.
Bob_R
05-03-2010, 11:58 AM
Thanks. :)
your24hourstore
05-03-2010, 12:08 PM
not sure if short URLs are actually better for SEO, I think just blasting the whole URL and no comment is actually better for seo, who can say anything in 140 characters anyway
Can someone come up with a hack that doesnt use bitly. Try this, post tweet useing that hack.
then manually post anouther link without shorting it and you will see twice as many spiders crawl it
Bob_R
05-03-2010, 01:05 PM
Is this a server issue or this hack:
/statuses/update.xml Could not authenticate you. Unauthorized on line 229 in /home/xxxxxxxx/public_html/talkclassicrock.com/forums/includes/twitter.php
#0 /home/xxxxxxxx/public_html/talkclassicrock.com/forums/includes/twitter.php(648): Twitter->doCall('statuses/update...', Array, true)
#1 /home/xxxxxxxx/public_html/talkclassicrock.com/forums/newthread.php(273) : eval()'d code(33): Twitter->updateStatus('Test - http://i...')
#2 /home/xxxxxxxx/public_html/talkclassicrock.com/forums/newthread.php(273): eval()
#3 /home/xxxxxxxx/public_html/talkclassicrock.com/forums/vbseo.php(1382): require('/home/xxxxxxxx/...')
#4 {main}
Bob_R
05-03-2010, 04:04 PM
I believe it's a server issue. Because I just switched webhosts last week. Anyone else use URLJet?
Bob_R
05-03-2010, 10:58 PM
Actually I've been told that it's part of the ajax response and to consult the mod author.
I mean is there an answer in our future?
I know he wants to get paid and all but this one was submitted for free originally. And, actually don't make a mod available if there are still bugs.
Thirdly, I'm a hell of a guy and I'd appreciate a fix and I'll never ask anything of this mod and author again.
Thank you for your attention to this matter.
Mastergumble
05-03-2010, 11:59 PM
Did you change to is.gd?
Actually I've been told that it's part of the ajax response and to consult the mod author.
I mean is there an answer in our future?
I know he wants to get paid and all but this one was submitted for free originally. And, actually don't make a mod available if there are still bugs.
Thirdly, I'm a hell of a guy and I'd appreciate a fix and I'll never ask anything of this mod and author again.
Thank you for your attention to this matter.
I have to put food on the table, which is why support is not free - read the first post.
The hack is available freely and I am not charging for the hack itself, only support which is my time and that is not free. I am not required to provide support for this hack (or any of my hacks for that matter), and have indicated this hack is Not Supported.
If it an AJAX response issue as you say, then it is likely to do with the twitter.php and/or bitly.php API files which I am not the author of. You will need to contact the author of those API files for a resolution as it has nothing what so ever to do with me, or like Mastergumble said, you can try using is.gd instead.
Bob_R
05-04-2010, 02:15 AM
I am using is.gd
I'll (try) and work it out.
Bob_R
05-04-2010, 05:47 PM
The rest of today and then this gets uninstalled.
Bob_R
05-07-2010, 02:11 AM
Don't understand how many could get it to work when you need to instantiate the Twitter class with your username and password.
And no one has mentioned that aspect.
ViciousCode
05-07-2010, 09:20 PM
how do I remove the "- Array" part?
Bob_R
05-08-2010, 02:03 AM
how do I remove the "- Array" part?
Don't bother dude. You have to PAY to get an answer.
Bob_R
05-08-2010, 02:04 AM
Uninstalled.
Mod does not work as is and per instructions in FAQ.
Mastergumble
05-08-2010, 01:46 PM
Uninstalled.
Mod does not work as is and per instructions in FAQ.
If you can't have it work as EVERYONE as seen already, you don't need to be keep posting all the time here about that, if your server have safe mode, missing any library you can't use this mod!
Its listed on the post, if you dont understand it, thats your own problem, i have the mod running without any problem except on a safe mode server, witch im currently waiting to be changed, so like it use it dont like it leave it alone mark as uninstalled but not complain about YOUR limitations.
Bob_R
05-08-2010, 04:27 PM
Safe_Mode is disabled.
how do I remove the "- Array" part?
There is a second link to the bitly.php file. Use that. It worked for me perfectly.
Is there any way I can add "#Example" to the tweets?
I just went in and added a variable like this:
$posttitle = '#Example';
Right above this line:
$tweet = '';
Then, later in the code, I took this line:
$tweet .= $newpost['title'] . ' - ' . $shortURL;
And changed it to this:
$tweet .= $newpost['title'] . ' - ' . $shortURL . ' - ' . $posttitle;
You could replace #Example with any text.. It will show up at the end of the twitter message.
Uasuforos
05-11-2010, 09:56 PM
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]/includes/twitter.php on line 189
/statuses/update.xml Could not authenticate you. Unauthorized on line 229 in /home/uasuforos/domains/uasuforos.com/public_html/includes/twitter.php
#0 /home/uasuforos/domains/uasuforos.com/public_html/includes/twitter.php(648): Twitter->doCall('statuses/update...', Array, true)
#1 /home/uasuforos/domains/uasuforos.com/public_html/newthread.php(273) : eval()'d code(33): Twitter->updateStatus('xzxczc - http:/...')
#2 /home/uasuforos/domains/uasuforos.com/public_html/newthread.php(273): eval()
#3 /home/uasuforos/domains/uasuforos.com/public_html/vbseo.php(1382): require('/home/uasuforos...')
#4 {main}
Warning: Invalid error type specified in [path]/vb/vb.php on line 287
what problem?
Videx
05-11-2010, 10:46 PM
what problem?The problem is that you haven't read the instructions. And I bet you didn't read through the rest of the thread before installing either. When installing mods you must do both, carefully.
delmarva
05-12-2010, 02:00 PM
There is a second link to the bitly.php file. Use that. It worked for me perfectly.
Sorry, but where is this "second link"? I also have the "Array" issue.
delmarva
05-12-2010, 03:08 PM
I just went in and added a variable like this:
$posttitle = '#Example';
Right above this line:
$tweet = '';
Then, later in the code, I took this line:
$tweet .= $newpost['title'] . ' - ' . $shortURL;
And changed it to this:
$tweet .= $newpost['title'] . ' - ' . $shortURL . ' - ' . $posttitle;
You could replace #Example with any text.. It will show up at the end of the twitter message.
Could you please tell me where you added this variable? Do you have an example?
Thanks
p@ndu
05-13-2010, 01:29 PM
thanks a lot
replys also working
thanks a lot
Bob_R
05-13-2010, 02:25 PM
Guess it must be my web host though they haven't found/admitted anything.
The author here claims everything works. The twitter.php author claims his class works which I don't doubt. Don't understand how many could get it to work when you need to instantiate the Twitter class with your username and password. And no one has mentioned that aspect.
Someone is wrong/mistaken because it doesn't work for me.
Bob_R
05-13-2010, 03:31 PM
Actually the only thing I did find out is that the actual server software my webhost uses is LiteSpeed instead of Apache, in most cases this will not cause an issue since LiteSpeed is far superior than Apache.
Weeds
05-21-2010, 01:29 PM
When you post sometimes it looks like twitter is down. I comes up like strange code can not connect to this plug in. Maybe should just ask the plug in to move on not show the code. I try to post it next time i see it
Works.
Big thank you!
Would be nice if we could specify the poster name in the tweet too but I realise you're a busy man :)
uaewebmaster
05-28-2010, 06:18 AM
Installed , Working Great, Thanks !
IMPORTANT NOTICE: Through no fault of my own, this hack will cease to work on Wednesday 30th June 2010 as Twitter is turning off Basic authentication and only allowing the use of OAuth authentication (this hack currently uses a Basic authentication Twitter class to tweet your threads/posts). Please see this announcement by Twitter - http://dev.twitter.com/announcements for more information. There is no ETA when this hack will be updated to use OAuth authentication.
Videx
06-07-2010, 01:45 PM
It's the twitter class that needs to be updated? Surely that can be done in three weeks?
I was getting errors when I first installed but that's because I had uploaded the files to the wrong place.
LuisManson
06-15-2010, 12:23 AM
any status on the 0auth update?
Webbstre
06-15-2010, 12:31 AM
Oh wow, I was planning on using this when my site goes live. I may have to rethink my plan if there isn't an update available.
I installed as per the instructions. No errors, nothing is happening.
After i make a new thread or post, nothing is coming on twitter.
Vb version - 3.6.10
Php version - 5.2.12
Curl and JSON installed..
Can anyone suggest what may be the problem?
Dragonsys
06-20-2010, 03:45 PM
I installed as per the instructions. No errors, nothing is happening.
After i make a new thread or post, nothing is coming on twitter.
Vb version - 3.6.10
Php version - 5.2.12
Curl and JSON installed..
Can anyone suggest what may be the problem?
grab the twitter.php which is attached to this post (https://vborg.vbsupport.ru/showthread.php?t=234288). This fixed it for me
Dragonsys
06-20-2010, 03:51 PM
The twitter class file has been updated to use Oauth (http://classes.verkoyen.eu/twitter_oauth)
Now this product just needs to be updated to use the new class (I tested, it does not work as is)
a7lameza.com
06-20-2010, 07:33 PM
thank you
Alecsmith
06-22-2010, 08:56 AM
Installed working perfectly thanks :)
mimocherry
06-23-2010, 11:55 PM
No matter what I do, I keep getting this error...
"invalid body on line 655 in /var/www/vhosts/website/httpdocs/forum/includes/twitter.php
#0 /var/www/vhosts/website/httpdocs/forum/newthread.php(274) : eval()'d code(33): Twitter->updateStatus('testtweee - htt...')
#1 /var/www/vhosts/website/forum/newthread.php(274): eval()
#2 {main}:
can someone please shed some light?
mimocherry
06-24-2010, 12:03 AM
okay, I followed the thread, and upgraded it to 2.00, now I got this error message
does it work with VB 4.04?
Fatal error: Call to undefined method Twitter::updateStatus() in /var/www/vhosts/website/httpdocs/forum/newthread.php(274) : eval()'d code on line 33
BatCave
06-24-2010, 12:15 AM
I tried searching the thread and didn't see much of an answer (sorry if it's there and I missed it) but can this be set up so that it posts live CMS articles to twitter?
I tried searching the thread and didn't see much of an answer (sorry if it's there and I missed it) but can this be set up so that it posts live CMS articles to twitter?
Not at present.
Dragonsys
06-24-2010, 01:22 PM
okay, I followed the thread, and upgraded it to 2.00, now I got this error message
does it work with VB 4.04?
Fatal error: Call to undefined method Twitter::updateStatus() in /var/www/vhosts/website/httpdocs/forum/newthread.php(274) : eval()'d code on line 33
Do not use the OAuth twitter.php it does not work with this mod.
You need to use the twitter.php I mentioned earlier.
grab the twitter.php which is attached to this post (https://vborg.vbsupport.ru/showthread.php?t=234288). This fixed it for me
Yes, this works perfectly on 4.0.4, on my site.
KURTZ
06-24-2010, 05:43 PM
hi Mosh, just installed your hack onto my testing board, and when i try to create a new thread i got this:
Invalid JSON-response on line 203 in /home/fniv/domains/fniv.it/public_html/latest/includes/bitly.php
#0 /home/fniv/domains/fniv.it/public_html/latest/includes/bitly.php(414): Bitly->doCall('shorten', Array)
#1 /home/fniv/domains/fniv.it/public_html/latest/newthread.php(274) : eval()'d code(13): Bitly->shorten('http://www.fniv...')
#2 /home/fniv/domains/fniv.it/public_html/latest/newthread.php(274): eval()
#3 {main}
Fatal error: Invalid JSON-response on line 203 in [path]/includes/bitly.php in [path]/vb/vb.php on line 287
#0 vb_error_handler(256, Invalid JSON-response on line 203 in /home/fniv/domains/fniv.it/public_html/latest/includes/bitly.php , /home/fniv/domains/fniv.it/public_html/latest/vb/vb.php, 287, Array ([exception] => BitlyException Object ([] => Invalid JSON-response,[] => ,[] => 0,[] => /home/fniv/domains/fniv.it/public_html/latest/includes/bitly.php,[] => 203,[] => Array ([0] => Array ([file] => /home/fniv/domains/fniv.it/public_html/latest/includes/bitly.php,[line] => 414,[function] => doCall,[class] => Bitly,[type] => ->,[args] => Array ([0] => shorten,[1] => Array ([longUrl] => http://www.fniv.it/latest/showthread.php?t=19))),[1] => Array ([file] => /home/fniv/domains/fniv.it/public_html/latest/newthread.php(274) : eval()'d code,[line] => 13,[function] => shorten,[class] => Bitly,[type] => ->,[args] => Array ([0] => http://www.fniv.it/latest/showthread.php?t=19)),[2] => Array ([file] => /home/fniv/domains/fniv.it/public_html/latest/newthread.php,[line] => 274,[function] => eval))),[code] => 256)) called at [(null):0] #1 trigger_error(Invalid JSON-response on line 203 in /home/fniv/domains/fniv.it/public_html/latest/includes/bitly.php , 256) called at [/home/fniv/domains/fniv.it/public_html/latest/vb/vb.php:287] #2 vB::handleException(BitlyException Object ([] => Invalid JSON-response,[] => ,[] => 0,[] => /home/fniv/domains/fniv.it/public_html/latest/includes/bitly.php,[] => 203,[] => Array ([0] => Array ([file] => /home/fniv/domains/fniv.it/public_html/latest/includes/bitly.php,[line] => 414,[function] => doCall,[class] => Bitly,[type] => ->,[args] => Array ([0] => shorten,[1] => Array ([longUrl] => http://www.fniv.it/latest/showthread.php?t=19))),[1] => Array ([file] => /home/fniv/domains/fniv.it/public_html/latest/newthread.php(274) : eval()'d code,[line] => 13,[function] => shorten,[class] => Bitly,[type] => ->,[args] => Array ([0] => http://www.fniv.it/latest/showthread.php?t=19)),[2] => Array ([file] => /home/fniv/domains/fniv.it/public_html/latest/newthread.php,[line] => 274,[function] => eval)))) called at [(null):0]
Dragonsys
06-24-2010, 07:55 PM
hi Mosh, just installed your hack onto my testing board, and when i try to create a new thread i got this:
Question:
I see an "INVALID_JSON" error
Answer:
Select is.gd in your AdminCP Options instead of bit.ly for url shortening.
KURTZ
06-24-2010, 08:23 PM
Question:
I see an "INVALID_JSON" error
Answer:
Select is.gd in your AdminCP Options instead of bit.ly for url shortening.
sure and got this:
invalid body on line 655 in /home/fniv/domains/fniv.it/public_html/latest/includes/twitter.php
#0 /home/fniv/domains/fniv.it/public_html/latest/newthread.php(274) : eval()'d code(33): Twitter->updateStatus('te st test test...')
#1 /home/fniv/domains/fniv.it/public_html/latest/newthread.php(274): eval()
#2 {main}
Fatal error: invalid body on line 655 in [path]/includes/twitter.php in [path]/vb/vb.php on line 287
#0 vb_error_handler(256, invalid body on line 655 in /home/fniv/domains/fniv.it/public_html/latest/includes/twitter.php , /home/fniv/domains/fniv.it/public_html/latest/vb/vb.php, 287, Array ([exception] => TwitterException Object ([] => Array ([100] => Continue,[101] => Switching Protocols,[200] => OK,[201] => Created,[202] => Accepted,[203] => Non-Authoritative Information,[204] => No Content,[205] => Reset Content,[206] => Partial Content,[300] => Multiple Choices,[301] => Status code is received in response to a request other than GET or HEAD, the user agent MUST NOT automatically redirect the request unless it can be confirmed by the user, since this might change the conditions under which the request was issued.,[302] => Status code is received in response to a request other than GET or HEAD, the user agent MUST NOT automatically redirect the request unless it can be confirmed by the user, since this might change the conditions under which the request was issued.,[303] => See Other,[304] => Not Modified,[305] => Use Proxy,[306] => (Unused),[307] => Temporary Redirect,[400] => Bad Request,[401] => Unauthorized,[402] => Payment Required,[403] => Forbidden,[404] => Not Found,[405] => Method Not Allowed,[406] => Not Acceptable,[407] => Proxy Authentication Required,[408] => Request Timeout,[409] => Conflict,[411] => Length Required,[412] => Precondition Failed,[413] => Request Entity Too Large,[414] => Request-URI Too Long,[415] => Unsupported Media Type,[416] => Requested Range Not Satisfiable,[417] => Expectation Failed,[500] => Internal Server Error,[501] => Not Implemented,[502] => Bad Gateway,[503] => Service Unavailable,[504] => Gateway Timeout,[505] => HTTP Version Not Supported),[] => invalid body,[] => ,[] => 0,[] => /home/fniv/domains/fniv.it/public_html/latest/includes/twitter.php,[] => 655,[] => Array ([0] => Array ([file] => /home/fniv/domains/fniv.it/public_html/latest/newthread.php(274) : eval()'d code,[line] => 33,[function] => updateStatus,[class] => Twitter,[type] => ->,[args] => Array ([0] => te st test test - http://is.gd/d2zU4)),[1] => Array ([file] => /home/fniv/domains/fniv.it/public_html/latest/newthread.php,[line] => 274,[function] => eval))),[code] => 256)) called at [(null):0] #1 trigger_error(invalid body on line 655 in /home/fniv/domains/fniv.it/public_html/latest/includes/twitter.php , 256) called at [/home/fniv/domains/fniv.it/public_html/latest/vb/vb.php:287] #2 vB::handleException(TwitterException Object ([] => Array ([100] => Continue,[101] => Switching Protocols,[200] => OK,[201] => Created,[202] => Accepted,[203] => Non-Authoritative Information,[204] => No Content,[205] => Reset Content,[206] => Partial Content,[300] => Multiple Choices,[301] => Status code is received in response to a request other than GET or HEAD, the user agent MUST NOT automatically redirect the request unless it can be confirmed by the user, since this might change the conditions under which the request was issued.,[302] => Status code is received in response to a request other than GET or HEAD, the user agent MUST NOT automatically redirect the request unless it can be confirmed by the user, since this might change the conditions under which the request was issued.,[303] => See Other,[304] => Not Modified,[305] => Use Proxy,[306] => (Unused),[307] => Temporary Redirect,[400] => Bad Request,[401] => Unauthorized,[402] => Payment Required,[403] => Forbidden,[404] => Not Found,[405] => Method Not Allowed,[406] => Not Acceptable,[407] => Proxy Authentication Required,[408] => Request Timeout,[409] => Conflict,[411] => Length Required,[412] => Precondition Failed,[413] => Request Entity Too Large,[414] => Request-URI Too Long,[415] => Unsupported Media Type,[416] => Requested Range Not Satisfiable,[417] => Expectation Failed,[500] => Internal Server Error,[501] => Not Implemented,[502] => Bad Gateway,[503] => Service Unavailable,[504] => Gateway Timeout,[505] => HTTP Version Not Supported),[] => invalid body,[] => ,[] => 0,[] => /home/fniv/domains/fniv.it/public_html/latest/includes/twitter.php,[] => 655,[] => Array ([0] => Array ([file] => /home/fniv/domains/fniv.it/public_html/latest/newthread.php(274) : eval()'d code,[line] => 33,[function] => updateStatus,[class] => Twitter,[type] => ->,[args] => Array ([0] => te st test test - http://is.gd/d2zU4)),[1] => Array ([file] => /home/fniv/domains/fniv.it/public_html/latest/newthread.php,[line] => 274,[function] => eval)))) called at [(null):0]
obviously i edited the two files like Mosh said in the FAQ ...
edit: anyway with is.gd i can send the tweets but i got the error that i noticed above ...
Dragonsys
06-24-2010, 09:46 PM
sure and got this:
obviously i edited the two files like Mosh said in the FAQ ...
edit: anyway with is.gd i can send the tweets but i got the error that i noticed above ...
grab the twitter.php which is attached to this post (https://vborg.vbsupport.ru/showthread.php?t=234288). This fixed it for me
The twitter.php which the OP links to does not work properly with this mod.
What if you do not want to use a url shortening service?
What if you do not want to use a url shortening service?
What if you do not want to use a url shortening service?
KURTZ
06-26-2010, 09:30 AM
The twitter.php which the OP links to does not work properly with this mod.
with that file i got this:
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]/includes/twitter.php on line 189
/statuses/update.xml Could not authenticate you. Unauthorized on line 229 in /home/fniv/domains/fniv.it/public_html/latest/includes/twitter.php
#0 /home/fniv/domains/fniv.it/public_html/latest/includes/twitter.php(648): Twitter->doCall('statuses/update...', Array, true)
#1 /home/fniv/domains/fniv.it/public_html/latest/newthread.php(274) : eval()'d code(33): Twitter->updateStatus('test test test ...')
#2 /home/fniv/domains/fniv.it/public_html/latest/newthread.php(274): eval()
#3 {main}
Warning: Invalid error type specified in [path]/vb/vb.php on line 287
merk_aus
06-27-2010, 06:00 AM
What if you do not want to use a url shortening service?
What if you do not want to use a url shortening service?
What if you do not want to use a url shortening service?
This has already been answered in the thread instead of just posting, especially the same question over and over, read the thread.
EDIT: See how hard this was looking at page three of an eight page thread - click here (https://vborg.vbsupport.ru/showpost.php?p=1999980&postcount=33).
I do wish people would read what has been said instead of just posting a new thread would allow everything to run smoother.
Dragonsys
06-28-2010, 01:32 PM
with that file i got this:
Please read the 1st Post.... This is answered in the Q&A listed there
Question:
I see an error that says "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"
Answer:
Looks like that is a safe_mode issue... but should be easily fixable. In bitly.php, find:
PHP Code:
$options[CURLOPT_FOLLOWLOCATION] = true;
Change it to:
PHP Code:
$options[CURLOPT_FOLLOWLOCATION] = false;
$options[CURLOPT_HEADER] = true;
You may also want to do the above in twitter.php as well, if you are still getting the same error message just to be on the safe side.
Wonder when we'll get an update for this?
Dragonsys
06-29-2010, 03:02 PM
Wonder when we'll get an update for this?
since it is unsupported I would not hold my breath.
I got it to work with OAuth on my site, it only requires a couple of minor changes to the product, the new twitter.php file, a custom app on Twitter.com, and your consumerKey, consumerSecret, oauthKey & oAuthSecret...
Would you mind doing a write up or explaining how to do what you've said? I and many others would really appreciate it.
IMPORTANT NOTICE UPDATE: Through no fault of my own, this hack will now cease to work on Wednesday 30th June 2010 Monday 16th August 2010 (that is an extra six week reprieve) as Twitter is turning off Baic authentication and only allowing the use of OAuth authentication (this hack currently uses a Basic authentication Twitter class to tweet your threads/posts). Please see this announcement by Twitter - http://dev.twitter.com/announcements for more information.
There is no ETA when this hack will be updated to use OAuth authentication, but just to let you know that I have started working on it, and it should be released before xAuth is turned off.
Videx
06-30-2010, 08:42 PM
Whew! Good news, thanks for sharing. And for working on the update.
LuisManson
06-30-2010, 10:46 PM
since it is unsupported I would not hold my breath.
I got it to work with OAuth on my site, it only requires a couple of minor changes to the product, the new twitter.php file, a custom app on Twitter.com, and your consumerKey, consumerSecret, oauthKey & oAuthSecret...
would you share it?
Dragonsys
06-30-2010, 11:49 PM
would you share it?
well, since the author does not have this marked as reusable, I am not permitted to do so, without his permission. I will share what I have with him, and see if he wants to use it.
There is no ETA when this hack will be updated to use OAuth authentication, but just to let you know that I have started working on it, and it should be released before xAuth is turned off.
Mosh, I will send you what I have done via PM if you want it. It might at least give you a bump up on getting this changed out to OAuth
Mosh, I will send you what I have done via PM if you want it. It might at least give you a bump up on getting this changed out to OAuth
I have added you to my buddy list (so you can now send me PMs). And yes, I would appreciate it if you can PM what you have done, because if it speeds up getting a release out, then that would be cool ..... thanks :)
Dragonsys
07-01-2010, 01:46 PM
I have added you to my buddy list (so you can now send me PMs). And yes, I would appreciate it if you can PM what you have done, because if it speeds up getting a release out, then that would be cool ..... thanks :)
Sent. :) I'm more than happy to help. I love this product!
Sent. :) I'm more than happy to help. I love this product!
Hi Dragonsys,
Thanks for the stuff you sent me, it pointed me in the right direction :)
It did not work for me on my site...... well, that is not entirely true, I could get it to work with a standalone non-vBulletin page, but it would just give a blank page when doing the same via this hack's plugins. I just could not get Tijs Verkoyen's OAuth Twitter class to work for me.
But all is not lost, I am now in final testing of this hack but using the OAuth Twitter class by Abraham Williams (the guy who wrote the first ever OAuth Twitter class) and it looks very, very promising, and seems to be working a treat, and with no file edits (at least until someone who has "safe_mode" enabled comes along and tells me otherwise) :)
If all is still good later, then I will release the update here and at Wolfshead Solutions simultaneously, as Dragonsys pointed me in the right direction :D
Regards,
Mosh.
Update: v4.0.003
-- Updated: Installation/Upgrade/Removal Instructions file
-- Updated: Screenshots
-- Updated: 3 plugins to now use OAuth instead of xAuth authentication when posting to Twitter
-- Added: AdminCP Option to not use url shortening at all
-- Added: 4 new AdminCP Options for Twitter "Consumer Key", "Consumer Secret", "Access Token" and "Access Token Secret"
-- Removed: 2 AdminCP Options for Twitter "Username" and "Password"
Right.
Thanks for the update dude, downloaded your latest package and began to follow the read me.txt but the first link for the http://github.com/abraham/twitteroauth/downloads doesn't work. 502 bad gateway. Is there an alternative source?
Rebecca217
07-02-2010, 12:35 PM
Right.
Thanks for the update dude, downloaded your latest package and began to follow the read me.txt but the first link for the http://github.com/abraham/twitteroauth/downloads doesn't work. 502 bad gateway. Is there an alternative source?
I'm having the same problem. If there is an alternative solution, please let us know. I was really looking forward to using this hack! :)
Right.
Thanks for the update dude, downloaded your latest package and began to follow the read me.txt but the first link for the http://github.com/abraham/twitteroauth/downloads doesn't work. 502 bad gateway. Is there an alternative source?
I'm having the same problem. If there is an alternative solution, please let us know. I was really looking forward to using this hack! :)
I could not replicate the issue in Firefox 3.6.6, Chrome 5, Opera 10.53, Safari nor IE 8, but I have attached the file in the first post for you anyway :)
Dragonsys
07-02-2010, 01:46 PM
But all is not lost, I am now in final testing of this hack but using the OAuth Twitter class by Abraham Williams (the guy who wrote the first ever OAuth Twitter class) and it looks very, very promising, and seems to be working a treat, and with no file edits (at least until someone who has "safe_mode" enabled comes along and tells me otherwise) :)
No file edits is even better!
Cheers dude.
Any more instructions on setting up an app for this?
Right.
Got this working.
When registering the App once you've put your name etc, everything is pretty obvious apart from the option for client/browser, I chose client and it all seemed to work.
Thanks people.
Cheers dude.
Any more instructions on setting up an app for this?
Did you check the first post FAQ? I am glad that you got it working :)
I didn't :D
Cheers though, kinda happy I managed all by myself though lol
TandyServices
07-03-2010, 12:25 AM
The bitly.php has an error on line 495 is all I get after posting.. Does not work for me. Will uninstall if no help.. To bad I did not save the old one..
The bitly.php has an error on line 495 is all I get after posting.. Does not work for me. Will uninstall if no help.. To bad I did not save the old one..
Make sure you've got the right file.
TandyServices
07-03-2010, 10:59 AM
Make sure you've got the right file.
There is only one right?
Download Bitly (2.0.0)
edit: now I get this error when I submit a post?
Fatal error: Cannot redeclare class BitlyException in /home/my account/public_html/my site/includes/bitly.php on line 426
Oh right well if you're having problems with it then don't use bitly, use the other one that doesn't require registration or anything, that's what I do. :)
There is only one right?
Download Bitly (2.0.0)
Hi TandyServices,
That must be the new version, I created this hack using v1.0.1 of the author's Bitly class .... if v2.0.0 is not working for you then I am attaching v1.0.1 in a couple of minutes, download that and use version instead.
Regards,
Mosh.
TandyServices
07-03-2010, 11:19 AM
Ok thanks a lot..
Edit:
That one has errors at well.. Just used the other and all works fine now.. Thanks
kefallon
07-03-2010, 10:35 PM
At last this mod now works for me, anyone who had the problems i faced described in thread 11 of this mod back in February.
i did a fresh install today and it is working at treat...
Thank you :):):):):):)
At last this mod now works for me, anyone who had the problems i faced described in thread 11 of this mod back in February.
i did a fresh install today and it is working at treat...
Thank you :):):):):):)
At least click Mark as Installed then :)
anupam_luv
07-03-2010, 11:38 PM
Whenever I try to post a new thread I get the following error
Fatal error: Cannot redeclare class OAuthException in /home/anandpla/public_html/dstreetdirect.com/includes/twitteroauth/OAuth.php on line 8
Whenever I refresh this page ... it tries to post duplicate thread/post and after that I can see the thread already created but it couldnt tweet either...
I hv done everything correctly.... tried uninstalling old ver and installed new ver afresh, but no luck,,, plz help....
CoronasRGood
07-03-2010, 11:58 PM
I get the same fatal error
anupam_luv
07-04-2010, 12:01 AM
Aaaaaaaaaah!!!!!!!! Just figured it out......
JUST OPEN AND EDIT THE "OAuth.php" FILE IN THE "twitteroauth" FOLDER ......... FIND THE WORD "OAuthException" AND REPLACE ALL INSTANCES WITH "OAuthException_tw" (OR ANY OTHER WORD) ... AND U R DONE!!!
BASICALLY THE CLASS OAuthException IS ALSO USED BY FACEBOOK PLUGIN AND ITS DECLARED BEFORE THIS PLUGIN DOES.... SIMPLE.
Aaaaaaaaaah!!!!!!!! Just figured it out......
JUST OPEN AND EDIT THE "OAuth.php" FILE IN THE "twitteroauth" FOLDER ......... FIND THE WORD "OAuthException" AND REPLACE ALL INSTANCES WITH "OAuthException_tw" (OR ANY OTHER WORD) ... AND U R DONE!!!
BASICALLY THE CLASS OAuthException IS ALSO USED BY FACEBOOK PLUGIN AND ITS DECLARED BEFORE THIS PLUGIN DOES.... SIMPLE.
Thanks, I add that to the first post FAQ :)
CoronasRGood
07-04-2010, 01:47 PM
Thanks, I add that to the first post FAQ :)
Excellent, go it working with that edit. Thank!
anupam_luv
07-06-2010, 12:57 AM
The time it tweets is the web server's default... and so its sending time of post as different than its actual time.....
To correct it I had to edit all the three plugins (via plugins manager) of this mod and add the following line (at the top) to change the default timezone
date_default_timezone_set('Asia/Calcutta');
It should pick the vbulletin's default timezone (The "Default Time Zone Offset" in VB options>Date & Time Options) .... but its picking the server's time.
Plz append this correction in ur next version of this mod.
gopherhockey
07-07-2010, 08:22 PM
I did a forum upgrade and lost my access token. The directions on this mod say:
Note down the "Access Token" and "Access Token Secret" (under My Access Token on the App details screen)
When i go to my twitter account I can see my secret, but no token. All I am given is a request token URL.
How do I resurrect the token?
Dragonsys
07-08-2010, 02:53 AM
I did a forum upgrade and lost my access token. The directions on this mod say:
When i go to my twitter account I can see my secret, but no token. All I am given is a request token URL.
How do I resurrect the token?
Go here - http://dev.twitter.com/apps
view your App
Click on the My Access Token button on the right side of the screen
Alecsmith
07-10-2010, 05:29 AM
Working perfectly thanks :)
Webbstre
07-11-2010, 06:12 AM
I just upgraded from the old xauth version and for some reason nothing appears to work. I double checked the settings and installation instructions, even tried the facebook connect fix, but nothing happens when I make a post. There are no error messages either. Anyone else getting this with 4.0.4?
pete_brady
07-17-2010, 11:37 AM
I just upgraded from the old xauth version and for some reason nothing appears to work. I double checked the settings and installation instructions, even tried the facebook connect fix, but nothing happens when I make a post. There are no error messages either. Anyone else getting this with 4.0.4?
same here on 4.0.5
Dragonsys
07-17-2010, 03:22 PM
I just upgraded from the old xauth version and for some reason nothing appears to work. I double checked the settings and installation instructions, even tried the facebook connect fix, but nothing happens when I make a post. There are no error messages either. Anyone else getting this with 4.0.4?
working fine for me on 4.0.4 PL1
PreciseDemise
07-17-2010, 09:45 PM
Installed! Get mod, thanks a bunch, I would only recommend tidying up the zip file ... I nearly over wrote my root index.php! Again, thanks a bunch =)
pete_brady
07-18-2010, 10:20 PM
I just upgraded from the old xauth version and for some reason nothing appears to work. I double checked the settings and installation instructions, even tried the facebook connect fix, but nothing happens when I make a post. There are no error messages either. Anyone else getting this with 4.0.4?
Try rebuilding apache with CurlSSL enabled if it isn't already...
Just a quick reminder - You now have four (4) weeks left in which to upgrade your vBulletin2Twitter installation to v4.0.003
IMPORTANT NOTICE: By Monday 16th August 2010 you will have to have upgraded your sites to use an OAuth version (v4.0.003 or above) of this hack or your earlier version will cease to work, as that is the date Twitter is turning off Basic authentication (which v4.0.001/2 of this hack use) and thus only allowing the use of OAuth authentication (see this announcement by Twitter - http://dev.twitter.com/announcements for more information).
jaybolt
07-20-2010, 12:50 PM
Works perfectly - another Mosh masterpiece :)
Thanks pal.
graham_w
07-21-2010, 06:35 AM
Works a treat on 4.0.5!
jay5r
07-21-2010, 05:02 PM
Didn't work for me (on 4.0.3) - no error message, nothing. Checked and rechecked... Giving up and using TwitterFeed.
pete_brady
07-21-2010, 05:06 PM
Didn't work for me (on 4.0.3) - no error message, nothing. Checked and rechecked... Giving up and using TwitterFeed.
check CurlSSL is installed, and also make sure your twitter app was set up R&W enabled from the start rather than read only then enabled for read write - seems strange, but appears to have made a difference for me. Set another up from scratch to test if necessary.
check CurlSSL is installed, and also make sure your twitter app was set up R&W enabled from the start rather than read only then enabled for read write - seems strange, but appears to have made a difference for me. Set another up from scratch to test if necessary.
I would advise that you heed pete's advice, as we spend a couple of fun-packed days over at Wolfshead Solutions tracking his issue down (he is a current vBulletin.org Hacks Support subscriber).
Videx
07-22-2010, 01:05 AM
I'm not following at all "make sure your twitter app was set up R&W enabled". Huh? I use Digsby and I don't see any option like this. And what difference would it make to the operation of this mod anyway?
I'm not following at all "make sure your twitter app was set up R&W enabled". Huh? I use Digsby and I don't see any option like this. And what difference would it make to the operation of this mod anyway?
It is required so that this hack can tweet via OAuth (the Twitter Application he is on about is talked about in the first post, and has nothing what-so-ever to do with Digsby), if you don't make it R&W, then you will end up with no permissions error and it will not tweet.
Webbstre
07-22-2010, 02:13 AM
I finally got this to work again, but none of the above suggestions seemed to do it. My server was fine, the app settings were right, and the codes for the application were also right. All I did was upgrade to vb4.0.5, uninstalled vbulletin2twitter from within the admincp, and then did a fresh install of the modification and it started working again. Mysterious. If the above advice didn't help, just try uninstalling and reinstalling.
Juggernaut
07-22-2010, 03:03 AM
check CurlSSL is installed, and also make sure your twitter app was set up R&W enabled from the start rather than read only then enabled for read write - seems strange, but appears to have made a difference for me. Set another up from scratch to test if necessary.
This worked for me :D
ErnieTheMilk
07-24-2010, 09:21 AM
Doesn't work with 3.8.4, anyone got any ideas?!
It's a great ideas but I'm lost now... :(:(
conradk
07-24-2010, 03:44 PM
You'll need to post the errors you're getting. Make sure you can tweet through the account. Which is probably a good feature request - admin/manual tweet "now" (for testing, announcements).
Works well in vb4. Thanks!
Other future features?
Limit thread tweets to only those created by a particular usergroup.
Add "tweet this (thread)" to the moderator tool list.
It would be nice if we could tweet calendar events somehow.
Dragonsys
07-24-2010, 04:59 PM
Doesn't work with 3.8.4, anyone got any ideas?!
It's a great ideas but I'm lost now... :(:(
probably not since it is a 4.0.x mod. You can try this one (https://vborg.vbsupport.ru/showthread.php?t=234288) but I don't think it has been updated for oAuth yet.
thecrazycanuck
07-25-2010, 04:36 PM
Is it possible to add a default hashtag that is attached to all of the tweets?
pete_brady
07-25-2010, 05:00 PM
Is it possible to add a default hashtag that is attached to all of the tweets?
It's probably not the most graceful way of doing it, but in the Thread To Twitter plugin, change
$tweet = '';
to
$tweet = '#yourhashtag ';
do the same in the Reply To Twitter if you use it
thecrazycanuck
07-26-2010, 12:46 AM
Wouldn't it have to go in this line,
$tweet .= $newpost['title'] . ' - ' . $shortURL;
I put in something like this
$tweet .= $newpost['title'] . ' - ' . $shortURL . ' ' . '#Hashtag';
But it wouldn't work
cloferba
07-26-2010, 05:02 PM
i have installed all ok, but there are no new tweets :(
pete_brady
07-26-2010, 05:28 PM
Wouldn't it have to go in this line,
Have to? No, otherwise it wouldn't be working for me :)
leeman
07-26-2010, 05:54 PM
i have installed all ok, but there are no new tweets :(
Me too ... :(
cloferba
07-27-2010, 01:29 AM
wow...i hadnt have tried to post a new message or reply a thread..
now i have tried that and i get this:
Fatal error: Cannot redeclare class OAuthException in /home/userofcpanel/public_html/foro/includes/twitteroauth/OAuth.php on line 8
nobody can post..so i have disabled this mod and now all works good
cloferba
07-27-2010, 04:33 AM
wow...i hadnt have tried to post a new message or reply a thread..
now i have tried that and i get this:
Fatal error: Cannot redeclare class OAuthException in /home/userofcpanel/public_html/foro/includes/twitteroauth/OAuth.php on line 8
nobody can post..so i have disabled this mod and now all works good
http://webcache.googleusercontent.com/search?q=cache:99w1zqhCHlEJ:forum.status.net/discussion/738/fatal-error%253A-cannot-redeclare-class-oauthexception/+Fatal+error:+Cannot+redeclare+class+OAuthExceptio n&cd=1&hl=es&ct=clnk&gl=ar
cloferba
07-27-2010, 01:26 PM
i will love this and give it a 10 if this mod can do the next:
using twitterfeed:
AMD ATI Radeon HD 5570 GDDR5: Hace m?s de cinco meses pudimos probar la primera versi?n de la HD 5570 (http://www.... http://bit.ly/cgzqtv
hace cerca de 3 horas via twitterfeed
this mod:
Re: Mensaje Reportado por escorpion1 [27/7/2010 08:59:10] - http://bit.ly/9NL5B8
so..twitterfeed, writes the 1st lines of a thread, but this mod only writes the title of the thread
could be possible to add the function to get some words of the thread or reply and add it to the twitter message?
Dragonsys
07-27-2010, 04:14 PM
$tweet .= $newpost['title'] . ' - ' . $shortURL . ' ' . '#Hashtag';
That code is invaild. Try this:
$tweet .= $newpost['title'] . ' - ' . $shortURL . ' #Hashtag;
Just a quick reminder - You now have two (2) weeks left in which to upgrade your vBulletin2Twitter installation to v4.0.003
IMPORTANT NOTICE: By Monday 16th August 2010 you will have to have upgraded your sites to use an OAuth version (v4.0.003 or above) of this hack or your earlier version will cease to work, as that is the date Twitter is turning off Basic authentication (which v4.0.001/2 of this hack use) and thus only allowing the use of OAuth authentication (see this announcement by Twitter - http://dev.twitter.com/announcements for more information). Here is a live countdown clock to when Twitter will shut off Basic Authentication - http://countdowntooauth.com/
Videx
08-02-2010, 01:14 AM
Just a quick reminder - You now have two (2) weeks left in which to upgrade your vBulletin2Twitter installation to v4.0.003Since my last attempt with this one failed terribly, I'll probably wait until the last minute. As usual. :)
Bob_R
08-02-2010, 06:55 PM
My readme.txt instructions file included in the attached .zip file unzipped as an UNIX Executable file :confused: not a text file.
Bob_R
08-04-2010, 02:45 PM
Can someone just post it right here which files go into which directories upon install?
Thanks.
merk_aus
08-05-2010, 11:57 AM
Okay,
I have had it, had enough of searching and had enough of no responses. So here we go I will put a $50 reward on the line to someone who can make this take just the articles from CMS and put them on Twitter.
Videx
08-05-2010, 03:06 PM
Is there actually any hook that gets called when an article publishes? Do you really get so many articles that you can't just tweet them manually?
Bob_R
08-06-2010, 04:11 PM
My readme.txt instructions file included in the attached .zip file unzipped as an UNIX Executable file :confused: not a text file.
Can someone just post it right here which files go into which directories upon install?
Thanks.
Is there an answer in our future? :)
My readme.txt instructions file included in the attached .zip file unzipped as an UNIX Executable file :confused: not a text file.
Here is the readme.txt installation instructions file for vBulletin2Twitter v4.0.003.
Bob_R
08-07-2010, 02:08 AM
Thanks!
Ocean-Wonders
08-07-2010, 01:31 PM
I just cant get this to work, I really don't know what im doing wrong, im not getting any error messages just nothing happens !
If anyone want's to take a look id be most grateful
Bob_R
08-08-2010, 01:27 AM
I have one last question before I install this beauty. :)
As per the Installation/Upgrade instructions:
Download the "0.2.0-beta3" Twitter (OAuth) class zip file by Abraham Williams - http://github.com/abraham/twitteroauth/downloads
Unzip it, and upload the "twitteroauth" folder and it's contents to your "<forum root>/includes" directory.
What about the images folder and the 11 other files (index.php, callback.php, clearsessions.php, html.inc, etc....) included in the zip file?
Where do they go? <forum root> includes? :confused:
Thanks!! :)
Ocean-Wonders
08-08-2010, 07:07 AM
I have one last question before I install this beauty. :)
As per the Installation/Upgrade instructions:
Download the "0.2.0-beta3" Twitter (OAuth) class zip file by Abraham Williams - http://github.com/abraham/twitteroauth/downloads
Unzip it, and upload the "twitteroauth" folder and it's contents to your "<forum root>/includes" directory.
What about the images folder and the 11 other files (index.php, callback.php, clearsessions.php, html.inc, etc....) included in the zip file?
Where do they go? <forum root> includes? :confused:
Thanks!! :)
This could maybe be my problem, I only uploaded the twitteroauth file.
Dragonsys
08-09-2010, 02:15 PM
I have one last question before I install this beauty. :)
As per the Installation/Upgrade instructions:
Download the "0.2.0-beta3" Twitter (OAuth) class zip file by Abraham Williams - http://github.com/abraham/twitteroauth/downloads
Unzip it, and upload the "twitteroauth" folder and it's contents to your "<forum root>/includes" directory.
What about the images folder and the 11 other files (index.php, callback.php, clearsessions.php, html.inc, etc....) included in the zip file?
Where do they go? <forum root> includes? :confused:
Thanks!! :)
they are not needed and should not be uploaded.
Dragonsys
08-09-2010, 02:17 PM
This could maybe be my problem, I only uploaded the twitteroauth file.
make sure you uploaded the entire twitteroauth folder, not just 1 file.
it should look like this
{forumshome}/includes/twitteroauth
inside that folder you should have 2 files: OAuth.php & twitteroauth.php
Bob_R
08-09-2010, 11:25 PM
they are not needed and should not be uploaded.
Thanks!!
Bob_R
08-09-2010, 11:25 PM
OK, it's not tweeting at all with no error messages though?
Thoughts? Suggestions?
Thanks!! :)
Dragonsys
08-11-2010, 01:04 AM
OK, it's not tweeting at all with no error messages though?
Thoughts? Suggestions?
Thanks!! :)
make sure you have both files as I posted above.
Which URL Shorting service are you using?
make sure you have the correct forum selected, and that you have the hack enabled
If none of that works, can you pm me a screen shot of your settings (blank out your API keys)
The_Hawk
08-11-2010, 05:17 AM
make sure you have both files as I posted above.
Which URL Shorting service are you using?
make sure you have the correct forum selected, and that you have the hack enabled
If none of that works, can you pm me a screen shot of your settings (blank out your API keys)
Which settings are you after?
I'm also getting no error, but no tweets either :(
Bob_R
08-12-2010, 12:21 AM
make sure you have both files as I posted above.
Which URL Shorting service are you using?
make sure you have the correct forum selected, and that you have the hack enabled
If none of that works, can you pm me a screen shot of your settings (blank out your API keys)
Not using URL shortening?
cloferba
08-12-2010, 12:50 AM
i will love this and give it a 10 if this mod can do the next:
using twitterfeed:
AMD ATI Radeon HD 5570 GDDR5: Hace m?s de cinco meses pudimos probar la primera versi?n de la HD 5570 (http://www.... http://bit.ly/cgzqtv
hace cerca de 3 horas via twitterfeed
this mod:
Re: Mensaje Reportado por escorpion1 [27/7/2010 08:59:10] - http://bit.ly/9NL5B8
so..twitterfeed, writes the 1st lines of a thread, but this mod only writes the title of the thread
could be possible to add the function to get some words of the thread or reply and add it to the twitter message?
... :)
Bob_R
08-12-2010, 10:27 PM
Everything is set. Double checked. Even put forum id's in numerical order. Changed all instances because I also have Facebook Connect. Not using URL shortenening.
Only thing that may be possibe is my URL I used /forums on my twitter settings listed above. My front page is CMS no need for twitter.
And, still doesn't tweet buy provides no errors!!
Bob_R
08-15-2010, 03:17 PM
This mod just doesn't work with the web host URLJet.
Everything is correct and no go. No errors but doesn't tweet.
Reminder, you should have now (or be in the process of) upgraded your site(s) to v4.0.003 of this hack.
IMPORTANT NOTICE: Beginning on Tuesday 17th August 2010, Tweeter started slowly shutting down its Basic Authentication API service. This means that the rate limits on basic authentication API requests will be reduced by 15 calls/hour/day ending at 8am PDT on Tuesday 31st August 2010, at which point all sites that make basic authentication API requests will be served with a HTTP 401 error message. So, what it means to you and your site(s), is that if you don't do anything (ie you don't upgrade your site(s) to use use the OAuth version of the hack - v4.0.003 and above), you will recieve more frequent rate limit error messages as you approach 8am PDT on August 31st, and then all you will be getting is HTTP 401 error messages from then on and absolutely no tweets via v4.0.001 or v4.0.002 of this hack. See this announcement (countdown timer) by Twitter - http://countdowntooauth.com for more information.
Hi, Mosh
How can I disable a few forums to be included when vBulletin posts to twitter? I found "vBulletin2Twitter Enabled Forums" option but I have over 300 forum ids, its too difficult to add all ids to just disable 2 or 3 forums.
Is there an easy way?
Hi all,
This hack has now been updated to v4.0.004, and is now available to download for all vBulletin.org Hacks Support subscribers at Wolfshead Solutions.
This update fixes the time zone offset issue with new/quick replies being tweeted incorrectly.
It also adds the additional new features:
AdminCP Options to also use the TinyURL and tli.td url shortening services
Automatic check to see if tweet is longer than 140 characters or not (and post the tweet if it is not)
Automatically truncate tweet title text in the tweet if the tweet (including the URL) exceeds 140 characters
Automatic check to see if number of hourly calls to the Twitter OAuth API has been exceeded or not (and post the tweet if it has not)
Ability to use vBulletin "Friendly URLs" (available in vBulletin 4 and later only) or just plain URLs
All files needed for this hack in one package (no longer necessary to download other class files separately any more)
This version will be released unsupported here at vBulletin.org on Saturday 18th September 2010.
Regards,
Mosh Shigdar, Wolfshead Solutions.
c0rpz0r
08-21-2010, 12:58 PM
Why unsupported? can we buy an license somewhere? dont see it at your website!
BTW, are there any options that RSS that my forum pulls in as news (threads) also are posted on twitter? Looks like they dont..
Why unsupported?
Read the Hack Support/Feature Requests section in the first post.
can we buy an license somewhere? dont see it at your website!
Read this post - http://www.wolfshead-solutions.com/threads/86-Question-How-do-I-get-support-for-your-vBulletin.org-Hacks
BTW, are there any options that RSS that my forum pulls in as news (threads) also are posted on twitter? Looks like they dont..
As this hack tweets as the same time you create a new thread or reply, RSS is not covered .... you would have to use different file hooks.
tadukuttan
08-22-2010, 11:31 AM
Great mod, specially for those who want to sync their forums with Twitter and Facebook (only wish there was a similar mod for Facebook too).
Is there a possibility to add an option to disallow threads from a particular "usergroups" from being tweeted?
Currently, on our board, even threads started by spammers who are under "Awaiting e-mail confirmation" & "Awaiting Moderation" are getting onto twitter. Some of these links include adult content. We have prevented threads started by these users from showing up to usergroups other than the admins/moderators.
But with this mod, these links posted on our forun seem to be getting into our twitter board.
Any suggestions to prevent this are welcome and highly appreciated.
Thanks in advance.
Videx
08-22-2010, 02:44 PM
Currently, on our board, even threads started by spammers who are under "Awaiting e-mail confirmation" & "Awaiting Moderation" are getting onto twitter.The obvious solution is to disallow these groups from posting threads. That's the way it is by default. Why did you ever allow it?
PS You can use Twitterfeed to post to Facebook if you don't have too many.
Alucard^
08-24-2010, 09:56 AM
Work perfect, really nice mod ^^
EDIT: I am getting this error when i use bit.ly url shortering:
Fatal error: Invalid JSON-response on line 197 in [path]/includes/bitly.php in [path]/vb/vb.php on line 287
bla bla bla...
First time i had some errors with the safe_mode but i followed the code in the F.A.Q of this mod and solved that, but now i am getting this. And i asked to the hosting support and said me that the php have JSON support, so why i am having this problem?
Thanks.
What About Twitter's Link Service (http://t.co)
How can I use it with this mod?
Videx
08-25-2010, 10:54 PM
What About Twitter's Link Service (http://t.co)
How can I use it with this mod?I don't think you can. From http://support.twitter.com/entries/109623:The link service at http://t.co (http://t.co/) is only used on links posted on Twitter and is not available as a general shortening service.
I had this working for a while and now it isn't working with the latest upgrade.
All my threads are being picked up by bit.ly, but not going to Twitter?
Dragonsys
08-26-2010, 11:41 PM
I had this working for a while and now it isn't working with the latest upgrade.
All my threads are being picked up by bit.ly, but not going to Twitter?
make sure you have upgraded to the OAuth version.
make sure you have upgraded to the OAuth version.
Going to try a complete reinstall.
Videx
09-01-2010, 12:10 AM
I had much better luck this time, as v404 of the mod installed and worked beautifully right off. I didn't mess with bit.ly, but I tried both unshortened and is.gd.
caciocode
09-01-2010, 01:32 AM
Where can we down load the OAuth version
Videx
09-01-2010, 02:39 AM
Where can we down load the OAuth versionIn the first post, the same as with any mods. Be sure to read the entire thread before you attempt to install, same as with any mod.
Budget101
09-02-2010, 12:46 AM
This mod just doesn't work with the web host URLJet.
Everything is correct and no go. No errors but doesn't tweet.
Doesn't have anything to do with your Host, you must not have a setting correct, it's working fine for me.
dawges
09-02-2010, 03:30 AM
I have installed hundreds of plugins. this is the first one that I could not get to work. I give up and moving on.
Videx
09-02-2010, 03:50 AM
I have installed hundreds of plugins. this is the first one that I could not get to work. I give up and moving on.Having "hundreds of plugins" in place is quite possibly your problem. I've only got maybe 20 add-ons and a lot of people consider that to be way too many.
But it's true - this one depends on a lot of server settings being just right. And now, with oauth, it depends on a somewhat complicated application process at Twitter.
Alas, the only alternative is something like Twitterfeed. But it has serious limitations.
dawges
09-02-2010, 03:53 AM
Having "hundreds of plugins" in place is quite possibly your problem. I've only got maybe 20 add-ons and a lot of people consider that to be way too many.
But it's true - this one depends on a lot of server settings being just right. And now, with oauth, it depends on a somewhat complicated application process at Twitter.
Alas, the only alternative is something like Twitterfeed. But it has serious limitations.
Well i meant in the past not necessarily on my current forum which i don't have any plug ins at the moment. sorry for the confusion.
MagiKelly
09-02-2010, 06:29 PM
Installed this today and got it working, on one forum at least. My problem is I have a lot of forums on my board with some removed etc. So i have forum numbers running from 1 to 133 with many numbers missing from sections that were deleted etc.
I have only one forum I want excluded from tweets. Is there a short way to do this or do i really need to list every forum number I want included? Even if I could define ranges of numbers it would help.
mmacrypt
09-02-2010, 07:30 PM
tagged, hope to install tonight.
Videx
09-02-2010, 08:00 PM
Yes please, needs an exclusion forum list badly. I only want to exclude my 4 admin forums, not the other 20. And the 4 admin forums won't change, like the inclusion list will.
vilhiem
09-02-2010, 10:16 PM
Great Mod ... Thanks!
Question 1: How can I remove the "Re:" on the replies ...? I tried entering a 'space' which doesn't work. Is there a code I could use ... or an edit to the plug-in ...?
Question 2: How can I remove the "()" around the date in the reply. Again, I'm not very good with editing code ... so I need to know 'exactly' where to make the change.
Thanks All!
cherylferraro
09-03-2010, 12:10 AM
Excellent mod. Installed today when twitter basic quit working and broke my previous set up. This mod works perfectly.
Mosh, your work on this is much appreciated. Thank you very much.
CEO254
09-03-2010, 08:35 PM
I have tried everything and I cant get this to work
It worked for v4.0.002 all the way up til September 1st. I upgraded to v4.0.003 and it wont work
bit.ly works fine, its just not posting on twitter
denman75
09-03-2010, 08:57 PM
cant get it to work either
i give it up \ i switched to twitterfeed
australiaforum
09-04-2010, 01:28 AM
I also just changed after the old version stopped working. I followed all of the steps and didn't get any errors. Unfortunately it is just not working and because I don't get any errors with it, I don't know how I can check it. Maybe I should try upgrading VB to the latest version to see if that works.
Videx
09-04-2010, 01:38 AM
It's not real easy to troubleshoot, because most of the errors are server errors which you won't even see on shared hosting.
Start by trying not to shorten - see if the Twit goes through. Then try shortening, and log into the shortening service and see if the twit actually got shortened. Armed with that data, maybe some will be able to get their hosts to figure it out.
EconomicVoice
09-04-2010, 11:40 AM
I have tried this mod too. It is all set up correctly and the message gets to bit.ly but it just will not appear on Twitter. I also get no error messages. I have tried it with no shortening but it will not work.
Videx
09-04-2010, 01:51 PM
I have tried this mod too. It is all set up correctly and the message gets to bit.ly but it just will not appear on Twitter. See, with oauth, a failure after the shortener could mean that one or more of those 4 long strings are incorrect - Consumer key & secret, Access token & secret. I wonder if Twitter has any method of simply verifying these 4 items for you?
After the shortening is when the oauth php files run also. What version of PHP is your server running, and can you get your host to check for errors?
Osama11
09-04-2010, 04:46 PM
if i upload that config.php file in include folder .
isn't goona override that other vbconfig.php?
EconomicVoice
09-04-2010, 06:52 PM
See, with oauth, a failure after the shortener could mean that one or more of those 4 long strings are incorrect - Consumer key & secret, Access token & secret. I wonder if Twitter has any method of simply verifying these 4 items for you?
After the shortening is when the oauth php files run also. What version of PHP is your server running, and can you get your host to check for errors?
I'll be checking up on those thanks. I copied and pasted the keys and secrets etc. I might delete the Twitter app tomorrow and start from scratch.
Videx
09-04-2010, 07:00 PM
if i upload that config.php file in include folder .
isn't goona override that other vbconfig.php?I don't think there is a config.php file in this mod. Pay attention or you can cause serious wreckage of your forum.
MagiKelly
09-04-2010, 07:19 PM
There is a config file in the Abraham download. I nearly made this mistake but then realised I was only to upload one folder from this download.
Osama11
09-05-2010, 08:21 PM
i have installed everything correctly.
no error when post new thread..
but idk why its not tweeting to tweeter.
any idea?
Dave-M
09-06-2010, 12:08 AM
i have installed everything correctly.
no error when post new thread..
but idk why its not tweeting to tweeter.
any idea?
Same for me on 4.0.5.
Followed the instructions to the letter, I was previously using the buro9 version with bit.ly working fine, I disabled that one and installed this one, got errors initially with bit.ly enabled, so disabled that but still no tweets :(.
I'm wondering if it's to do with the setting up of the oauth on twitter, there are no details about this in the install instructions.
Videx
09-06-2010, 12:37 AM
There is some info in the instructions:Question: I don't know how to setup a Twitter Application! Help!!!Answer:Enter the following details when creating your application:
Application Name: I advise your website url (for instance I used "wolfshead-solutions.com")
Application Website: Enter the full url to your site (for instance I used "http://www.wolfshead-solutions.com")
Application Type: Set to "Client"
Default Access type: Set to "Read & Write"Stay logged into your Twitter account, as the first time you tweet from your forum you may need to authorise the domain.
Is everybody following that last step? I had to manually pass the first oauth tweet.
Osama11
09-06-2010, 05:09 AM
There is some info in the instructions:
Is everybody following that last step? I had to manually pass the first oauth tweet.
yup i did follow these steps.
still same thing.
not tweeting on twitter.
Osama11
09-06-2010, 05:24 AM
NV Lol.
Its working now
thnks alot videx
You rockz man :D
1 more question.
is this mod goona stop working in da future?
Osama11
09-06-2010, 05:43 AM
yo videx
when i m logout and try to go and see new updates on my twitter profile its shows a last september 1 tweet..
Examplehttps://twitter.com/Domain
but when i login it shows up new 1..
is it how it should be?
Dave-M
09-06-2010, 02:26 PM
There is some info in the instructions:
Is everybody following that last step? I had to manually pass the first oauth tweet.
Thanks for this, working now, I had the oauth settings wrong :)
Videx
09-06-2010, 02:34 PM
yo videx
when i m logout and try to go and see new updates on my twitter profile its shows a last september 1 tweet..
Examplehttps://twitter.com/Domain
but when i login it shows up new 1..
is it how it should be?I don't understand the question. And sure, any mod can stop working at any time. Any time you install a mod you need to subscribe to it's thread and keep up with what's happening.
LifesGreatestGift
09-06-2010, 11:17 PM
check CurlSSL is installed, and also make sure your twitter app was set up R&W enabled from the start rather than read only then enabled for read write - seems strange, but appears to have made a difference for me. Set another up from scratch to test if necessary.
This worked for me. I initially setup a Twitter App and it was read only and could not figure out why it wasn't posting to twitter. I changed it to read & write and it didnt work. I had to create a new Twitter App and start it out with Read & Write and now it works flawlessly. Thanks :)
CRDeveloper
09-07-2010, 08:24 AM
This worked for me. I initially setup a Twitter App and it was read only and could not figure out why it wasn't posting to twitter. I changed it to read & write and it didnt work. I had to create a new Twitter App and start it out with Read & Write and now it works flawlessly. Thanks :)
Same here! I did the same, thanks for posting that lol!
So, i have installed this mod now and uninstalled the other one, but one question, why we have to include forums ids instead of excluding forums ids??? :confused:
Videx
09-07-2010, 11:35 AM
why we have to include forums ids instead of excluding forums ids??? :confused:Mosh has promised to incorporate an exclusion list in the next version.
DaneAU
09-08-2010, 06:39 AM
Worked Perfectly, great mod :)
Thanks
mmacrypt
09-09-2010, 03:48 AM
Installing it right now, wish me luck ;) I'm coming over from the old Non-working Twitter mod, need to get this one fired up. Hopefully my next post is, "working, looks great, thanks guys".
:D
vBulletin® v3.8.12 by vBS, Copyright ©2000-2024, vBulletin Solutions Inc.