sso_key parameter error

So I have got the iOS Bunlde ID from apple because I created my app in the itunesconnect portal and it is in the “preparing for upload” status state.  So I wanted to test the facebook share score button I made.

I made the Native iOS App entry into the developer.facebook.com site and added my com.blah.blah for the Bundle ID that matches what I just put in the itunes portal.  I then added the App ID entries and turned off sandbox mode.  Of course it errors telling me it can’t see my App ID because the App isn’t released yet.

I go into my code and add the fbAppID key and also update the build.settings with the 2 lines needed for building.  

I then built the app using my Develop Team Cert and copied the binary over to my ipad… 

I click the share button I created and it opens facebook… and errors with the following

"Invalid sso_key parameter.  The key myappname does not match any allowed bundle IDs. Configure your iOS bundle ID at http://developers.facebook.com/apps/keynumberhere

Is this because the app is not released yet?  If facebook is checking for the app id to be live how do I test this?

I would suggest that the problem is you need to build with a provisioning profile for that specific app and not the team ID.  I typically use the AdHoc type profile instead of development, but both should work.  But the provisioning profile for com.blah.blah.blah needs to match com.blah.blah.blah that you put on Facebook.  You can use any live iTunes connect app ID on Facebook until your app is really live.

So Rob… I have tried using my live apps bundle name and app id to get around this issue (always compiling for device and using the team provisioning profile) and I still get the same error.

Matt

I think the problem is that the team profile doesn’t have your appID and bundle information in it. It has the team ID info.  They don’t match what Facebook is looking for.

I would suggest that the problem is you need to build with a provisioning profile for that specific app and not the team ID.  I typically use the AdHoc type profile instead of development, but both should work.  But the provisioning profile for com.blah.blah.blah needs to match com.blah.blah.blah that you put on Facebook.  You can use any live iTunes connect app ID on Facebook until your app is really live.

So Rob… I have tried using my live apps bundle name and app id to get around this issue (always compiling for device and using the team provisioning profile) and I still get the same error.

Matt

I think the problem is that the team profile doesn’t have your appID and bundle information in it. It has the team ID info.  They don’t match what Facebook is looking for.