Facebook cranberry CocoonIO(SOLVED)

Discussion and feedback on Construct 2

Post » Sun Jul 03, 2016 7:46 am

So far I am loving CocoonIO. However I am having some trouble with facebook. I tried the one from CocoonIO, but it had some limitations. So I went with the one from cranberry.
The problem starts right away that when I add https://github.com/cranberrygame/cordov ... cebook.git to custom plugins it won't compile.
So I use a different one. https://github.com/jeduan/cordova-plugin-facebook4.git
This one does work. It basically does everything and works with cranberry facebook. However when I have the facebook app installed on the device it won't login or do any functions. When I request a login it shows loading for a few seconds and then it disappears. When I try to share something on facebook it says loading for 1 sec and then it looks like it is going to open facebookshare window but instead closes it and nothing happens after that. I tried different github links but they gave the same problems.

Can someone help me with this?
B
7
S
2
Posts: 140
Reputation: 1,073

Post » Sun Jul 03, 2016 8:58 pm

I tried pretty much every cordova plugin possible and it turned out to be the phonegap one that does the trick.
B
7
S
2
Posts: 140
Reputation: 1,073

Post » Mon Jul 04, 2016 4:35 am

@Furdy Hi,
Could you explain more clearly? I'm facing this problem, too. And I don't know how to solve. :(.
B
18
S
10
Posts: 21
Reputation: 1,640

Post » Tue Jul 05, 2016 7:38 pm

Sorry for my late response. I completely forgot to answer you.:( Perhaps you already figured it out. But I use cranberrys plugin facebook. And I combine it with this github in cocoonIO plugins. https://github.com/ludei/phonegap-facebook-plugin.git Dont forget to also add APP_ID and APP_NAME here as your normally would. If you need any help let me know.
B
7
S
2
Posts: 140
Reputation: 1,073

Post » Wed Jul 06, 2016 4:06 am

Hi, thank you so much for your support. It works great!
B
18
S
10
Posts: 21
Reputation: 1,640

Post » Thu Aug 04, 2016 4:48 pm

@Furdy, can you explain what you mean by "combine it with"? Are you saying you are adding both plugins and then it works fine? I am using XDK and everyhing works fine for iOS, but I cannot get it to compile for Android. Thanks.
B
42
S
16
G
3
Posts: 169
Reputation: 4,383

Post » Thu Aug 04, 2016 8:20 pm

With combine I mean that on cocoonIo you need to add a custom plugin to make it work(in combination with the plugin you use on construct 2 program. But I don't know how it works for XDK.
B
7
S
2
Posts: 140
Reputation: 1,073


Return to Construct 2 General

Who is online

Users browsing this forum: No registered users and 19 guests