Search code examples
oauth.io

Getting "The parameter app_id is required" with OAuth.io


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)

enter image description here

Can someone let me know If I am missing something.


Solution

  • You must Integrate APIs in OAuth, follow the below method.

    1. Login to your account.
    2. Then click on the Integrated APIs menu from the left side bar.
    3. Now click on ADD APIs green button on the right top corner.
    4. Now Search and select Facebook.
    5. Now add the Keys and Permission Scope details and others.