Zen Cart Logo
Forums / All Other Contributions/Addons / AutoTweet [support]

AutoTweet [support]

Views: 51,022

Results 101 to 120 of 264
6 Jul 2010, 4:55 PM
#101
vatertime avatar

vatertime

New Zenner

Join Date:
Dec 2009
Posts:
18
Plugin Contributions:
0

AutoTweet [support]

Zozelli:

If Twitter goes down for any reason for instance, over capacity, the Twitter add on will cause an error on the cart website. Would it be possible to add an if-then-else type catch all to handle such a situation? New products cannot be entered while Twitter is down unless the code is commented out or some other workaround is used. The tweet goes out but the new product addition isn't realized and has to be reentered.

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.

11 Jul 2010, 10:17 PM
#102
irishshopper avatar

irishshopper

Zen Follower

Join Date:
Apr 2010
Location:
County Down, Northern Ireland
Posts:
302
Plugin Contributions:
0

Re: AutoTweet [support]

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

12 Jul 2010, 12:18 PM
#103
irishshopper avatar

irishshopper

Zen Follower

Join Date:
Apr 2010
Location:
County Down, Northern Ireland
Posts:
302
Plugin Contributions:
0

Re: AutoTweet [support]

Hi there. I take it the username and password are for Twitter do I ned them or an API key for a tinyURL account ?

4 Aug 2010, 2:30 PM
#104
totalsam avatar

totalsam

Zen Follower

Join Date:
Jan 2009
Posts:
126
Plugin Contributions:
0

Re: AutoTweet [support]

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

6 Aug 2010, 10:17 PM
#105
jamielife avatar

jamielife

Zen Follower

Join Date:
Dec 2009
Location:
Richmond, VA
Posts:
161
Plugin Contributions:
0

Re: AutoTweet [support]

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

7 Aug 2010, 9:09 AM
#106
jamielife avatar

jamielife

Zen Follower

Join Date:
Dec 2009
Location:
Richmond, VA
Posts:
161
Plugin Contributions:
0

Re: AutoTweet [support]

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.

11 Aug 2010, 1:08 PM
#107
jamielife avatar

jamielife

Zen Follower

Join Date:
Dec 2009
Location:
Richmond, VA
Posts:
161
Plugin Contributions:
0

Re: AutoTweet [support]

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

11 Aug 2010, 9:51 PM
#108
sunflowertami avatar

sunflowertami

Zen Follower

Join Date:
Jun 2008
Posts:
267
Plugin Contributions:
0

Re: AutoTweet [support]

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!!

11 Aug 2010, 9:57 PM
#109
totalsam avatar

totalsam

Zen Follower

Join Date:
Jan 2009
Posts:
126
Plugin Contributions:
0

Re: AutoTweet [support]

Hey,

I just installed this mod and I found these fields missing so installed it without and all seems to work fine.

Hope this helps.

Sam

sunflowertami:

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!!

11 Aug 2010, 10:15 PM
#110
sunflowertami avatar

sunflowertami

Zen Follower

Join Date:
Jun 2008
Posts:
267
Plugin Contributions:
0

Re: AutoTweet [support]

totalsam, what version of zencart are you using?

11 Aug 2010, 11:15 PM
#111
totalsam avatar

totalsam

Zen Follower

Join Date:
Jan 2009
Posts:
126
Plugin Contributions:
0

Re: AutoTweet [support]

Using 1.3.9e for the first time in my life I think I'm completely up to date :D

12 Aug 2010, 9:30 PM
#112
sunflowertami avatar

sunflowertami

Zen Follower

Join Date:
Jun 2008
Posts:
267
Plugin Contributions:
0

Re: AutoTweet [support]

Ok installed it and using 1.3.9e too, working ok. :) Thanks for a great mod!

14 Aug 2010, 5:10 AM
#113
jamielife avatar

jamielife

Zen Follower

Join Date:
Dec 2009
Location:
Richmond, VA
Posts:
161
Plugin Contributions:
0

Re: AutoTweet [support]

Hey sorry, for some reason I didn't get an email about new thread comments.

Anyway, I'll update the instructions (that's what i get for copying the previous version's instructions and thinking i wouldn't miss something.)

To clarify, you no longer need your twitter username or password.

when you make an app you just need the app info.

sorry for the mix up.

Also: yes you can delete the old twitter folder.

25 Aug 2010, 1:04 PM
#114
craftyhobbiesuk avatar

craftyhobbiesuk

New Zenner

Join Date:
Dec 2009
Location:
Tilbury, Essex
Posts:
6
Plugin Contributions:
0

Re: AutoTweet [support]

Hi jamie what a great add on this is only thing i keep getting error message. it reads

Twitter could not be updated: 401 Unauthorized: Incorrect signature
To paste the code into twitter yourself use:
New product available: ABC Paper Piecing! Check it out now at http://bit.ly/bjKT3A

i am new to this sort of thing and just cant get it work any ideas would be greatly appreciated

thanks for taking time to read
john craftyhobbieuk.com

25 Aug 2010, 2:00 PM
#115
jamielife avatar

jamielife

Zen Follower

Join Date:
Dec 2009
Location:
Richmond, VA
Posts:
161
Plugin Contributions:
0

Re: AutoTweet [support]

craftyhobbiesuk:

Hi jamie what a great add on this is only thing i keep getting error message. it reads

Twitter could not be updated: 401 Unauthorized: Incorrect signature
To paste the code into twitter yourself use:
New product available: ABC Paper Piecing! Check it out now at http://bit.ly/bjKT3A

i am new to this sort of thing and just cant get it work any ideas would be greatly appreciated

thanks for taking time to read
john craftyhobbieuk.com

Sounds like you got the wrong $oauthTokenSecret Double check your twitter app "my access" token secret. And make sure all of the following are right;

$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

Remember; the username and pasword are now replaced by the consumer key, consumer secret, oauthToken, oauthTokenSecret, so if you're getting 'Unauthorized ' it's probably there.

30 Aug 2010, 9:38 AM
#116
martin1979 avatar

martin1979

New Zenner

Join Date:
Aug 2010
Posts:
4
Plugin Contributions:
0

Re: AutoTweet [support]

Hi Jamie,
Nice mod, I have installed this add on.
I followed your instruction step by step. Ok, i now ready to add a new product , i can preview , But once i click the INSERT button on the preview page , i just got one blank page. Nothing else happened , the product hasnot been inserted either. What is wrong?
No other errors, Only a blank page.
Thanks, i really like your work.
BTW,i just upgrade zencart to 1.3.9f from 1.3.8a
Martin

30 Aug 2010, 11:09 AM
#117
jamielife avatar

jamielife

Zen Follower

Join Date:
Dec 2009
Location:
Richmond, VA
Posts:
161
Plugin Contributions:
0

Re: AutoTweet [support]

Martin1979:

Hi Jamie,
Nice mod, I have installed this add on.
I followed your instruction step by step. Ok, i now ready to add a new product , i can preview , But once i click the INSERT button on the preview page , i just got one blank page. Nothing else happened , the product hasnot been inserted either. What is wrong?
No other errors, Only a blank page.
Thanks, i really like your work.
BTW,i just upgrade zencart to 1.3.9f from 1.3.8a
Martin

Is the product still added to your store? and is it added to your facebook?

31 Aug 2010, 3:43 AM
#118
martin1979 avatar

martin1979

New Zenner

Join Date:
Aug 2010
Posts:
4
Plugin Contributions:
0

Re: AutoTweet [support]

jamielife:

Is the product still added to your store? and is it added to your facebook?
No , the product is not added to my store. After clicking the INSERT button, i got a blank page only. But it is added to the my twitter account . ? What is the problem?
Is that session problem?
Thanks

31 Aug 2010, 11:15 AM
#119
jamielife avatar

jamielife

Zen Follower

Join Date:
Dec 2009
Location:
Richmond, VA
Posts:
161
Plugin Contributions:
0

Re: AutoTweet [support]

Can you post your autofacebook code for me. (make sure you remove personal info i.e. app id, secret, token, etc).

Did you include the perion at the end of your page_token?

31 Aug 2010, 4:06 PM
#120
joey2025 avatar

joey2025

New Zenner

Join Date:
Oct 2009
Posts:
2
Plugin Contributions:
0

Re: AutoTweet [support]

this is my error

Twitter could not be updated: 401 Unauthorized: Could not authenticate you.
To paste the code into twitter yourself use:

but i think it is asking for this

$oauthTokenSecret = "Your my access oauth token secret"; //twitter app "my access" token secret.

Could you please tell me what these fields are referred to in twitter. because i can not find a "my access" token secret anywhere.

thanks
Joey
:dontgetit :unsure::censored::frusty:

I am presently using: v1.3.9f
I am presently using PHP5