This demonstrates how to use R Shiny apps to authenticate with Meetup's API and pull data.
The following should work for apps run locally. I'll update with instructions for how to run off shinyapps.io later.
-
Register an OAuth consumer for Meetup's API by filling out their form. Set the redirect URI to http://127.0.0.1/.
-
Copy
Rprofile-sample.R
to.Rprofile
. Fill in the values with what Meetup provides. -
Run the Shiny app.
-
Register an OAuth consumer for Meetup's API by filling out their form. Set the redirect URI to https://youraccountnamehere.shinyapps.io.
-
Copy
Rprofile-sample.R
to.Rprofile
. Fill in the key values with what Meetup provides. Set theredirect_uri
tohttps://youraccountnamehere.shinyapps.io/shiny-meetup-test
. -
Deploy the app:
library(rsconnect)
deployApp(appFiles=c("ui.R", "server.R", ".Rprofile", "auth.R", "www/custom.css"))