How to integrate third party SDKs such as Facebook?

I haven’t played with Fuse yet but before I start, I want to know how you can integrate with SDKs on multiple platforms such as Facebook.

If facebook comes out with a new version, how easy is it to upgrade?

Hi!

Depends on which SDK you are talking about.

For example, the Facebook Parse SDK can be used as-is in JavaScript, like this:

<JavaScript Module="parse-1.5.js" Id="Parse" />

And in JS:

var Parse = require("Parse").Parse;

For Native SDK’s it requires a little more work in Uno code, depending on what language the SDK comes in. We are working on several examples on how to integrate 3rd party modules, coming soon :slight_smile:

Awesome, I built my own backend service so the main SDK I really need is the Facebook SDK

There is a JS version fo the Facebook SDK. We haven’t tested it yet, but it could work just the same way. If you give it a shot, please let us know how it went :slight_smile:

eeeekkk, definitely need native ios/android sdk. it’s a way better user experience and they offer unique mobile features then the javascript sdk offers such as native like buttons,

Allright, then you’ll have to wait a little while until we publish our native SDK integration examples :slight_smile:

Looking forward to it!

Haven’t even started yet but any hints on how to approach wrapping a native sdk to be used by fuse will be hugely beneficial. I will be thrilled with a 10 minutes write-up about exposing a single method of a fictional native dsk to fuse via uno :slight_smile:

There’s a bunch of code here for you to look at and be inspired by :slight_smile: https://github.com/fusetools/fuse-samples