Register Members List Search Today's Posts Mark Forums Read

Reply
 
Mod Options
WS vBulletin Tweet Poster Details »
WS vBulletin Tweet Poster
Mod Version: 4.1.0, by Mosh (Coder) Mosh is offline
Developer Last Online: Jun 2013 I like it Show Printable Version Email this Page

vB Version: 4.x.x Rating: (90 votes - 4.66 average) Installs: 592
Released: 19 Feb 2010 Last Update: 30 Jun 2013 Downloads: 3225
Not Supported Uses Plugins Additional Files Re-usable Code Translations  

Please click Mark as Installed if you are using this hack.

What Does This Hack Do?

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 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.
  1. cURL with OpenSSL compiled into your php - http://curl.haxx.se/, http://php.net/manual/en/book.curl.php
  2. 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:
  1. You need to have a normal Twitter account details to post to - http://twitter.com
  2. You will need to register a new Twitter Application (while logged with your normal Twitter account) - http://dev.twitter.com/apps/new
  3. You will need the items below for step 4 of the attached install instructions:
    1. Note down the "Consumer Key" and "Consumer Secret" (Under App Details)
    2. Note down the "Access Token" and "Access Token Secret" (under My Access Token on the App details screen)
  4. If you want to use bit.ly url shortening (Optional)
    1. You need to have registered with bit.ly to obtain a username and your API Key - http://bit.ly
  5. 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 Questions

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:

Block Disabled:      (Update License Status)  
Suspended or Unlicensed Members Cannot View Code.

Change it to:

Block Disabled:      (Update License Status)  
Suspended or Unlicensed Members Cannot View Code.

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:
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 Compatibility

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 Requests

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 Instructions

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 History

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


Thanks

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

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.


Donations

I would like to thank the following people for their kind donations:

Download Now

Only licensed members can download files, Click Here for more information.

Screenshots

Click image for larger version

Name:	phpinfo-curl.png
Views:	2933
Size:	6.2 KB
ID:	112588   Click image for larger version

Name:	phpinfo-json.png
Views:	2373
Size:	4.6 KB
ID:	112589   Click image for larger version

Name:	is.gd-preview.png
Views:	6403
Size:	86.2 KB
ID:	112591   Click image for larger version

Name:	tweets.png
Views:	3149
Size:	52.9 KB
ID:	122096  

Click image for larger version

Name:	admincp-options.jpg
Views:	1684
Size:	101.5 KB
ID:	126208   Click image for larger version

Name:	new_thread_3xx.png
Views:	2326
Size:	102.3 KB
ID:	126209   Click image for larger version

Name:	new_thread_4xx.png
Views:	2381
Size:	68.9 KB
ID:	126210  

Show Your Support

  • To receive notifications regarding updates -> Click to Mark as Installed.
  • If you like this modification support the author by donating.
  • This modification may not be copied, reproduced or published elsewhere without author's permission.
Similar Mod
Mod Developer Type Replies Last Post
Integration with vBulletin vBulletin Tweet Poster! Milad vBulletin 3.8 Add-ons 681 12 Mar 2016 22:42
Mini Mods Tweet-This (vBulletin Style) Sparrow-Sean vBulletin 4.x Template Modifications 31 27 Jul 2010 20:11

  #46  
Old 19 Mar 2010, 22:51
Mosh's Avatar
Mosh Mosh is offline
 
Join Date: Aug 2004
Location: Melbourne, Australia
Real name: Mosh Shigdar
Originally Posted by LbR View Post
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.

Originally Posted by SpaceStar View 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.
__________________
-- The WS Spiders List is still downloadable from vBulletin.com.
-- As of Monday 1st July 2013, I will no longer be supporting my hacks as I am leaving the vBulletin community due to medical and life-style reasons.
Reply With Quote
  #47  
Old 23 Mar 2010, 01:10
bigcurt's Avatar
bigcurt bigcurt is offline
 
Join Date: Nov 2004
Real name: Curtis C.
No way this works with 3.8, right? haha
__________________
My first vB template additions: Add User Color Legend - Add eBay profile to postbit
Curtis C.- Owner and Operator of KeyHunt
Important Linkage: Buy vB - vB Styles
Just wanna ask a vB related question contact me.
Reply With Quote
  #48  
Old 23 Mar 2010, 03:11
Mosh's Avatar
Mosh Mosh is offline
 
Join Date: Aug 2004
Location: Melbourne, Australia
Real name: Mosh Shigdar
Originally Posted by bigcurt View Post
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.
__________________
-- The WS Spiders List is still downloadable from vBulletin.com.
-- As of Monday 1st July 2013, I will no longer be supporting my hacks as I am leaving the vBulletin community due to medical and life-style reasons.
Reply With Quote
  #49  
Old 25 Mar 2010, 18:56
phkk phkk is offline
 
Join Date: Feb 2006
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
Reply With Quote
  #50  
Old 29 Mar 2010, 15:02
milaszewski milaszewski is offline
 
Join Date: Jun 2008
Polish characters are displaying incorrectly. Any way of changing it? Please take a look: www.twitter.com/dzwiek
Reply With Quote
  #51  
Old 30 Mar 2010, 01:03
delmarva's Avatar
delmarva delmarva is offline
 
Join Date: Jun 2006

Block Disabled:      (Update License Status)  
Suspended or Unlicensed Members Cannot View Code.

Same problem with the previous mod... Jeez
Reply With Quote
  #52  
Old 01 Apr 2010, 18:52
aspen1018 aspen1018 is offline
 
Join Date: May 2007
fantastic mod

works great
Reply With Quote
  #53  
Old 03 Apr 2010, 16:06
jaybolt jaybolt is offline
 
Join Date: Jun 2004
Thanks Mosh - always a pleasure to see you active on here mate. Installed and works perfectly
__________________
Regards

Jay
____________________
YD Scuba Forums
Reply With Quote
  #54  
Old 03 Apr 2010, 22:21
Mosh's Avatar
Mosh Mosh is offline
 
Join Date: Aug 2004
Location: Melbourne, Australia
Real name: Mosh Shigdar
Originally Posted by jaybolt View Post
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.
__________________
-- The WS Spiders List is still downloadable from vBulletin.com.
-- As of Monday 1st July 2013, I will no longer be supporting my hacks as I am leaving the vBulletin community due to medical and life-style reasons.
Reply With Quote
  #55  
Old 04 Apr 2010, 14:05
si_reading si_reading is offline
 
Join Date: Jul 2005
Great little hack thanks got it working already!
__________________
Simon Reading
--
MotionWorX
| http://motionworx.net/
Reply With Quote
  #56  
Old 04 Apr 2010, 14:56
delmarva's Avatar
delmarva delmarva is offline
 
Join Date: Jun 2006
Originally Posted by delmarva View Post
Block Disabled:      (Update License Status)  
Suspended or Unlicensed Members Cannot View Code.
Any update on this? Thanks
Reply With Quote
  #57  
Old 08 Apr 2010, 22:01
Uasuforos's Avatar
Uasuforos Uasuforos is offline
 
Join Date: Jun 2008
Real name: Luis Angel
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
Reply With Quote
  #58  
Old 12 Apr 2010, 23:03
Mastergumble Mastergumble is offline
 
Join Date: Sep 2008
Originally Posted by milaszewski View Post
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!!!
Reply With Quote
  #59  
Old 14 Apr 2010, 12:26
JHUMON JHUMON is offline
 
Join Date: Aug 2008
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]
__________________
www.hostsaller.com Hosting Service
www.forum4phone.com Gsm Community
Reply With Quote
  #60  
Old 14 Apr 2010, 17:07
zelnik zelnik is offline
 
Join Date: Aug 2008
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
Reply With Quote
Reply


Currently Active Users Viewing This Thread: 1 (0 members and 1 guests)
 
Mod Options

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is On
HTML code is Off


New To Site? Need Help?

All times are GMT. The time now is 07:25.

Layout Options | Width: Wide Color: