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
1条回答 默认 最新
dongsu7049 2017-01-13 16:07关注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.mdin his repository and do a search ongoogleforfacebook access tokens(sorry can't post more links)本回答被题主选为最佳回答 , 对您是否有帮助呢?解决 无用评论 打赏 举报