Permalink
Browse files

use now api end-point for trends

  • Loading branch information...
1 parent cc8c648 commit 56abbcae96f123647b1b33bc2baece2393718673 @stevenwilkin committed Apr 15, 2011
Showing with 1 addition and 1 deletion.
  1. +1 −1 lib/get_trends.rb
View
2 lib/get_trends.rb
@@ -7,7 +7,7 @@
# `gbv=1` causes finshed html page to be returned instead of a huge amount of javascript
SEARCH = 'http://images.google.com/images?gbv=1&q='
-TRENDS = 'http://search.twitter.com/trends.json'
+TRENDS = 'http://api.twitter.com/1/trends.json'
RESULTS = File.dirname(__FILE__) + '/../var/trends.json'
# peforms a google image search for `q` and returns the url of the first image returned

0 comments on commit 56abbca

Please sign in to comment.