Welcome to the Browser-Base Game Zone forums!
From a user standpoint, it sounds like a fair bit of hassle to have to go to the game, request a login token, log on to email/IM/whatever, retrieve the token, go back to the game, enter the token, and (finally!) get access to the game. Especially if you decide to be like so many BBG designers and use insanely short session expiration times which force users to log in multiple times a day.
Chris- Well, you may not like this particular idea, but keep in mind those wildly successful facebook games are passwordless.
Quote from: Topazan on October 14, 2010, 10:09:40 AMChris- Well, you may not like this particular idea, but keep in mind those wildly successful facebook games are passwordless. What if they do not use/hate FB or simply do not want their wall to be spammed?
Quote from: Chris on October 14, 2010, 11:07:05 AMQuote from: Topazan on October 14, 2010, 10:09:40 AMChris- Well, you may not like this particular idea, but keep in mind those wildly successful facebook games are passwordless. What if they do not use/hate FB or simply do not want their wall to be spammed?They log on through an IM bot?
I'm not sure why you're asking this, as far as I know most of the most popular facebook games do not provide an alternative means of authentication.
Quote from: Topazan on October 14, 2010, 11:40:32 AMQuote from: Chris on October 14, 2010, 11:07:05 AMQuote from: Topazan on October 14, 2010, 10:09:40 AMChris- Well, you may not like this particular idea, but keep in mind those wildly successful facebook games are passwordless. What if they do not use/hate FB or simply do not want their wall to be spammed?They log on through an IM bot? I assume you mean some kind of Instant Messenger? But which one? Do you want to implement all most popular IMs worldwide? OK, I know you mean Microsoft Instant Messanger, sorry to disappoint you, basicly no one knows what IM is in Poland, I only know because I hang out with foreigners.Second, FB is not so popular in some countries... Do you want to include NK.pl for Polish users? What about French most popular social network (I think they should have one since they loathe English language). Or Bulgarian?QuoteI'm not sure why you're asking this, as far as I know most of the most popular facebook games do not provide an alternative means of authentication. But these are FB only games.You know FB and Google seems strong for you if you are English. But around the world they are in decline right now, in some countries these are not as popular as national social networks/search engines.You would say that if your game is 100% in English you don't care, but that's not true. There is a huge percentage of "foreigners" who know English but do not use the global services but national ones. They would play your game but not if they have to install some "IM" whatever it might be
Actually, I didn't mean to specify a certain instant messenger. If I was going to implement this, it would ideally use XMPP with transports to talk to other networks, including your Polish GaduGadu.
It's a fair point that you can't accommodate everyone in the world
Besides, there's always the option of having this in addition to the traditional system.
Wow!!! Drop details after you investigate this further. If this include even GG then it must be really powerful.
You can, you just need to make a register page which asks for login and password
Which brings us back to square one. A traditional system with additional ConnectToFacebook button
QuoteYou can, you just need to make a register page which asks for login and password Oh yeah? What if their government has a system like China's and they block your site? What if they use a browser that doesn't support the http protocol? What about people who don't have computers? Ok, I'm just being silly.
The way it works as a client is you register a username and password from the network you're trying to access with the transport. After that, you can communicate with people on that network, who will see you as the user who's name and password you registered with the transport. Facebook and Google chat already use the XMPP protocol, so you can connect to them without a transport.
Make a boardgame game version and send it via mail
EDIT: To clarify, my idea was that the user would message the bot when they want to log in. The bot responds with a link containing a UID as GET data, and clicking the link logs the player in. That, I think, would be within the capabilities of this system.
Just out of curiosity, what didn't you like about Facebook's SDK? When I tried it it seemed to handle logins satisfactorily.
<?php include_once 'facebook.php';$fb = new facebook(array( 'appId' => $yourAppId, 'secret' => $yourAppSecret, 'cookie' => true,));if ($fb->getSession() == null) { $url = $fb->getLoginUrl(array( 'canvas' => 1, 'fbconnect' => 0 )); echo "<a href=\"".$url."\">Login with facebook!</a>"; } else { $userId = $fb->getUser(); echo "You are logged in with facebook!"; //query your database for $userId, then login or register accordingly }?>
As for the XMPP bot idea, it's unorthodox for sure, but I don't see why it wouldn't work. I'll experiment with it when I have some time and finish my current project.
Got it working, thanks. Seems the tutorial I used was wrong or FB changed one variable (I could have sworn that the code was working 3 months ago...)
Quote from: Topazan on October 24, 2010, 03:48:26 PMAs for the XMPP bot idea, it's unorthodox for sure, but I don't see why it wouldn't work. I'll experiment with it when I have some time and finish my current project. The thing is, you want to have the register/login part as unorthodox as possible. Players are familiar with it, if you change it you will confuse them, which is deadly at the pre register stage (leave originality for inside the game). The only case when it could work is for players who never used login/register thing... but they are extremely hard to convert anyway