Open rydn opened 7 years ago
@rydn this is the FB JS SDK trying to do the init, so yes it need to be in a browser. So here the problem is that someone is calling the FBInit
function (https://github.com/pitchtarget/ember-cli-facebook-js-sdk/blob/master/addon/services/fb.js#L6). Please, let me know how can I help to solve the issue.
@bugant Assuming the Facebook SDK isn't touching browser specific stuff it would it not be possible to use something like ember-network and then eval'ing the returned text, seems unlikely to me.
Alternatively, why can't it just check isFastboot from the fast boot service?
@rydn @bugant Otherwise, is it possible to set FB = { skipInit: true}
from the config/environment
if the app's rendering in fast boot mode?
Currently if we run fast boot with this module included the following error occurs:
Is this the facebook sdk assuming its in a browser or is this the module making the call to
getScript
?