Closed (fixed)
Project:
Twitter Block
Version:
7.x-1.x-dev
Component:
Code
Priority:
Normal
Category:
Task
Assigned:
Issue tags:
Reporter:
Created:
1 Mar 2011 at 13:37 UTC
Updated:
3 Mar 2014 at 01:30 UTC
Jump to comment: Most recent, Most recent file
Comments
Comment #1
madhusudan commentedThis is already there..
check this
http://www.ostraining.com/blog/drupal/showing-a-twitter-feed-in-a-drupal...
and this is working for me. :-)
Comment #2
joachim commentedThanks for the link... doesn't seem to be code that's hosted on d.org though.
My point was that a D6 version of this could live in this project's git repository and be downloadable here.
I'll certainly take a look at the code at that link though. (Not sure why it's asking for twitter password though, and how it's storing it...)
Comment #3
ZenDoodles commentedI'd gladly look at a D6 port if you wanted to contribute it.
Comment #4
Anonymous (not verified) commented+1 for an "official" D6 version of this module
Comment #5
pabloveintitres commented+2 for a 6.x "official", the lack on the 6.x version linked here is that you can't display hashtags instead an user's tweets.
Comment #6
gunwitch commented+3 for a 6.x version.
So many sites still use D6 and we need a *simple* Twitter module without all these bells and whistles just for listing our recent tweets.
Comment #7
missmobtown commentedYes, please! Desperate for a reliable, *simple* Twitter mod for 6.x
Comment #8
redaccion commented+1
Comment #9
Laxman13 commentedAs it turns out, I needed a D6 version of this as well. Here is a basic back port to 6.x. Very few changes were made from the 7.x version, just a few fixes here and there.
For some reason I could not get the curl request working on either of the servers I tried it on, and honestly I don't know curl so swapped in a
drupal_http_request()instead and it works fine. The code changes for this will be found in twitter.class.php underfunction search()(line 125) and in twitter_block.module (line 183), changedjson_decode($twitter->getJSON());tojson_decode($twitter->getJSON()->data);Comment #10
Laxman13 commentedchanging status
Comment #11
ZenDoodles commentedBeautiful @Laxman13 I'm going to review and test this.
Thanks so much!
Comment #12
ahoymehearties commentedMuch thanks, Laxman! I'm getting an error though -
Invalid argument supplied for foreach()on line 270. That is:It sometimes works fine, and it sometimes just fails completely. I'm really at a loss as to what to do in that case! If you're around, I'd love a bit of help.
Comment #13
cweagansLet's finish 7.x first.
Comment #14
ZenDoodles commentedI've begun the backport (see git instructionsfor the code. It is still broken, but I ran out of time. I'm sorry, but I do not expect this to be a high priority, but now that it's in git, folks can work on patches.
Drupal 8 is scheduled for feature freeze soon. Y'all should really upgrade anyhow. :)
Comment #15
ZenDoodles commentedComment #16
devin carlson commentedA patch to fix the remaining problems with the 6.x branch and bring it up to speed with the 7.x branch.
I'll try to do some extensive testing tonight and fix up and remaining problems but help is always appreciated!
Comment #17
devin carlson commentedCommitted #16 to 6.x-1.x.
I'm marking this as fixed and will open new issues for specific problems with the 6.x-1.x branch.
Comment #20
mttjn commentedSorry to be stupid, but where is the 6.x-1.x. version as per #17 please? I can't see it on the "View all releases" page at https://drupal.org/node/1037610/release.
Since I couldn't find it I tried to recreate the process using patch in #16 on the module in #9 and it keeps failing:
Would appreciate any help. Thanks.
Comment #22
cweagansmttjn, there's no snapshot release or anything, so you'll have to pull it from git. See directions on this page: https://drupal.org/node/1037610/git-instructions/6.x-1.x
Comment #23
mttjn commentedThanks, cweagans