Getting “The parameter app_id is required” with OAuth.io

北城余情 提交于 2019-12-24 00:29:58

问题


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.

  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.


来源:https://stackoverflow.com/questions/31639811/getting-the-parameter-app-id-is-required-with-oauth-io

标签
易学教程内所有资源均来自网络或用户发布的内容,如有违反法律规定的内容欢迎反馈
该文章没有解决你所遇到的问题?点击提问,说说你的问题,让更多的人一起探讨吧!