just enough to get started using browser oauth2 authentication
Fetching latest commit…
Cannot retrieve the latest commit at this time.
Permalink
Failed to load latest commit information.
.gitignore
README.md
index.html
jquery.min.js
mu.api.js
mu.css cleaning up some stuff, more robust support for local storage Feb 4, 2012

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>