Closed (fixed)
Project:
Twitter search
Version:
7.x-1.x-dev
Component:
Code
Priority:
Normal
Category:
Feature request
Assigned:
Unassigned
Reporter:
Created:
6 Apr 2013 at 22:27 UTC
Updated:
2 May 2013 at 12:40 UTC
Jump to comment: Most recent file
Comments
Comment #1
sheldon rampton commentedHere's a patch that upgrades this module to my version for Drupal 7. It requires the 7.x-5.6 version of the Twitter module, and also requires a patch to fix the search_tweets method in the Twitter module's class library, as documented here:
http://drupal.org/node/1963524
Comment #2
sheldon rampton commentedI noticed a bug in my previous version, so here's a rerolled patch that fixes it.
I've also created a Github repository with the Drupal 7 code so people can get it that way (and so it is easier for me to maintain while I'm waiting to see if the current module maintainer can give me maintainer status):
https://github.com/sheldonrampton/twitter_search
Comment #3
sheldon rampton commentedIf anyone would care to see an example of the Twitter Search module for D7 in actual production, here's a website I built using it:
http://www.hackforchange.org/
The Twitter hashtag blocks on the home page and on individual event pages were all created using the Twitter Search module and Drupal views. I also wrote a few lines of glue code so that each event node can display a different hashtag block, depending on a textfield entered when the event node is saved.
Comment #4
lukusHey Sheldon
I've installed the module and I've added a search term but I'm unable to retrieve any listings .. maybe I'm not using it in the correct way.
Could you let me know what I need to do to get the results?
One other thing, if I try to delete my term - I'm unable to do so .. I'm asked if I'm sure I want to delete the term "", rather than the term requested.
in file
twitter_search.pages.incshould be
Comment #5
lukusAlso, could you confirm whether this is using Twitters API v.1?
Comment #6
sheldon rampton commented@lukus: Yes, this uses the new Twitter API, as does the current release of the Twitter module upon which it depends.
It should retrieve Twitter statuses containing your search terms when you run cron.
I'll look into the bug you reported related to deletion of search terms.
Comment #7
lukus@Sheldon Rampton;
Hey, works very well - thank you very much for all your work. Really is very useful.
I didn't realise that the twitter module needed the patch (which you mention in http://drupal.org/node/1963424#comment-7267516); after I applied that all worked as designed.
Thanks :)
Comment #8
sheldon rampton commented@lukus: The module's original owner has added me as a co-maintainer of the project, so I've created a full dev release here for the 7.x-1.x version of this module. I've also updated the twitter_search_delete_confirm() function to use the correct argument. Thanks for that fix.