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

AutoTweet [support]

Views: 51,022

Results 121 to 140 of 264
31 Aug 2010, 11:51 PM
#121
bluedotted avatar

bluedotted

New Zenner

Join Date:
Oct 2008
Posts:
64
Plugin Contributions:
0

AutoTweet [support]

joey2025:

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

Under your apps click on My Access Token to the right those tokens will be listed there.

1 Sep 2010, 6:19 AM
#122
martin1979 avatar

martin1979

New Zenner

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

Re: AutoTweet [support]

jamielife:

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?
thanks , it works for me when i combine both facebook and twitter in update_product.php
Thanks for your mod

2 Sep 2010, 2:35 AM
#123
joey2025 avatar

joey2025

New Zenner

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

Re: AutoTweet [support]

thanks for the help ... now for my even more bone head question ... how do i get the auto facebook and auto tweet to work at the same time

2 Sep 2010, 1:42 PM
#124
frank18 avatar

frank18

Deceased

Join Date:
Nov 2007
Location:
Sunny Coast, Australia
Posts:
3,427
Plugin Contributions:
2

Re: AutoTweet [support]

Just had this msg from Twitter in my mailbox:

Over the coming weeks, we will be making two important updates that will impact how you interact with Twitter applications. We are sending this notice to all Twitter users to make sure you are aware of these changes.

What are applications?

There are over 250,000 applications built using the Twitter API. To use most applications, you first authorize the application to access your Twitter account, after which you can use it to read and post Tweets, discover new users and more. Applications come in many varieties, including desktop applications like TweetDeck, Seesmic, or EchoFon, websites such as TweetMeme, fflick, or Topsy, or mobile applications such as Twitter for iPhone, Twitter for Blackberry, or Foursquare.

Update 1: New authorization rules for applications

Starting August 31, all applications will be required to use “OAuth” to access your Twitter account.

What's OAuth?

OAuth is a technology that enables applications to access Twitter on your behalf with your approval without asking you directly for your password.
Desktop and mobile applications may still ask for your password once, but after that request, they are required to use OAuth in order to access your timeline or allow you to tweet.

What does this mean for me?

Applications are no longer allowed to store your password.
If you change your password, the applications will continue to work.
Some applications you have been using may require you to reauthorize them or may stop functioning at the time of this change.
All applications you have authorized will be listed at http://twitter.com/settings/connections.
You can revoke access to any application at any time from the list.

Update 2: t.co URL wrapping

In the coming weeks, we will be expanding the roll-out of our link wrapping service t.co, which wraps links in Tweets with a new, simplified link. Wrapped links are displayed in a way that is easier to read, with the actual domain and part of the URL showing, so that you know what you are clicking on. When you click on a wrapped link, your request will pass through the Twitter service to check if the destination site is known to contain malware, and we then will forward you on to the destination URL. All of that should happen in an instant.

You will start seeing these links on certain accounts that have opted-in to the service; we expect to roll this out to all users by the end of the year. When this happens, all links shared on Twitter.com or third-party apps will be wrapped with a t.co URL.

What does this mean for me?

A really long link such as http://www.amazon.com/Delivering-Happiness-Profits-Passion-Purpose/dp/0446563048 might be wrapped as http://t.co/DRo0trj for display on SMS, but it could be displayed to web or application users as amazon.com/Delivering- or as the whole URL or page title.
You will start seeing links in a way that removes the obscurity of shortened links and lets you know where each link will take you.
When you click on these links from Twitter.com or a Twitter application, Twitter will log that click. We hope to use this data to provide better and more relevant content to you over time.

Thanks for reading this important update. Come and check what's new at http://twitter.com.

Thanks,
The Twitter Team

Will AutoTweet be affected by these changes?

2 Sep 2010, 1:53 PM
#125
slitter avatar

slitter

New Zenner

Join Date:
Jun 2005
Posts:
39
Plugin Contributions:
0

Re: AutoTweet [support]

I am using Zen cart 1.3.8.a
PHP Version 5.2.13
Autotweets has been working fine for over a month until this morning when I got this message trying to add a new product:

Fatal error: Uncaught exception 'TwitterException' with message 'Basic authentication is not supported' in /home/pro2move/public_html/webwinkel/admin/twitter/twitter.php:204 Stack trace: #0 /home/pro2move/public_html/webwinkel/admin/twitter/twitter.php(648): Twitter->doCall('statuses/update...', Array, true) #1 /home/pro2move/public_html/webwinkel/admin/twitter/autoTweet.php(21): Twitter->updateStatus('Nieuw artikel v...') #2 /home/pro2move/public_html/webwinkel/admin/includes/modules/update_product.php(88): include_once('/home/pro2move/...') #3 /home/pro2move/public_html/webwinkel/admin/product.php(62): require('/home/pro2move/...') #4 {main} thrown in /home/pro2move/public_html/webwinkel/admin/twitter/twitter.php on line 204
:
Any idea what might have caused this?

3 Sep 2010, 2:18 PM
#126
louis avatar

louis

Zen Follower

Join Date:
Jul 2006
Location:
Johannesburg
Posts:
408
Plugin Contributions:
0

Re: AutoTweet [support]

slitter:

I am using Zen cart 1.3.8.a
PHP Version 5.2.13
Autotweets has been working fine for over a month until this morning when I got this message trying to add a new product:

Fatal error: Uncaught exception 'TwitterException' with message 'Basic authentication is not supported' in /home/pro2move/public_html/webwinkel/admin/twitter/twitter.php:204 Stack trace: #0 /home/pro2move/public_html/webwinkel/admin/twitter/twitter.php(648): Twitter->doCall('statuses/update...', Array, true) #1 /home/pro2move/public_html/webwinkel/admin/twitter/autoTweet.php(21): Twitter->updateStatus('Nieuw artikel v...') #2 /home/pro2move/public_html/webwinkel/admin/includes/modules/update_product.php(88): include_once('/home/pro2move/...') #3 /home/pro2move/public_html/webwinkel/admin/product.php(62): require('/home/pro2move/...') #4 {main} thrown in /home/pro2move/public_html/webwinkel/admin/twitter/twitter.php on line 204
:
Any idea what might have caused this?

Same here! Twitter must have changed something in the authentication process.

3 Sep 2010, 2:51 PM
#127
louis avatar

louis

Zen Follower

Join Date:
Jul 2006
Location:
Johannesburg
Posts:
408
Plugin Contributions:
0

Re: AutoTweet [support]

Update 1: New authorization rules for applications

Starting August 31, all applications will be required to use “OAuth” to access your Twitter account.

What's OAuth?

OAuth is a technology that enables applications to access Twitter on your behalf with your approval without asking you directly for your password.
Desktop and mobile applications may still ask for your password once, but after that request, they are required to use OAuth in order to access your timeline or allow you to tweet.

What does this mean for me?

Applications are no longer allowed to store your password.
If you change your password, the applications will continue to work.
Some applications you have been using may require you to reauthorize them or may stop functioning at the time of this change.
All applications you have authorized will be listed at http://twitter.com/settings/connections.
You can revoke access to any application at any time from the list.

And now we wait for the updated mod to be made available. :cool:

6 Sep 2010, 7:13 PM
#128
jamielife avatar

jamielife

Zen Follower

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

Re: AutoTweet [support]

The new updates will not affect autoTweet 3 which is in compliance with the new oauth method of authentication.

If you are having errors, please update to version 3.0.

6 Sep 2010, 7:15 PM
#129
jamielife avatar

jamielife

Zen Follower

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

Re: AutoTweet [support]

Louis:

And now we wait for the updated mod to be made available. :cool:

Updated mod was already released preemptively on august 11th and has been confirmed working as of 3pm on 9-6-2010.

So you shouldn't have to wait at all. :)

6 Sep 2010, 10:16 PM
#130
joannem avatar

joannem

Zen Follower

Join Date:
Jul 2009
Posts:
110
Plugin Contributions:
0

Re: AutoTweet [support]

jamielife:

Updated mod was already released preemptively on august 11th and has been confirmed working as of 3pm on 9-6-2010.

So you shouldn't have to wait at all. :)

Hi there, I just downloaded version 3.0 and set up my api at Twitter as well as my bitly account.

Everything is great except for in your instructions you say:

  1. Now edit lines 96 through 100 like so:

a. $twitUsername = your twitter user name.

b. $twitPassword = your twitter password.

c. $bitlyUsername = your bit.ly user name (available for free at https://www.bit.ly)

There are no references to the twitter username and password in that file - this is the code:

// start autoTweet 3.0
//User Settings.
$consumerKey = "3QVuGT5Uag08Z7rzbYmBJg"; //twitter app consumer key.
$consumerSecret = "IJ7dB3JcnrZpLfVCEktwrnQMGKohcmxfpvp5erdJeo"; //twitter app consumer secret.
$oauthToken = "37597468-9VXjZazZghrNFyK5kdCRgXEPFumExvjKq0LmFRsmo"; //twitter app "my access" token
$oauthTokenSecret = "N7gRdpHOBbXl2NLK3EFNEb4esnqbTgo2HNq85v2ag"; //twitter app "my access" token secret.
$bitlyUsername = "jojomart"; //bit.ly username
$bitApiKey = "R_9884425471a569adc50916e630c844dd"; //bit.ly api key.
$storeUrl = "www.joannes-digital-designs.com"; //url to the homepage of your store.
$showprice = 1; // Show the product price? 0 = off, 1 = on. no quotes.
$timeout = 10; //seconds to wait for twitter & bit.ly. This can be left alone.

What do I do??

Thanks,
Joanne

6 Sep 2010, 10:21 PM
#131
jamielife avatar

jamielife

Zen Follower

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

Re: AutoTweet [support]

Yeah, that was an error in the documentation;

all you need is:

$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.

for twitter to work.

Just ignore the username and password stuff.

6 Sep 2010, 10:21 PM
#132
irishshopper avatar

irishshopper

Zen Follower

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

Re: AutoTweet [support]

This all sounds far too complicated for me. Can anyone tell me what files I need to change to remove the OLD Autotweet facility and go back to the PRE Autotweet days.

Cannot remember what files I altered, possibly I did keep a copy of the original files before adding in any changes.

6 Sep 2010, 10:28 PM
#133
jamielife avatar

jamielife

Zen Follower

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

Re: AutoTweet [support]

irishshopper:

This all sounds far too complicated for me. Can anyone tell me what files I need to change to remove the OLD Autotweet facility and go back to the PRE Autotweet days.

Cannot remember what files I altered, possibly I did keep a copy of the original files before adding in any changes.

just upload your original update_product.php file to admin/includes/modules/

then delete the twitter folder.

12 Sep 2010, 1:08 PM
#134
frank18 avatar

frank18

Deceased

Join Date:
Nov 2007
Location:
Sunny Coast, Australia
Posts:
3,427
Plugin Contributions:
2

Re: AutoTweet [support]

Just installed autoTweet 3.0 in one store (1.3.9f) and it works perfectly.

Then went to do the same in another store, also 1.3.9f (different token, URL etc of course) and I am getting

Error Twitter could not be updated: 401 Unauthorized: Read-only application cannot POST
To paste the code into twitter yourself use:
New product available: Test Product - please ignore! Check it out now at http://bit.ly/ahbPVY

Double checked that I pasted the various codes ok: all good.

Any ideas what could have gone wrong?

TIA

12 Sep 2010, 1:19 PM
#135
patf avatar

patf

Zen Follower

Join Date:
May 2008
Posts:
200
Plugin Contributions:
0

Re: AutoTweet [support]

When you set up the twitter ap you set it as a read only application. There is a setting there if memeory serves me you need to change.

12 Sep 2010, 1:20 PM
#136
patf avatar

patf

Zen Follower

Join Date:
May 2008
Posts:
200
Plugin Contributions:
0

Re: AutoTweet [support]

In your application settings at dev.twitter.com check the defautl access type isn't set to read only. :smile:

12 Sep 2010, 1:21 PM
#137
frank18 avatar

frank18

Deceased

Join Date:
Nov 2007
Location:
Sunny Coast, Australia
Posts:
3,427
Plugin Contributions:
2

Re: AutoTweet [support]

That's what I looked at in first place. But - it is set as Read / Write, just as in the other shop which works fine.

12 Sep 2010, 2:48 PM
#138
patf avatar

patf

Zen Follower

Join Date:
May 2008
Posts:
200
Plugin Contributions:
0

Re: AutoTweet [support]

That error message is twitter saying your app does not have permission to write to twitter. Maybe something went wrong with the app at twitter. Have you tried creating a new one to see if error is replicated ??

12 Sep 2010, 7:23 PM
#139
jamielife avatar

jamielife

Zen Follower

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

Re: AutoTweet [support]

PatF:

That error message is twitter saying your app does not have permission to write to twitter. Maybe something went wrong with the app at twitter. Have you tried creating a new one to see if error is replicated ??

^I agree

You'll need to re-authorize the app. The credentials are generated based on the type of app and were probably generated for the read only app, and not the read/write app. Some kind of security safe gaurd on twitter's end.

Anyway creating a new one will probably fix this issue.

12 Sep 2010, 9:13 PM
#140
frank18 avatar

frank18

Deceased

Join Date:
Nov 2007
Location:
Sunny Coast, Australia
Posts:
3,427
Plugin Contributions:
2

Re: AutoTweet [support]

jamielife:

^I agree

You'll need to re-authorize the app. The credentials are generated based on the type of app and were probably generated for the read only app, and not the read/write app. Some kind of security safe gaurd on twitter's end.

Anyway creating a new one will probably fix this issue.

Thanks Jamie, that confirms my line of thinking. I will do just that after work tonight.