0

I have set up the Facebook module. Here is the code from my config file

"modules": { "facebook": { "version": "2.0.1", "config": { "appid": "XXXXXXX" } } }

However, when I run my app (web) I forge.facebook is undefined.

Any idea why is that happening?

Thanks!

p.s I get the same problem when trying to use UrbanAirship

1 Answer 1

2

Answering my own question (silly solution, but I feel that other people might make the same mistake)

Turns out both Facebook and UrbanAirship pluging with only on Android and IOS, not mobile. Trugger.io document ion makes it a bit tricky to notice, but the supported platforms are listed under every api call.

To get Facebook working on mobile you need to form a seperate branch with a regular Facebook Javascript api implementation.

Your Answer

By clicking “Post Your Answer”, you agree to our terms of service and acknowledge you have read our privacy policy.

Not the answer you're looking for? Browse other questions tagged or ask your own question.