Reputation: 7110
I am trying to integrate https://oauth.io/ into my application. Below is the code for facebook integration that I am using:
OAuth.popup('facebook')
.done(function (result) {
alert('sucess');
})
.fail(function (error) {
alert('fail');
});
Note: I am calling the above part of code in a button click.
In JQuery ready function I am calling OAuth.initialize("my_public_key");
When I click on the button I am getting "The parameter app_id is required" error in the popup. (added image of it)
Can someone let me know If I am missing something.
Upvotes: 2
Views: 1116
Reputation: 3798
You must Integrate APIs in OAuth, follow the below method.
Integrated APIs
menu from the left side bar. ADD APIs
green button on the right top corner.Keys and Permission Scope
details and others.Upvotes: 2