/* one Oauth to rule them all */

If you need let the user to connect to your website with facebook, twitter or any other API. Make it the easy way, Oauth.io handle it for you. Just one API to connect to the other 70+ API's.

Any connect in 2 minutes (facebook)

With Oauth.io you can connect to almost any API in 15 lines of code.

In your HTML

<img src="/img/facebook-connect.png" id="fb-connect">

In your Javascript

$('#fb-connect').click(function() {
    OAuth.initialize('YOUR_PUBLIC_KEY');
    OAuth.popup('facebook',
                function(err, res) {
        if (err) {
            // do something with error
            alert(JSON.stringify(err));
            return;
        }
        $('#token').html(res.access_token)
                   .parent().show();
    });
});

See it in action

Posted by @gamanox

Please help me with a click in the ad!