Trends


#1

Hi,

I am using the api “https://api.twitter.com/1.1/trends/available.json” to retreive the available trends,But it’s returning the results for places trends.
Actual twitter shows different trends.Can some body help how to get trending topics in twitter api


#2

Personalized trends aren’t available from the API, if that’s what you’re looking for. Only place-based trends.


#3

Hello,
What about newly added local trends such as Ukraine and Poland? They are not returned by trends/available.
Can I submit this as an issue?
Thanks!


#4

Are you still seeing this issue? When I look at trends/available I’m seeing Poland and Ukraine.


#5

Yes, I’m using Tweepy (https://github.com/tweepy/tweepy) and it returns 35 countries, no Ukraine or Poland among them.
I’ve asked the main developer about it especially and reviewed the code myself: there’s no custom restriction on this side.
Thanks.


#6

I’ve tried a handful of API keys and have them coming each time.

Here are some examples from Ukraine:

{ "name": "Dnipropetrovsk", "woeid": 918981, "placeType": { "name": "Town", "code": 7 }, "country": "Ukraine", "url": "http://where.yahooapis.com/v1/place/918981", "countryCode": "UA", "parentid": 23424976 }, { "name": "Donetsk", "woeid": 919163, "placeType": { "name": "Town", "code": 7 }, "country": "Ukraine", "url": "http://where.yahooapis.com/v1/place/919163", "countryCode": "UA", "parentid": 23424976 }, { "name": "Kharkiv", "woeid": 922137, "placeType": { "name": "Town", "code": 7 }, "country": "Ukraine", "url": "http://where.yahooapis.com/v1/place/922137", "countryCode": "UA", "parentid": 23424976 }, { "name": "Kyiv", "woeid": 924938, "placeType": { "name": "Town", "code": 7 }, "country": "Ukraine", "url": "http://where.yahooapis.com/v1/place/924938", "countryCode": "UA", "parentid": 23424976 }, { "name": "Lviv", "woeid": 924943, "placeType": { "name": "Town", "code": 7 }, "country": "Ukraine", "url": "http://where.yahooapis.com/v1/place/924943", "countryCode": "UA", "parentid": 23424976 }, { "name": "Odesa", "woeid": 929398, "placeType": { "name": "Town", "code": 7 }, "country": "Ukraine", "url": "http://where.yahooapis.com/v1/place/929398", "countryCode": "UA", "parentid": 23424976 }, { "name": "Zaporozhye", "woeid": 939628, "placeType": { "name": "Town", "code": 7 }, "country": "Ukraine", "url": "http://where.yahooapis.com/v1/place/939628", "countryCode": "UA", "parentid": 23424976 },

Are you using any other parameters when you make the request?


#7

the request looks like this:

trends_available = bind_api(
path = ‘/trends/available.json’,
payload_type = ‘json’,
require_auth = True
)


#8

After more investigations we found that API returns 42 countries, if the user is located in the US, and only 35, if he or she is in Ukraine or Poland. We did make tests with different app keys and with different access tokens and even with different tokens retrieval methods.
Please help us, it’s really important!


#9

Hello!

I live in Ukraine and i’m using The Qube. I would like to have the Ukrainian trends in the qube. Thanks.


#10

Good afternoon!
for Poland no Poland or Ukraie is retrieved either. Same client as above, API 1.1 compatible.
We would be really grateful for any help you could proide us with.
Best regards from Poland
Paweł


#12