I would be interested in this as well. As a temporary fix, I had to comment out the includes statement in admin/includes/modules/update_product.php ~Line 95 so that my products would still publish even though twitter is down.
Printable View
Have just installed this in http://www.irishshopper.com but when I try to access the test file (testfile.php) I receive these error messages
Fatal error: Uncaught exception 'TwitterException' with message 'Status is a duplicate.' in /home2/irishisb/public_html/isa38/twitter/twitter.php:204 Stack trace: #0 /home2/irishisb/public_html/isa38/twitter/twitter.php(648): Twitter->doCall('statuses/update...', Array, true) #1 /home2/irishisb/public_html/isa38/twitter/testfile.php(21): Twitter->updateStatus('New Product Ava...') #2 {main} thrown in /home2/irishisb/public_html/isa38/twitter/twitter.php on line 204
Hi there. I take it the username and password are for Twitter do I ned them or an API key for a tinyURL account ?
I have just attempted to install this but I have a problem, in the latest download there is no "autoTweet.php" file in the admin folder....what to do?
I guess either the instructions need updating else someone forgot to put it in :P
Hi everyone, sorry for my absense, things got crazy with work .I'll be developing a new version of autoTweet here soon. I think the time-out catch is a good idea, and I'll double check the documentation to make sure it is up to date.
Sorry for any inconvenience,
Jamie
Just submitted autoTweet 2.0 should be up soon, in the meantime you can download it from my site @ http://htmyell.com/autotweet-2-0-now-available.
Change log v 2.0:
- Made install much easier (about 3 minutes)
- Added option to turn on/off price.
- Added twitter error checking set 10 second timeout so store doesn't break if twitter goes down.
- Added bit.ly error checking in case links don't shortening.
p.s. upgrading is super simple just fill in your current info, replace the update_product.php file, and you're done.
As always I will try my best to support these mods. Let me know how it works for you.
OK, sooooo... this is embarassing.
After making autoTweet 2, I stumbled upon the fact that the method twitter uses to make API calls is changing over to OAuth starting on August 16th, 2010. This change will be mandatory and effectively render autoTweet 2 useless.
So... that having been said... autoTweet 3 is now out!
It uses the required OAuth procedures as well as cURL to authenticate API calls.
Also, I've added message stack error reporting so you know what worked and what didn't after submitting your problem.
To reiterate, autoTweet 2 and below will not work after August 16th, 2010.
Update Now:
I've submitted the new version to Zen-Cart but in the meantime you can update now at my site via:
http://htmyell.com/autotweet-3-0
Hi Jamie,
I'm a bit confused. Your installation instructions says to enter the username and password for twitter on line 96 to 100, however that line has been replaced by:
$consumerKey = "Your twitter app consumer key"; //twitter app consumer key.
$consumerSecret = "Your twitter app consumer secret"; //twitter app consumer secret.
$oauthToken = "Your my access oauth token"; //twitter app "my access" token
$oauthTokenSecret = "Your my access oauth token secret"; //twitter app "my access" token secret.
$bitlyUsername = "your bitly username"; //bit.ly username
$bitApiKey = "Your bitly API key"; //bit.ly api key.
$storeUrl = "www.your-store.com"; //url to the homepage of your store.
$showprice = 0; // Show the product price? 0 = off, 1 = on. no quotes.
$timeout = 10; //seconds to wait for twitter & bit.ly. This can be left alone.
Is the username and pasword now replaced by the consumer key etal?
Also once this new module is uploaded do we just delete the old twitter folder?
Thanks for all the work!!
totalsam, what version of zencart are you using?