How do I integrate Facebook in my android app?

Just started using Construct 2? Post your questions here

Post » Sat Jan 30, 2016 10:47 am

Ok, i have added Facebook object to my app and i have created facebook app in order to get AppID, which i have entered in Facebook object in construct. But what other settings on Facebook for Developers page of my app i have to set in order to get Facebook login and share to work? I saw Facebook tutorial on this website, but it's so outdated. I get this error when i try to login inside my app:
Image

Please note that i am not making Facebook app, i am trying to integrate facebook functions inside my Android app.
B
14
S
3
G
1
Posts: 87
Reputation: 997

Post » Sun Jan 31, 2016 2:12 pm

No one used facebook in their app? That's strange :D
B
14
S
3
G
1
Posts: 87
Reputation: 997

Post » Mon Feb 01, 2016 2:35 pm

The Facebook plugin by scirra will not work for mobile devices.
www.h1k3.tech

We are here for you!
B
84
S
22
G
15
Posts: 714
Reputation: 16,178

Post » Wed Feb 10, 2016 1:13 pm

try with cramberry plugins
B
6
S
1
Posts: 55
Reputation: 545

Post » Sun Feb 14, 2016 3:51 pm

sandronize wrote:try with cramberry plugins


I tried them and they work great! Best $5 ever spent!
B
14
S
3
G
1
Posts: 87
Reputation: 997

Post » Tue Feb 16, 2016 7:40 pm

ButcherZV wrote:
sandronize wrote:try with cramberry plugins


I tried them and they work great! Best $5 ever spent!


I will try that out...but why the native C2 plugin won't work? :roll:
B
13
S
1
Posts: 61
Reputation: 715

Post » Wed Feb 17, 2016 4:13 pm

ShinobiSlash wrote:I will try that out...but why the native C2 plugin won't work? :roll:


That plugin is used only if you are planing to make Facebook game (HTML5), so if you are planing to add Facebook features into your Android app, only solution is Cranberrygames Cordova plugins.
B
14
S
3
G
1
Posts: 87
Reputation: 997

Post » Mon Jul 11, 2016 12:06 am

ButcherZV wrote:
ShinobiSlash wrote:I will try that out...but why the native C2 plugin won't work? :roll:


That plugin is used only if you are planing to make Facebook game (HTML5), so if you are planing to add Facebook features into your Android app, only solution is Cranberrygames Cordova plugins.



Thanks , did not know that did not work facebook plugin when exporting to cordova to make it apk .
B
23
S
7
G
2
Posts: 7
Reputation: 2,400

Post » Thu Jul 14, 2016 7:50 pm

ill jump late in the conversation but i need help, im exporting the game as HTML5 using the construct2 FB plugin, it works when the browser of my computer is used, but if i open the same url in my mobile device the popup for facebook login does not work is there a way to fix this?

since im exporting only on html5 it should work on both devices i would assume.

thanks for any help!
B
7
S
1
Posts: 23
Reputation: 478

Post » Thu Jul 14, 2016 9:24 pm

it was my bad, i had both touch and click events and touch event was blocked for FB login.
B
7
S
1
Posts: 23
Reputation: 478

Next

Return to Beginner's Questions

Who is online

Users browsing this forum: Yahoo [Bot] and 3 guests