How does DeepLink communication work in Facebook sparkar?

686 views Asked by At

So I look into this sample and can not get two things:

  • How And when request you external app Is made?
  • Where are the external app deep link addresses?
1

There are 1 answers

2
Herald Smit On BEST ANSWER

Spark AR studio is an augmented reality design tool created for use with Instagram and Facebook (at present) but they have/ or had plans to use it with other Facebook apps like messenger and Facebook camera.

Intro videos here: https://developers.facebook.com/videos/2018/spark-ar-introduction-to-ar-studio/

Instagram does not allow you to use Deeplinks on its platform, it is intended to be used with the Facebook SDK only. When you create a Facebook app or Ad with a link, or your own Android or IOS app and use the Facebook SDK, you would be able to create and use Deeplinks within their ecosystem.

So to answer your first question: It is Facebook apps, ads and apps which use the Facebook SDK that can send parameters to you Spark AR effect. It is also these types of apps that Spark AR is talking about when they state:

DeepLinkModule

The DeepLinkModule class exposes methods and properties to read the values that an external app sent to an effect.

The answer to your second point is: In the Facebook Developer Dashboard, where you register and get app ID's for all your Facebook apps.

You can read more about Facebook Deeplinks and their construction here:

https://developers.facebook.com/docs/app-ads/deep-linking/