Skip to content

HTTPS clone URL

Subversion checkout URL

You can clone with HTTPS or Subversion.

Download ZIP
just enough to get started using browser oauth2 authentication
branch: master

Fetching latest commit…

Cannot retrieve the latest commit at this time

Failed to load latest commit information.
.gitignore
README.md
index.html
jquery.min.js
mu.api.js
mu.css

README.md

Meetup oauth2 sdk starter kit

Example usage

<html>
  <head>
    <script type="text/javascript" src="jquery.min.js"></script>
    <script type="text/javascript" src="mu.api.js"></script>
    <script type="text/javascript">
      api = mu.Api({
        clientId: "YOUR_MEETUP_CONSUMER_KEY"
        , onMember: function(member, token) {
          alert("we're in");
        }
      };
      $("#login").click(function(e) {
        e.preventDefault();
        api.login();
        return false;
      })
      $("#logout").click(function(e){
        e.preventDefault();
        api.logout(function(){
          alert("all clear");
        });
        return false;
      });
  });
  </head>
  <body></body>
</html>
Something went wrong with that request. Please try again.