HarlanH / shiny-meetup-test

Geek Repo:Geek Repo

Github PK Tool:Github PK Tool

shiny-meetup-test

This demonstrates how to use R Shiny apps to authenticate with Meetup's API and pull data.

Setup for Local Use

The following should work for apps run locally. I'll update with instructions for how to run off shinyapps.io later.

  1. Register an OAuth consumer for Meetup's API by filling out their form. Set the redirect URI to http://127.0.0.1/.

  2. Copy Rprofile-sample.R to .Rprofile. Fill in the values with what Meetup provides.

  3. Run the Shiny app.

Setup for Shinyapps.io Use

  1. Register an OAuth consumer for Meetup's API by filling out their form. Set the redirect URI to https://youraccountnamehere.shinyapps.io.

  2. Copy Rprofile-sample.R to .Rprofile. Fill in the key values with what Meetup provides. Set the redirect_uri to https://youraccountnamehere.shinyapps.io/shiny-meetup-test.

  3. Deploy the app:

library(rsconnect)
deployApp(appFiles=c("ui.R", "server.R", ".Rprofile", "auth.R", "www/custom.css"))

About


Languages

Language:R 99.5%Language:CSS 0.5%