Developer's Guide:
A. Send user to http://yoauth.herokuapp.com/authorize?redirect_to=[REDIRECT_URL]
B. On success, we'll return them to your site with a GET parameter called yoauth_token
C. Ping http://yoauth.herokuapp.com/validate?yoauth_token=[YOAUTH_TOKEN]
and receive JSON of user details! (Example JSON)
New! Integrate using our jQuery library
<head> <!-- Insert this in your head tag -->
<script src="http://code.jquery.com/jquery-latest.js"></script>
<script src="http://yoauth.herokuapp.com/js/jquery.yoauth.js"></script>
<script> YoAuth.callback = function(user) { console.log(user); }; </script>
</head>
<body> <!-- Insert this in your body tag -->
<a href="#" rel="yoauth" data-redirect-to="REDIRECT URL">Authorize with YoAuth</a>
</body>
Help me win Yo's Most Popular Hack
The most popular Yo! NYC hack (by July 31) wins $2,500. I'll be able to attend more hackathons. Help me win by using YoAuth!
Built by Bilawal Hameed at YO! hackathon in NYC. And we won the Judges Choice! <3