Hi. The Twitter module is not pulling tweets, shows nothing on user page '/tweets/' or under '/tweets' . On twitter tab (/admin/settings/twitter) the account has been authenticated and is displayed correctly in the list (also has been enabled the checkbox 'tweets' to pull the tweets), but nothing appears under the 'twitter' database table and the table remains empty after execution of cron.
| Comment | File | Size | Author |
|---|---|---|---|
| #24 | twitter-n2055685-24-6.x-5.x.patch | 1.08 KB | damienmckenna |
| #23 | twitter-n2055685-23-7.x-6.x.patch | 1.13 KB | damienmckenna |
| #22 | twitter-n2055685-22-7.x-5.x.patch | 1.12 KB | damienmckenna |
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.