diff --git a/core_examples/current_trends.py b/core_examples/current_trends.py index 53f64f1..e8f2ff2 100644 --- a/core_examples/current_trends.py +++ b/core_examples/current_trends.py @@ -2,6 +2,10 @@ from twython import Twython """ Instantiate Twython with no Authentication """ twitter = Twython() -trends = twitter.getCurrentTrends() + +# twitter has now depreciated the API endpoint att getCurrentTrends() +# instead use the trendsByLocation() method - see https://dev.twitter.com/docs/api/1/get/trends/current + +trends = twitter.trendsByLocation() print trends