I'm facing the following problem in Xamarin iOS for FitBit.
Update proper Callback URL in Application Settings.
Related
I am facing error while creating UTM code for IOS app tracking. Link is not working. Can someone please help me??
I am adding all the IOS App details which https://ga-dev-tools.web.app/ga4/campaign-url-builder/ios/ site is asking. But my final URL is not working at all.
You are facing the error because of the wrong app url provided. The 'redirect url' should be an iTunes URL.
Replace https://apps.apple.com with https://itunes.apple
I got this error when i try facebook login in the simulator, is this caused by facebook app config? How to solve it?
You might've missed setting up your Android and iOS app on Facecbook Developer page. I suggest following the installation guide on the plugin's documentation for more details.
I am developing an iOS app using Ionic Framework and Firebase. I have updated Firebase SDK to version 3.x in my project. What I am trying to do is to authenticate the user with Facebook on a real device. Everything works fine when I test it on a browser. However, whenever I run on a real iOS device, I always get the following error:
This domain is not authorized for OAuth operations for your Firebase project. Edit the list of authorized domains from the Firebase console.
On Firebase, I have already added "localhost" and "127.0.0.1" to my authorized domain list. So I am not sure what to do right now.
For your information, I do not use WKWebView in my project.
Does anybody here can tell me how I can solve this? Please advice.
The error "This domain is not authorized for OAuth operations for your Firebase project. Edit the list of authorized domains from the Firebase console." only prevents signInWithPopup() signInWithRedirect() linkWithPopup() and linkWithRedirect() operations from working. Every other function, including signInWithCredential(), should work.
I believe that you are seeing this error because ionic apps do not have a real domain, and this is a requirement for the 4 functions I mentioned above.
The solution to your problem would be to ignore the error (it is just informational) and not use signInWithPopup signInWithRedirect linkWithPopup or linkWithRedirect. Instead, use a library for OAuth such as ngCordovaOAuth and then use auth().signInWithCredential(...) (see example instructions for Twitter here).
i have same issue but i solved it by creating new firebase project.
Ok, here is my temporary solution:
I import both Firebase SDK v.2.x and Firebase SDK 3.x in my ionic project. I use version 2.x for Facebook authentication on iOS then I use version 3.x to get access to all new features on Firebase such as Storage and so on.
Hopes this helps.
Have a Cordova iOS app with Facebook authentication using Facebook Cordova Plugin.https://github.com/Wizcorp/phonegap-facebook-plugin
Was working fine but has suddenly authentication is failing, having not changed anything in the app that I can see. And I get a warning which I can't find on Google:
"To use this URL you must add a valid native platform in your App's settings."
The only thing I did yesterday really was add the app to iTunes Connect to use in Testflight. I have it registered as a web app still in Facebook. Could it somehow be related to that? That seems bizarre.
Well the answer was in the question. I added a native iOS app in Facebook. And it now works. Not sure why it was working and suddenly stopped, but hey that's Facebook.
I'll leave this answer here as there were zero hits on Google for that FB warning.
Does anyone know what the custom URL scheme is to open a Facebook page in their new iOS app. I was using fb://page/PAGE_ID however this doesn't seem to be working in the recently updated Facebook iOS app, it just opens the app but doesn't go to the required page.
I got this answer at developer.facebook.com:
Replace the word page with profile and it will work. Your new statement will be:
[[UIApplication sharedApplication] openURL:[NSURL URLWithString:#"fb://profile/247377102029332"]];
Use https://graph.facebook.com/YOUR_USERNAME to get your page ID.
In your iOS app use: fb://profile/[your ID] and the facebook app will open to your page.
The URL scheme for the iOS Facebook application is:
fb://profile/(fbid)
Same problem here. fb://page/PAGE_ID is not working anymore.
Note that fb://profile/(fbid) wasn't working properly on Facebook 4.x returning a "corrupted" page in both iPad and iPhone. Instead, fb://profile/(fbid)/wall in Facebook 4.x worked well when using an iPad but didn't work with an iPhone.
fb://page/PAGE_ID was the only option that worked on both iPhone and iPad, based on my experience.
I used to use http://wiki.akosma.com/IPhone_URL_Schemes as reference, but it's currently down...
A custom URL scheme is a mechanism through which third-party apps can communicate with each other. It doesn't allow you the provision to open a page in that particular application. It just fires an event to bring the called Application to the foreground. Going through this documentation would further clear your doubts.
The new Facebook app is built using Objective-C as against previous once in HTML5 which used to support URL scheme mechanism. This link gives a hint on that.
http://techcrunch.com/2012/08/23/facebook-for-ios-faster/