[SOLVED] Facebook SSO Issues :-(

Hey All,

I am trying to test out the FB integration and I seem to be having some Issues.

I have created a FB app and I have its app id (e.g. 12345678) and I have put it in the build.settings like so

[lua]settings =
{

orientation =
{
default = “portrait”,
supported =
{
“portrait”,
},

},

iphone =
{
plist =
{
CFBundleIconFile = “Icon.png”,
CFBundleURLTypes =
{
{
CFBundleURLSchemes =
{
“fb12345678”,
}
}
},
CFBundleIconFiles = {
“Icon.png”,
“Icon@2x.png”,
“Icon-72.png”,
},
}[/lua]

Now in the FB app I have ticked “Native iOS App” and set the iOS Bundle ID to “WCAJBN22PA.com.company.gamename” from my provisioning portal, is this bit right? Do I need the “WCAJBN22PA” at the beginning or just “com.company.gamename”?

I have also set the iPhone App Store ID to a live app ID.

When I try to login from the app on the phone it pops up the web view facebook with the login form instead of using the FB app that I have installed, I am assuming that with the FB app installed it should transition to the FB app and already be logged in waiting to grant access to the app.

I am also building the app in corona with the “WCAJBN22PA.com.company.gamename” bundle…

Any ideas?

When I login with the form on the FB webview it seems to work OK but I would really like the SSO and use of FB app if possible

Cheers,
Dean [import]uid: 132533 topic_id: 23106 reply_id: 323106[/import]

bump [import]uid: 132533 topic_id: 23106 reply_id: 92468[/import]

Which tutorial were you using to implement this and what version of Corona are you using? [import]uid: 52491 topic_id: 23106 reply_id: 92548[/import]

Hey Peach,

Sorry about the delay in getting back to you, I was off on another project for a couple of days.

I have had a sit down again (and after some head banging with Ad Hoc Distribution Profiles for In-App purchases) I thought I would give the Ad-Hoc profile a go for FB integration and it worked.

It now switched to the correct FB app and back again, looks much better. Now to just try and get some data back :wink:

Thanks for your response.

Cheers,
Dean [import]uid: 132533 topic_id: 23106 reply_id: 92929[/import]