Closed (fixed)
Project:
Twitter
Version:
6.x-5.x-dev
Component:
Code
Priority:
Major
Category:
Bug report
Assigned:
Unassigned
Reporter:
Created:
1 Aug 2013 at 15:09 UTC
Updated:
9 Sep 2015 at 09:24 UTC
Jump to comment: Most recent, Most recent file
Comments
Comment #1
marthinal commentedHi,
I had the same problem in one of our D6 installations.
I have fixed the problem with this patch.
Hope it helps.
Cheers!
Comment #2
cigotete commentedHi marthinal, thanks, your suggestion has been useful.
Comment #3
marthinal commentedif this is a bug I think should be reviewed.
Comment #4
damienmckennaComment #5
marthinal commentedAt least major I think.
Comment #6
damienmckennaTriggering the testbot.
Comment #7
damienmckennaTriggering the testbot.
Comment #9
steinmb commentedCorrect me if I'm wrong but are we sure about this? Tested both 7.x-5.x and 6.x-5.x code is identical then it a point was backported from 7.x to 6.x, on clean Drupal installations with 3 twitter accounts. Two auth. and one not.
How do we actually reproduce this problem?
I agree I'm confused about the code in twitter_fetch_user_timeline(). Calling twitter_connect() with no id only result in the same (first authenticated account) account get called for each twitter account found by the module. I have no idea why it still work?
Comment #10
damienmckennaLets try this. Ported to 7.x-6.x.
Comment #11
damienmckennaPorted to 7.x-5.x.
Comment #12
damienmckennaPorted to 6.x-5.x.
Comment #13
damienmckennaI've read through the code. There are a few possible scenarios for the $account to not be able to access the twitter $id's timeline. So this update checks if the $account is authenticated, if so it is used, otherwise it uses the first authenticated account that could be found.
Comment #14
damienmckennaPorted to 7.x-5.x.
Comment #15
damienmckennaPorted to 6.x-5.x again.
Comment #16
damienmckennaComment #19
damienmckennaComment #21
damienmckennaRerolled for 7.x-5.x.
Comment #22
damienmckennaRerolled again, better this time.
Comment #23
damienmckennaRerolled for 7.x-6.x.
Comment #24
damienmckennaBackported to 6.x-5.x.
Comment #26
MixologicFyi: had to do some bot maintenance the d7 patch may not properly test, and may need a retest.
Comment #28
damienmckenna@Mixologic: Thanks for letting me know, we'll see how the latest patches work out.
Comment #30
damienmckennaCommitted.