Location for weather widget

Posted in: Newspaper
Post count: 15

When there are multiple cities in the same country, how can you specify which one displays in the weather widget? For example, I live in Oneida, USA but there are several Oneidas in the US. Putting in the city code doesn’t seem to be an option. So when I put in “Oneida, US”, it simply displays the one it wants to — and it’s the wrong one.

Post count: 35449

Hi,

First find your city ( https://www.screencast.com/t/KzFHOON9 ) let’s say it’s the 3th one, click on it and in url you will find the id ( https://www.screencast.com/t/De7I23uK ) copy the id and replace the city name with it ( https://www.screencast.com/t/W18vKYlV ) .
See the results: https://www.screencast.com/t/8RizKT50eZk
Also you can find a list with city id in our documentation https://forum.tagdiv.com/weather-widget/ , but we recommend you the first one.

Thank you.

Post count: 15

Thank you. Unfortunately I just can’t get the city ID to work for me. When I input the city ID, all I get is a blank widget?

Post count: 35449

Hi,

Let see, first check your api key, second when you place your id location make shore you don’t let any space before or after id, because one space will cause an erroer “Weather API error: City not found” ( https://www.screencast.com/t/vcqxTL8hOb ).
https://www.screencast.com/t/mpJoChIFMXu0

Thank you.

Viewing 4 posts - 1 through 4 (of 4 total)
The forum ‘Newspaper’ is closed to new topics and replies.