https://github.com/makevoid/eventyd
Find all FB events in your city - made for an hackaton at Applicake in Krakow
https://github.com/makevoid/eventyd
Last synced: 10 months ago
JSON representation
Find all FB events in your city - made for an hackaton at Applicake in Krakow
- Host: GitHub
- URL: https://github.com/makevoid/eventyd
- Owner: makevoid
- Created: 2012-04-18T14:44:20.000Z (about 14 years ago)
- Default Branch: master
- Last Pushed: 2012-04-30T17:55:13.000Z (about 14 years ago)
- Last Synced: 2025-05-14T01:59:06.030Z (about 1 year ago)
- Language: Ruby
- Homepage:
- Size: 223 KB
- Stars: 1
- Watchers: 1
- Forks: 0
- Open Issues: 0
-
Metadata Files:
- Readme: Readme.md
Awesome Lists containing this project
README
# Eventyd
### Find all FB events in your city
api useds:
- Facebook Events Search: "https://graph.facebook.com/search?type=event&q=QUERY&..."
- Google Maps: "https://maps.googleapis.com/maps/api/geocode/json?address=QUERY&sensor=false"
& 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¢er=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