invalid sso_key error only on iPhone

Hello.

It seems I have some problem with my app Facebook integration, and the weird thing is that it started yesterday, where before I had no problem at all…

When I try to log in into Facebook from my app, to get the friends list, or post on the wall, I get a blank Facebook API page with this error on it:

“Invalid sso_key parameter. The key BattleBobble does not match any allowed bundle IDs. Configure your iOS bundle ID at http://developer.facebook.com/apps/xxxxxxxxxxxxxxxx” <— “xxx” is the app id on facebook, “BattleBobble” is the title of the app, an the prefix I’m using for its settings.

What went wrong? what changed in the last couple of days to make this happen??

Thanks.

Damn it, got it working again, but MAN HO MAN DO I HATE FACEBOOK!!!

did you do anything to fix this or was it just facebook?

Well, good question, it was Facebook, but I had to make some changes, since it said “Configure your iOS bundle ID”, I thought there was something wrong with the bundle id I chose for my app (it.flashgames.mobile.battlebobble), but, and this is the part that took me some time to get, since that was the bundle id I was using, and the one that was set up on Facebook too, which worked just fine up to that point, and nothing I did made it work again, until I looked at the error message closely, where it says “The key BattleBobble does not match…”, so I changed my bundle id on the app setting page on Facebook (only in the iOS part, the android part I left as it is since it’s working just fine) to simply “BattleBobble”, waited a couple of minutes for their server to update, and it worked again.

I just hate working with anything related to Facebook, it used to be simple, they had a pretty simple API interface when they started growing, we had a few flash games set up working with Facebook friends list and high score and the works, but then they started changing things on a bigger scale, which I don’t mind, when it happens every once in a while, but they do it pretty much every couple of months, and then I need to set up all our games with the changes, and in the end, to save us time, we simply stopped making games working with Facebook, the maintenance became just too time consuming, and instead of working on new projects I was spending all my time just trying to keep everything working, so that was it.

Now, we’ve started (and when I say we, I mean I, right now I’m a one man team at the office) developing for mobile with Corona, and of course we need Facebook integration, which I hate, but hey, it’s my job, I’d better do it regardless of my feeling for that spawn of Satan, Facebook.

Hope this helps :wink:

Yuval Lahav.

Can you test using the Team profile (develop cert) and build for device or will that just always fail until you do a distro cert tied to your app ID?  If I build for the device and use the distro cert of course I can not put it on the device so what is the best way here

There was no problem compiling the project and testing it, it didn’t fail at the part, the only failing I had was when trying to connect, log in, to Facebook, using the Corona Facebook API, that gave me an error, I’m not sure I 100% get what you are asking…
If you can’t compile for a device for some reason, you can always compile for XCode, and run a simulation, it supposed to be as close as possible to the device, although the Facebook interface will only work on the device.

Hope this helps.

Yuval.

Damn it, got it working again, but MAN HO MAN DO I HATE FACEBOOK!!!

did you do anything to fix this or was it just facebook?

Well, good question, it was Facebook, but I had to make some changes, since it said “Configure your iOS bundle ID”, I thought there was something wrong with the bundle id I chose for my app (it.flashgames.mobile.battlebobble), but, and this is the part that took me some time to get, since that was the bundle id I was using, and the one that was set up on Facebook too, which worked just fine up to that point, and nothing I did made it work again, until I looked at the error message closely, where it says “The key BattleBobble does not match…”, so I changed my bundle id on the app setting page on Facebook (only in the iOS part, the android part I left as it is since it’s working just fine) to simply “BattleBobble”, waited a couple of minutes for their server to update, and it worked again.

I just hate working with anything related to Facebook, it used to be simple, they had a pretty simple API interface when they started growing, we had a few flash games set up working with Facebook friends list and high score and the works, but then they started changing things on a bigger scale, which I don’t mind, when it happens every once in a while, but they do it pretty much every couple of months, and then I need to set up all our games with the changes, and in the end, to save us time, we simply stopped making games working with Facebook, the maintenance became just too time consuming, and instead of working on new projects I was spending all my time just trying to keep everything working, so that was it.

Now, we’ve started (and when I say we, I mean I, right now I’m a one man team at the office) developing for mobile with Corona, and of course we need Facebook integration, which I hate, but hey, it’s my job, I’d better do it regardless of my feeling for that spawn of Satan, Facebook.

Hope this helps :wink:

Yuval Lahav.

Can you test using the Team profile (develop cert) and build for device or will that just always fail until you do a distro cert tied to your app ID?  If I build for the device and use the distro cert of course I can not put it on the device so what is the best way here

There was no problem compiling the project and testing it, it didn’t fail at the part, the only failing I had was when trying to connect, log in, to Facebook, using the Corona Facebook API, that gave me an error, I’m not sure I 100% get what you are asking…
If you can’t compile for a device for some reason, you can always compile for XCode, and run a simulation, it supposed to be as close as possible to the device, although the Facebook interface will only work on the device.

Hope this helps.

Yuval.