按位置和邻近度搜索Facebook活动

I'm looking for a Facebook API to get events filtered by location and date, but seems that do not exist, instead, I found this https://github.com/tobilg/facebook-events-by-location-core that seems do the stuff. The problem is that I'm a newbie and I can't make it working on a php file. Can anyone give me a hint or a direction to how implement it on a php file and how retrieve the data? An answer for dummies will be apreciated. Thank's

Someone has already translated some of that codebase to php. Take a look at PedroGabriel's repository on github. I tested it by passing the parameters through a simple form (and it worked, like tobilg's original codebase at least at first glance - I haven't tested it thoroughly)

sample form:

<form action="index.php" method="get">
    latitude :  <input type="text"  name="lat" value="42.844018">  
    longitude: <input type="text"  name="lng" value="-106.317175">  
    distance: <input type="text"  name="distance" value="50"> 
    access_token: <input type="text"  name="access_token" value="EAACEdEos...etc">  
    <input type="submit" value="submit">
</form>

You can read more about the parameters in PedroGabriel's README.md in his repository and do a search on google for facebook access tokens(sorry can't post more links)