How to use OAuth.io SDK? it's really simple!

After loading oauth.js, you can use OAuth object to authorize your user like this:

// Initialize with your OAuth.io app public key OAuth.initialize(' Public key '); OAuth.popup(' facebook ', function( error , success ){ // See the result below });

Successful connection with

Connection fail with