Cannot get trends with twitter API


After created a twitter application and get consumer key ,etc i create a python function to make connection with the twitter API. When i run it i got success status but when i use an other function to get trends from africa that’s identified by 24865670 according to Yahoo! GeoPlanet.When i run the function in Ipython i get that as result: Twitter sent status 404 for URL: 1.1/trends/place.json using parameters: and i cannot be authenticate.
Is someone can help me. I’m new in using twitter API.