I’m stuck trying to get Facebook login working in my mobile app using ActionScript. The WebView setup isn’t cooperating and I keep hitting a wall.
Here’s the error message I’m getting:
Given URL is not allowed by the Application configuration code:191
I’ve added this to my app descriptor file (replacing the x’s with my actual app ID):
<key>CFBundleURLTypes</key>
<array>
<dict>
<key>CFBundleURLSchemes</key>
<array>
<string>fbMyAppIDHere</string>
</array>
</dict>
</array>
<key>CFBundleURLName</key>
<string>MyAppIDHere</string>
I turned on embedded browser login in my Facebook app settings but that didn’t fix it. Am I missing something obvious? Any ideas what else I should check?
Thanks for any help you can offer! This is driving me crazy.
I experienced a similar problem when working with Facebook login in my ActionScript mobile app. The issue was rooted in mismatches between my app configuration and the settings in the Facebook Developer console. I eventually discovered that the bundle ID in the console had to match exactly with the one in my app. It was also essential to verify that all required URL schemes, including the fb[APP_ID] scheme, were correctly added to the plist file. Confirming the package name, class name, and the proper LSApplicationQueriesSchemes for iOS played a crucial role. After cleaning and rebuilding the project, the login process started working reliably.
I’ve encountered this problem several times. It’s essential to verify that every detail in your ActionScript setup aligns with the Facebook app configurations. In my experience, even minor discrepancies like extra spaces or a slight mismatch in the App ID or Bundle ID can cause issues.
Make sure the URL schemes, especially in your info.plist file, are set correctly. Also, reviewing the OAuth redirect URIs in the Facebook Developer Console might reveal overlooked details. A careful recheck of all these settings usually resolves the error.
hey, i had similar issues. make sure ur fb app settings match ur app exactly. check the bundle ID, URL schemes, and package name. also, try clearing cache and reinstalling. sometimes fb’s api can be finicky. good luck!