简体   繁体   English

Cordovalinkedin登录(SocialGap)

[英]Cordova linkedin login (SocialGap)

I am trying to integrate https://github.com/YanchWare/SocialGap for linkedin login but i am confused with few required parameters. 我正在尝试将https://github.com/YanchWare/SocialGap集成到linkedin登录,但是我对一些必需的参数感到困惑。

 SocialGap.Linkedin_ChangeSettings('apiKey', 'secretKey', 'ldAppDomain', 'ldScopes');

Can someone provide me with an example for ldAppDomain and ldScopes. 有人可以为我提供ldAppDomain和ldScopes的示例。 Also what should be "Authorized Redirect URLs" in linkedin developer app? 另外,linkedin开发人员应用程序中的“授权重定向URL”应该是什么? This is an android app so how can there be a redirect url? 这是一个Android应用程序,那么如何有一个重定向URL?

Finally Got it. 终于明白了。 Hosted an empty php file on some temp server and gave that link in Twitter redirecturl as well as Social gap settings. 在某个临时服务器上托管了一个空的php文件,并在Twitter redirecturl和Social gap设置中提供了该链接。 When the twitter redirects to the provided link then this plugin itself listens to that an redirects it back to our app with response. 当twitter重定向到提供的链接时,此插件本身会侦听该重定向,并将其重定向回我们的应用程序并进行响应。

声明:本站的技术帖子网页,遵循CC BY-SA 4.0协议,如果您需要转载,请注明本站网址或者原文地址。任何问题请咨询:yoyou2525@163.com.

 
粤ICP备18138465号  © 2020-2024 STACKOOM.COM