[Plugin] Cordova Facebook Connect

Post your completed addons to share with the community

Post » Tue Aug 16, 2016 11:58 pm

Vegamon007 wrote:Hi Jose,

I've been testing out your plugin today. Similar to @GameThirsty, I am able to build to both iOS and Android but none of the actions in your plugin does anything.

I have tried multiple different parameters in the login call and the app ID and name are correct in the Intel XDK plugin. None of the other functions (share dialog, get login status, app request etc.) work either.

@GameThirsty did you manage to solve your issues?


My plugin is a wrapper of this: https://github.com/jeduan/cordova-plugin-facebook4 so maybe this plugin is causing some issues, but i say to you i have knowledge that at least one of the users who bought my plugin is using the invite action without any problem. I will say to him to post here if he did a special step or something that we dont know yet. Sorry for this issues.
B
19
S
6
G
2
Posts: 258
Reputation: 2,644

Post » Wed Aug 17, 2016 9:17 am

@Josek5494 just created a blank project to test your plugin again. Same result as with my actual project, none of the plugin actions do anything. My event sheet looks like this:
http://imgur.com/01CiAbf
http://imgur.com/qGl0WYD

My layout looks like this:
http://imgur.com/3hb05Iz

After exporting to iOS, I'm noticing something strange. When I tap any of the 3 buttons, the first 'Set text' action resolves and changes the text to "Logging in", but the second 'append text' action does not resolve. Not sure why this is but it seems like the action from your plugin is stopping any subsequent actions from resolving... When I test the same thing on my browser via Construct 2 (localhost) the text changes to "Logging in - Still logging in", that is, both the 'set text' and 'append text' actions resolve. Any idea what this could mean?
Mega Game Studios is a tiny independent game studio run from our apartment in Melbourne, Australia. We're not quite sure what we do yet but we think it has something to do with apps, board games and plush toys.

www.megagamestudios.com
B
18
S
7
G
3
Posts: 85
Reputation: 2,920

Post » Wed Aug 17, 2016 11:05 am

Vegamon007 wrote:@Josek5494 just created a blank project to test your plugin again. Same result as with my actual project, none of the plugin actions do anything. My event sheet looks like this:
http://imgur.com/01CiAbf
http://imgur.com/qGl0WYD

My layout looks like this:
http://imgur.com/3hb05Iz

After exporting to iOS, I'm noticing something strange. When I tap any of the 3 buttons, the first 'Set text' action resolves and changes the text to "Logging in", but the second 'append text' action does not resolve. Not sure why this is but it seems like the action from your plugin is stopping any subsequent actions from resolving... When I test the same thing on my browser via Construct 2 (localhost) the text changes to "Logging in - Still logging in", that is, both the 'set text' and 'append text' actions resolve. Any idea what this could mean?


Are you testing the project installed in a device with Facebook App installed too? Have you tried it on Android?
B
19
S
6
G
2
Posts: 258
Reputation: 2,644

Post » Wed Aug 17, 2016 1:36 pm

Josek5494 I have tested the project installed in a device with Facebook App installed and result is error as the Vegamon007 reported.
B
250
S
39
G
15
Posts: 1,953
Reputation: 40,623

Post » Wed Aug 17, 2016 4:15 pm

Lordshiva1948 wrote:Josek5494 I have tested the project installed in a device with Facebook App installed and result is error as the Vegamon007 reported.


Mmmm i think the user who bought my plugin will post here to explain a little if he did something that we dont know
B
19
S
6
G
2
Posts: 258
Reputation: 2,644

Post » Wed Aug 17, 2016 8:14 pm

Nope, anything weird required to make the plugin works... Just create your app in Facebook to see your app name and id, use the actions in your project, install and fill the variables in cordova-plugin-facebook4... Guys you should make test with different Android and iOS versions to maybe find a clue, but i repeat, i have a friend using it on Android without any kind of problem following the steps.
B
19
S
6
G
2
Posts: 258
Reputation: 2,644

Post » Wed Aug 17, 2016 10:47 pm

Hey , so i tried the plugin with intel xdk and it seems to work great . Until now i have tested the login function and the invite friends one , since those were the most important for my game project , and got it working , but i usually export it on android 4.1 api number 16 ( since on a lower api phones , the performance is really bad and it gave me a weird error during build app , also it does not matter to me since the performance is baaad in devices with android vertion older than 4.2 , so 4.1 seems fine ) and it works great with the latest whitelist option of xdk ... testing it soon on ios , and will post for updates
Edit : so im reading about your login problem ... weird thing is i dont use login at all but whenever i execute invite action , it automatically asks me to login if im not logged in or just takes me directly to the invite list from facebook if im already logged in ... also will try other actions to see if i get the same positive results
'Image'Image'Image
B
19
S
5
G
2
Posts: 97
Reputation: 2,374

Post » Thu Aug 18, 2016 7:52 am

@Josek5494 I have tested it both on my Samsung Galaxy and my iPad. Same result on both devices. Both devices have the Facebook installed. I have previously been able to log into Facebook in my app using Cranberry Games's Facebook plugin however his plugin is currently not compatible with Cordova which is why I'm looking for an alternative.

Considering the number of people who are have issues using the plugin, I think it would be a good idea to create a tutorial with pictures and a downloadable CAPEX file so that we can try to retrace your steps to get the plugin to work. Thanks for your help buddy! Hope we can get this working!
Mega Game Studios is a tiny independent game studio run from our apartment in Melbourne, Australia. We're not quite sure what we do yet but we think it has something to do with apps, board games and plush toys.

www.megagamestudios.com
B
18
S
7
G
3
Posts: 85
Reputation: 2,920

Post » Thu Aug 18, 2016 8:43 am

@Josek5494 I also think it would be a good idea to create a tutorial with pictures and a downloadable CAPEX file so that we can try to retrace your steps to get the plugin to work.
B
250
S
39
G
15
Posts: 1,953
Reputation: 40,623

Post » Thu Aug 18, 2016 10:22 am

Thanks to all of you guys for the support. I'm on vacation right now but when i come back i will do a video tutorial and a little explanation with the guy who made the plugin works @Donald Cela :D
B
19
S
6
G
2
Posts: 258
Reputation: 2,644

PreviousNext

Return to Completed Addons

Who is online

Users browsing this forum: No registered users and 4 guests