CocoonJs and Facebook

Discussion and feedback on Construct 2

Post » Sun May 03, 2015 8:31 am

@Ludei

Hello all,

I am trying to get a Facebook object working for my cocoonJs project.
I know I can use the social feature in cocoonJs, BUT i want my project to run in Webview+ (not Canvas+. Multiplayer, which I need, only works in Webview+), and the cocoonJs social feature does not work in Webview+.
So I tried using the default Facebook Object that comes with Construct2, and the object does seem to work in Webview+, but I get the below error

"Given URL is not allowed by the application configuration. One or more of the given URLs is not allowed in the app settings. It must match the website URL or Canvas url or the domain must be a subdomain of one of the app's domains"

Can anyone explain this?. Is there a fix?
I'll check the app's setting at the FB developer page, but I'd appreciate some guidance.

Thanks
B
16
S
4
Posts: 140
Reputation: 1,458

Post » Sun May 03, 2015 6:54 pm

https://it-it.facebook.com/help/community/question/?id=542958419109491

I think the second answer may be the solution for your problem.
B
11
S
3
Posts: 224
Reputation: 2,028

Post » Mon May 04, 2015 9:55 am

@Knifegrinder @ludei

Yeah, it was. Kinda played around all the answers and got it to work. Now I have a problem where the game doesn't go back to the layout once you log in. It gets stuck on a blank white screen.

Thanks for the reply anyways.
B
16
S
4
Posts: 140
Reputation: 1,458

Post » Tue May 05, 2015 12:51 pm

Hello,

Provide a device log, please. I need to see the error in order to help.

Regards.
B
9
S
4
G
4
Posts: 383
Reputation: 3,616


Return to Construct 2 General

Who is online

Users browsing this forum: technofou and 11 guests