简体   繁体   English

Adobe Air应用程序-打开Facebook应用程序进行登录

[英]Adobe Air Application - open facebook app to login

I want my adobe air app to open my user's Facebook app installed on their own device and return to my adobe air app and finish the login process. 我希望我的adobe air应用程序打开用户在其自己的设备上安装的Facebook应用程序,然后返回我的adobe air应用程序并完成登录过程。

I don't want to open Facebook with stagewebview(because the user has to login once more). 我不想用stagewebview打开Facebook(因为用户必须再次登录)。 i want to make it done as other native apps do their Facebook logins. 我想做到这一点,就像其他本机应用程序执行其Facebook登录一样。

if this is possible, i want to know how 如果可能的话,我想知道如何

You'll need a native extension to achieve this, there are many out there, but just going to point you in the direction of the one we've developed and use in our applications: 您将需要一个本机扩展来实现这一目标,这里有许多扩展,但是只是为您指明了我们已经开发并在应用程序中使用的扩展的方向:

http://airnativeextensions.com/extension/com.distriqt.FacebookAPI http://airnativeextensions.com/extension/com.distriqt.FacebookAPI

The facebook utils extension has been discontinued so the following is no longer applicable, please look into the FacebookAPI ANE above facebook utils扩展已终止,因此以下内容不再适用,请查看上面的FacebookAPI ANE

Or there's the simpler one that just does single sign on if you don't need access to all the API (ie if you're going to use the AS3 facebook lib): 或者,如果您不需要访问所有API(即,如果您要使用AS3 facebook lib),则有一种更简单的方法是单点登录:

http://distriqt.com/product/air-native-extensions/facebook-utils http://distriqt.com/product/air-native-extensions/facebook-utils

Cheers 干杯

You can use FreshPlanet Facebook ANE from here https://github.com/freshplanet/ANE-Facebook 您可以从这里https://github.com/freshplanet/ANE-Facebook使用FreshPlanet Facebook ANE

If users have Facebook app then works exactly you want it. 如果用户拥有Facebook应用程序,则可以完全满足您的要求。 Also supported SSO login. 还支持SSO登录。

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

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