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.
Pages: 1
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
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
"public" should be (WorldID.Text.ToLower().StartsWith("bw") ? "Beta" : "Everybodyedits" ) + client.BigDB.Load("config", "config")["version"]
Offline
Is the issues fixed? Then I guess you can lock this thread
Offline
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
I guess you fell for the "public" as world type too...
Thanks to: Ernesdo (Current Avatar), Zoey2070 (Signature)
Very inactive, maybe in the future, idk.
Offline
I fixed it
Thanks
Offline
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
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
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
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
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
I'm just keeping this thread open if someone knows what went wrong.
Offline
Pages: 1
[ Started around 1732405537.175 - Generated in 0.080 seconds, 12 queries executed - Memory usage: 1.52 MiB (Peak: 1.67 MiB) ]