Skip to content

HTTPS clone URL

Subversion checkout URL

You can clone with HTTPS or Subversion.

Download ZIP
Find all FB events in your city - made for an hackaton at Applicake in Krakow
Ruby CoffeeScript
branch: master
Failed to load latest commit information.
coffee added more stuff
config added more stuff
lib added more stuff
models added more stuff
public added more stuff
sass added more stuff
spec small ui push before party
views added more stuff
Gemfile ui ui
Gemfile.lock some sass and coffeee
Guardfile ui ui
Readme.md ui ui
config.ru initial commit
eventyd.rb added more stuff

Readme.md

Eventyd

Find all FB events in your city

api useds:

& co..

to start:

create a mysql database:

mysql -u root -e "CREATE DATABASE IF NOT EXISTS eventyd_development;"

if you need, edit config/env.rb if you have different mysql user/pass than root//(nopass)

run migrations:

ruby -e 'DataMapper.auto_migrate!' -r ./config/env

bundle then

rackup

to get datas run:

ruby lib/get.rb 

specs:

create a mysql database for test env:

mysql -u root -e "CREATE DATABASE IF NOT EXISTS eventyd_test;"

run specs:

rspec

pastebin:

https://graph.facebook.com/search?q=conference&limit=5000&type=event&access_token=AAAAAAITEghMBAGefQGr18NKdcREGbIwyvylFVlN3eGiTGcROxwQdsQrKKtefyWMh92ZB0JiWwZBIVbTfiXbxtu7q1QUAGJd4rhWZAZBCnZAYTFZAomZCfpP

https://graph.facebook.com/search?type=place&center=11.2569013,43.7687324&distance=150&limit=10&access_token=AAAEvWkjm0wQBAL70Occqh9kZBPWXqKpZAXVpLnic6BWtW6AlkYonhQc7s4tk2kaSS9hLAIZBIqvkg9nSZCPB5cOXFiRbqh1ZB7f3osN9vR5GcYJRLJUut

fb api event: https://developers.facebook.com/docs/reference/api/event/

api explorer: https://developers.facebook.com/tools/explorer/333539793359620/?method=GET&path=1218562195

google maps http://maps.google.com/maps?q=43.763130187988,11.28843688964

geolocation api http://dev.w3.org/geo/api/spec-source.html https://developers.google.com/maps/documentation/geocoding/

http://open.mapquestapi.com/nominatim/ http://open.mapquestapi.com/nominatim/v1/search?format=json&json_callback=renderBasicSearchNarrative&q=firenze

Something went wrong with that request. Please try again.