问题
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.
回答1:
You must Integrate APIs in OAuth, follow the below method.
- Login to your account.
- Then click on the
Integrated APIs
menu from the left side bar. - Now click on
ADD APIs
green button on the right top corner. - Now Search and select Facebook.
- Now add the
Keys and Permission Scope
details and others.
来源:https://stackoverflow.com/questions/31639811/getting-the-parameter-app-id-is-required-with-oauth-io