maraujo / pySocialWatcher

Social Watcher on Facebook Marketing API
MIT License
109 stars 49 forks source link

Allow users to query all geolocations by country and type #23

Closed khof312 closed 4 years ago

khof312 commented 4 years ago

Sometimes you might want to check what geolocations are available -- for example, I wanted to list all regions matching "Indonesia" country code.

To do this, we muss pass no query to the API, only geolocation type and country code.

I modified get_geo_locations_given_query_and_location_type to properly handle a situation where the query argument is None.