does the Facebook SDK (for iOS) break pre-existing deep links? - facebook

I have an iOS app that uses deep linking as part of an out-of-app authentication flow within a web view. Upon authentication, a redirect is made back to the app with the deep link prefix.
Ive installed the Facebook SDK because I wanted to track conversions, but after doing so, it seems to have disabled my deep linking functionality.
Is this expected, and if so, how do I get around it?

I figured out that the SDK will overwrite any of the URL types that you have specified in the project info. So you need to re-add your original deep link(s)

Related

How to read Facebook App links from Branch SDK

I want to use deep link in my FaceBook ads install campaign.
According to Branch docs: https://docs.branch.io/deep-linked-ads/facebook-app-install-ads/#optional-deep-link-your-app-install-campaign
Unfortunately, we've found that the direct S2S mechanism for retrieving deep links is rather unreliable. We recommend that you have the Facebook Android / iOS SDKs installed so Branch can work directly with them on the client side for the best outcome.
I need to integrate Facebook SDK and then call:
Branch.getAutoInstance(this).enableFacebookAppLinkCheck();
But this method is not exist in Unity Plugin (https://docs.branch.io/apps/unity/)
Any ideas how to overcome that problem?
We don't have a wrapper for this method call. Please call the code from the Native Android files.

What's best solution to use facebook SDK NOW in Xamarin.forms - PCL project?

I'm making app with using Xamarin.forms. (PCL project)
I want to use facebook SDK to use
- get my profile. (name, e-mail)
- get my friends list. (their account id)
- posting on my wall.
I searched it and there are many options for that.
And Some solution seems like out of date. (not updated)
using Xamarin.Auth. (Component)
https://www.youtube.com/watch?v=cyq_ho4QflQ
looks like it's not using facebook app to log in that user installed on their phone.
The Outercurve Foundation's Facebook SDK (Component) https://components.xamarin.com/view/facebook-sdk
many people recommended to use it. but
In rating page, people says that it's out of date and useless now. (because it's not updated and facebook rule's changed)
Facebook SDK by Xamarin from nuGet Package.
Xamarin developer says that there is no FB SDK for PCL project so far.
I'm curious that what is the good way to use facebook SDK?
It must have been being used by many developers who make app with using Xamarin.forms.
Are you guys uses Dependency Service with native SDK?
No 3 is your best option. Correct, there is no Xamarin-Facebook binding library for PCL. However, it's fairly easy to make it happen with dependency injection. Either with the DependencyService or other container.

Is there any alternative to Universal-linking in SWIFT?

Okay I have been trying day long to figure deep linking and universal linking.
I am trying to design an app which has a deep link as "bunty" .
So I have a web link as http://www.bunty.org & if I click on this URL in my iphone it would result in opening myapp. And if not it would open the url in Safari or any other browser.
Till now my search results direct me towards Universal Linking . So is there any other way to achieve what I am trying to do like going via deep linking only?
I think what you're saying is that you want to deeplink into your app with the base URL. Unfortunately for universal links on iOS, this behavior is expected - Universal links only work from a different domain. So, you won't be able to open your app through the root domain.
You can use universal links through a non-root domain. One way to make this easier is to use branch to make deep linking easier - it's totally free and you can make custom redirects for individual links and platforms, and pass data through install.
As of iOS9.2, URI schemes are deprecated, so going with Universal links is probably your best option. If you use Branch, you can also set up a custom domain (not the same as your root domain) with Cloudflare to use for your Universal links.

binary sdk for iphone

i am planning to develop an login sdk for our partners. in their application they use this sdk so they can not get username/password of the users. only sessionId will be return from the sdk and they will use this sessionId to fetch data from server.
this sdk can not be decompiled and can not be tracked. sdk must be a closed-box so the developers can not access user account which is filled in sdk by any user.
it think it must be a binary library. how can i implement such as sdk?
thanks.
Anything can be decompiled. Any data existing in one process can be read from within that process. The view hierarchy created by your library can be analyzed and inspected from the application when running, including reading the contents of UITextFields presented by the sdk/library. There is no way to prevent a motivated application developer who's using your sdk from sniffing the user's data the user enters into objects created and presented by the library.
You will need to build a static library with your functions implemented. You can search the web for tutorials how to do that. Some examples are here and here

Facebook iOS SDK too slow

I have recently wired up my application to use the Facebook iOS SDK (http://github.com/facebook/facebook-ios-sdk). The integration works fine, but the pages loads really slow. It takes really a long time to load the login screen. Login action takes more than 10-60 seconds.
I didn't have this problem with Facebook Connect. Am I missing something? Is there a way to optimize this?
Update
I did scan the activity through HTTP Scoop over Wi-Fi which revealed something interesting, there are some .js and .css files that are taking a lot of time in the new Facebook iOS SDK (login.php, ar7ed2ft.css, 4wj242ne.js, abl6sgyy.js,) where as the old one was zippy. How to let Facebook know about it?
New Facebook iOS SDK
Old Facebook Connect
Implement OAuth 2.0 yourself. It just uses HTTPS, extremely easy to implement. In my experience, it was easier than using their confusing, document-less SDK. Important is getting authentication token. You can access all their graphs with it.
If you implement it yourself, you can choose login screen dialog design as one of:
touch
WAP
WAP is uglier because it's for older phones, but if you really need it, it may help you.
Try using this one http://github.com/facebook/facebook-iphone-sdk