facebook authorization like in "Words with Friends"

Hi there,

I am just checking out facebook connect sample in sdk. When I try to connect, facebook authorization dialog pops up as usual, asking my email and password. Its ok, but…

Do you ever play the highly popular game Words with Friends from zynga? It also has facebook connect, but when you first authorize the application, it does not display login dialog, instead it just shows a standart application authorization window asking me some permissions. How could this be happen? Is it because I have been also using official Facebook application?? But, if its the case, how my authorization credentials could be shared between applications?

I am confused :slight_smile: [import]uid: 11686 topic_id: 18401 reply_id: 318401[/import]

From what I understand you register your app to be received through Facebook on the other end. You have checked http://developers.facebook.com/docs/guides/mobile/ ?
[import]uid: 100299 topic_id: 18401 reply_id: 70613[/import]

Thanks, by checking out docs i think i got the system. Its called Single-Sign-On (SSO) and explained here https://developers.facebook.com/docs/mobile/ios/build/

From the docs:

One of the most compelling features of the iOS SDK is Single-Sign-On (SSO). SSO lets users sign into your app using their Facebook identity. If they are already signed into the Facebook iOS app on their device they do not have to even type a username and password. Further, because they are signing to your app with their Facebook identity, you can get permission from the user to access their profile information and social graph.


SSO primarily works by redirecting the user to the Facebook app on her device. Since the user is already logged into Facebook, they will not need to enter their username and password to identify themselves. They will see the auth dialog with the permissions that your app has asked for and if they allow then they will be redirected to your app with the appropriate access_token.

Its cool. But, can we use it in corona? Do you fellow corona devs have any experience on that?

Thank you. [import]uid: 11686 topic_id: 18401 reply_id: 70624[/import]