Official Everybody Edits Forums

Do you think I could just leave this part blank and it'd be okay? We're just going to replace the whole thing with a header image anyway, right?

You are not logged in.

#1 2016-11-23 21:51:08

Latif
Member
From: The Netherlands
Joined: 2015-03-13
Posts: 1,206

Facebook connect doesn't work

My friend want to be able to login with facebook in my bot. Because he plays on facebook. But I get some problems.

I can't connect with facebook. I got a token from this link:
https://developers.facebook.com/tools/explorer
I pasted the token it in my bot.

But the bot will stuck at loading when I try to connect. I really don't know what I did wrong //forums.everybodyedits.com/img/smilies/sad
It doesn't crash. It's just loading..

Code for logging in:

client = PlayerIO.QuickConnect.FacebookOAuthConnect("everybody-edits-su9rn58o40itdbnw69plyw", Token.Text, null, null);
con = client.Multiplayer.CreateJoinRoom(WorldID.Text, "public", true, new Dictionary<string, string>(), new Dictionary<string, string>());

If there's nothing wrong with the code. Can someone explain how to get that token. I don't play on facebook so I don't know anything :/

Offline

#2 2016-11-23 23:20:37, last edited by SirJosh3917 (2016-11-23 23:23:17)

SirJosh3917
Formerly ninjasupeatsninja
From: USA
Joined: 2015-04-05
Posts: 2,095

Offline

Wooted by:

#3 2016-11-24 01:24:37

capasha
Member
Joined: 2015-02-21
Posts: 4,066

Re: Facebook connect doesn't work

Is the issues fixed? Then I guess you can lock this thread

Offline

#4 2016-11-24 02:44:07

Tomahawk
Forum Mod
From: UK
Joined: 2015-02-18
Posts: 2,847

Re: Facebook connect doesn't work

Are you sending "init"?


One bot to rule them all, one bot to find them. One bot to bring them all... and with this cliché blind them.

Offline

#5 2016-11-24 05:25:32

Vinyl Melody
Formerly BananaMilkShake
Joined: 2016-06-19
Posts: 616

Re: Facebook connect doesn't work

I guess you fell for the "public" as world type too...


cb0de83627.png
Thanks to: Ernesdo (Current Avatar), Zoey2070 (Signature)

Very inactive, maybe in the future, idk.

Offline

#6 2016-11-24 07:28:27

Latif
Member
From: The Netherlands
Joined: 2015-03-13
Posts: 1,206

Re: Facebook connect doesn't work

I fixed it //forums.everybodyedits.com/img/smilies/smile
Thanks

Offline

#7 2016-11-25 21:26:33

Latif
Member
From: The Netherlands
Joined: 2015-03-13
Posts: 1,206

Re: Facebook connect doesn't work

Nevermind..
It still stucks at loading. I really don't know why. Logging in with everybodyedits.com and with Kongregate always works.
Code:

public Connection con;
public Client client;

//clicking the connect button
client = PlayerIO.QuickConnect.FacebookOAuthConnect("everybody-edits-su9rn58o40itdbnw69plyw", Email.Text, null, null);
con = client.Multiplayer.CreateJoinRoom(WorldID.Text, (WorldID.Text.ToLower().StartsWith("bw") ? "Beta" : "Everybodyedits") + client.BigDB.Load("config", "config")["version"], true, new Dictionary<string, string>(), new Dictionary<string, string>()); //got this from ninjasupeatsninja
con.Send("init"); //YES I sent init I'm not dumb
con.OnMessage += new MessageReceivedEventHandler(handlemessages);

Offline

#8 2016-11-26 07:36:04

Srna
Member
Joined: 2015-02-26
Posts: 220

Re: Facebook connect doesn't work

Latif wrote:

Nevermind..
It still stucks at loading. I really don't know why. Logging in with everybodyedits.com and with Kongregate always works.
Code:

public Connection con;
public Client client;

//clicking the connect button
client = PlayerIO.QuickConnect.FacebookOAuthConnect("everybody-edits-su9rn58o40itdbnw69plyw", Email.Text, null, null);
con = client.Multiplayer.CreateJoinRoom(WorldID.Text, (WorldID.Text.ToLower().StartsWith("bw") ? "Beta" : "Everybodyedits") + client.BigDB.Load("config", "config")["version"], true, new Dictionary<string, string>(), new Dictionary<string, string>()); //got this from ninjasupeatsninja
con.Send("init"); //YES I sent init I'm not dumb
con.OnMessage += new MessageReceivedEventHandler(handlemessages);

Does it show any errors?

Offline

#9 2016-11-26 11:02:23

Latif
Member
From: The Netherlands
Joined: 2015-03-13
Posts: 1,206

Re: Facebook connect doesn't work

Srna wrote:
Latif wrote:

Nevermind..
It still stucks at loading. I really don't know why. Logging in with everybodyedits.com and with Kongregate always works.
Code:

public Connection con;
public Client client;

//clicking the connect button
client = PlayerIO.QuickConnect.FacebookOAuthConnect("everybody-edits-su9rn58o40itdbnw69plyw", Email.Text, null, null);
con = client.Multiplayer.CreateJoinRoom(WorldID.Text, (WorldID.Text.ToLower().StartsWith("bw") ? "Beta" : "Everybodyedits") + client.BigDB.Load("config", "config")["version"], true, new Dictionary<string, string>(), new Dictionary<string, string>()); //got this from ninjasupeatsninja
con.Send("init"); //YES I sent init I'm not dumb
con.OnMessage += new MessageReceivedEventHandler(handlemessages);

Does it show any errors?

No
It's just loading forever when I try to connect. Logging in with EE takes 3 seconds.

Can someone send me a code to login with facebook that works. So I can compare it. And maybe use it.

Offline

#10 2016-11-26 11:07:08, last edited by capasha (2016-11-26 11:10:04)

capasha
Member
Joined: 2015-02-21
Posts: 4,066

Re: Facebook connect doesn't work

Some Facebook accounts doesn't work. Someone reported this to me, and we tried everything nothing worked.
Tell your friend to transfer the Facebook account to an EE account.

You doesn't even check for errors from connection or client. The reason you never know whats wrong.

Offline

#11 2016-11-26 14:25:42, last edited by Latif (2016-11-26 16:01:04)

Latif
Member
From: The Netherlands
Joined: 2015-03-13
Posts: 1,206

Re: Facebook connect doesn't work

capasha wrote:

Some Facebook accounts doesn't work. Someone reported this to me, and we tried everything nothing worked.
Tell your friend to transfer the Facebook account to an EE account.

You doesn't even check for errors from connection or client. The reason you never know whats wrong.

I made a facebook account and tried to login with your EEditor. But it says "missing facebook uid". So it looks like it doesn't work with other bots too.
I'm going to ask my friend to transfer his account. Or he can make an account on everybodyedits.com.

Thanks for the help //forums.everybodyedits.com/img/smilies/smile
I'm just keeping this thread open if someone knows what went wrong.

Offline

Latif1480166742636878

Board footer

Powered by FluxBB

[ Started around 1732405537.175 - Generated in 0.080 seconds, 12 queries executed - Memory usage: 1.52 MiB (Peak: 1.67 MiB) ]