I integrated facebook in my ionic app but keeps getting the error
Given URL is not allowed by the application configuration: One or more of the given URLs is not allowed by the app settings. To use this URL you must add a valid native platform in your App's settings.
I added the platform and saved it. What am I doing wrong over here ?
The error you are getting in the console is because your app isn't configured properly in the Facebook Developers page.
Check your config.xml
<widget id="com.ionicframework.coaching154009" version="0.0.1" xmlns="http://www.w3.org/ns/widgets" xmlns:cdv="http://cordova.apache.org/ns/1.0">
We need the widget id. Then go to facebook (developer mode obviously), check your app.
Configuration->Basic->Add platform->Android. Google play app name-> .
In this case: com.ionicframework.coaching154009
Google play app name: com.ionicframework.coaching154009
Then accept and save changes.
Refer these links as well -
The technical post webpages of this site follow the CC BY-SA 4.0 protocol. If you need to reprint, please indicate the site URL or the original address.Any question please contact:yoyou2525@163.com.