I'm creating a Facebook app in which I want to display content depending on the location of the user. Realtime geolocation is not needed, but I would like to use the user's location id provided by Facebook. So what I need is a function that takes the user's location id and a given radius as input parameters and returns the location ids of towns, villages within the radius.
I saw that Facebook's area based lists use such methods to filter friends. But I have no idea how to implement it in my own application. Any hints? Tutorials? Sample codes? I'd be grateful if you could help me. Thanks.