if i add a twitter account to my profile, then delete it and add another the system will get confused and use both accounts... if i have a 3rd or 4th it will just get more complicated.
i cannot post to twitter because it posts to whatever my first account created was.
| Comment | File | Size | Author |
|---|---|---|---|
| #6 | twitter-multiple-accounts-api-356379.txt | 1.96 KB | sillygwailo |
| #5 | twitter-401-authentication-2.4-356379.txt | 475 bytes | sillygwailo |
| #4 | twitter-401-authentication-335459.patch.txt | 2.09 KB | sillygwailo |
| #2 | twitter-multiple-accounts.patch-356379.txt | 1.7 KB | sillygwailo |
Comments
Comment #1
jaydub commentedit's possible that this is related to the problem reported here: #379678: No data added to {twitter_account} since that issue means that new twitter accounts are not added 100% correctly and in this case the delete of the not correctly created account does not remove the relevant row from the twitter_account (or twitter_user table - I can't recall) table.
Comment #2
sillygwailoAttached is a patch to dev that I claim will post to all Twitter accounts a user has where they've entered a password, but not (obviously) for those that don't have a password associated with them. (Adding a cross-reference to http://drupal.org/node/335459 )
Comment #3
Leeteq commentedSubscribing.
Comment #4
sillygwailoUpdating the patch for 2.3. Takes into account whether the password is set for the account, so that it doesn't display an error if it fails for a password not being set (since it would definitely fail).
Comment #5
sillygwailoUpdating for 2.4. This only modifies twitter.module: the twitter.inc modifications in the patch appear not to be necessary for this version.
Comment #6
sillygwailoUpdating for 2.6. Adds some logic for the messages reported on successful post. It will only post a 'success' message to Drupal if there's a password set on the Twitter account. That is, since only an account with a password set can post to Twitter, it will not display a 'success' message for accounts without passwords in a user's settings.
Comment #7
ianreeves commentedThis patch works very well for me so far. Thanks Richard.
Comment #8
mcurry commentedsubscribing
Comment #9
ThaboGoodDogs commentedStill having the same problem as described above:
Add an account. Then delete the account and add another.
Drupal shows new account correctly on user page (the new account) but looking at the database tables I see the old account and all tweets from it and the old tweets from the deleted account are still there.
www.VortexVideBlog.com
Comment #10
robby.smith commentedpatch at #6
is this still an issue in latest dev?
Comment #11
NiklasBr commented@robby.smith
I think so, or at least it is causing trouble for me running the latest release (by date, the beta 2 is the latest), I get multiple errors like:
user warning: Duplicate entry '0' for key 1 query: INSERT INTO d6_twitter (twitter_id, screen_name, created_at, created_time, text, source, truncated) VALUES (-10314781, 'Flipshotfilm', 'Mon Apr 26 10:05:19 +0000 2010', 1272276319, 'RT @voodoofilm RT @metroteknik: Diskettens dagar är nu officiellt räknade: Sista tillverkaren slutar sin försäljning http://bit.ly/8YAaEW', '<a href=\"http://www.htc.com\" rel=\"nofollow\">HTC Peep</a>', 0) in /users/home/spot/domains/flipshot.se/web/public/includes/common.inc on line 3477.I did as the original poster did: First add one account, seeing it all work as it was supposed to, the deleting that account and adding a new Twitter account. It imports fine though. Edit: This is not an identical error but it looks to me to be the symptom of the same bug, somewhere...
Comment #12
NiklasBr commentedI made a temporary solution that involved manually copying the twitter ID# into {twitter} table. Now the error message is gone.
Comment #13
pelicani commentedI found this thread very useful.
However, there seem to be 2 conversations going on.
The patches that I applied made it possible for me to submit a single request and post the twitter post to multiple accounts.
The main post may not be directly related to this issue.
They appear to have a problem with deleting an account and adding a new one.
I hope this helps, I know that patch will help me.
Now I just need to find the corresponding patch that lets me select which of the multiple accounts I want the post to go to.
peace,
michael
Comment #14
jannalexx commentedsub
Comment #15
g.k commentedsub +1
Comment #16
summit commentedSubscribing, greetings, Martijn
Comment #17
Leeteq commentedIs this only relevant for 6.x, or should it be fixed in the 7.x branch and backported?
Comment #18
michaek commented7.x is effectively behind 6.x, as a lot of changes will need to be ported forward.
Comment #19
steinmb commentedHi
Could not find any work on this issue in the 6.x code base. Perhaps we should move this issue to 7.x to get fixed there and then backported to 6.x? This issue is about the same as #418784: Post to multiple twitter accounts
Comment #20
juampynr commentedThere will be some progress on this and other issues this Saturday, as we are doing a Spanish DrupalConTribute event, where all areas of the module (code, support, new features, documentation, tests) will be improved by a group of people.
http://groups.drupal.org/node/190074
Comment #21
steinmb commentedWell, my Spanish is a bit rusty ;) but I was able to read some of it. This is fantastic news. Good luck with your code sprint :)
Comment #22
toleillo commentedRelated issue for comment http://drupal.org/node/356379#comment-2899174
http://drupal.org/node/1346744
Comment #23
davidneedhamAny luck @juampy?
Comment #24
dddave commentedStill relevant? Setting against a better version.
Comment #25
xurizaemonNo progress in several months. Please re-open if you can contribute to this issue.