Mehdi Chibouni
Mehdi Chibouni

Reputation: 340

Load Javascript SDK outside Facebook App

I am working on a use case suggesting some Facebook user may invite his friends to use a given Facebook app, regardless of whether this user is using the App or not. This implies invoking dialogs from the Facebook JS SDK outside of the App Canvas.

Simply including the script path in the remote page would have been too easy. So my question is, is it programmatically possible to load the JS SDK from an arbitrary domain ?

Upvotes: 0

Views: 278

Answers (1)

C3roe
C3roe

Reputation: 96151

So my question is, is it programmatically possible to load the JS SDK from an arbitrary domain ?

Of course it is – countless websites use it, outside of Facebook.

You might have to specify the domain in your app settings, though. Otherwise Facebook will not allow features like f.e. login/connecting to the app from really “arbitrary” domains.

Upvotes: 1

Related Questions