R scripts used during the Open Tourism Days DK hackathon challenge
search for places near centerLat, centerLong
- token: access token created from initWhatNowFacebook function
- search: pattern to search for in the results' category field
- category: must be one of the following: EDUCATION, FOOD_BEVERAGE, HOTEL_LODGING, MEDICAL_HEALTH, ARTS_ENTERTAINMENT, SHOPPING_RETAIL, FITNESS_RECREATION, TRAVEL_TRANSPORTATION, or all
JSON array of places
returns weather forecast on an area centered at centerLat, centerLong
- datestr: return forecast on a specific date
JSON array of weather forecasts
search for tweets containing patterns specified by search. Twitter OAuth access tokens must be set up using the initWhatNowTwitter function
JSON array of tweets
create Facebook app access token using parameters defined in app list
- id: Facebook App ID
- secret: Facebook App secret key
Facebook access token for use in whatNowFacebook
Setup whatNowTweet Twitter OAuth access using parameters defined in app list
- key: Twitter App consumer key
- secret: Twitter App consumer secret
- token: Twitter App access token
- token_secret: Twitter App access token secret keyy
None