Hacker News new | ask | show | jobs
by eeagerdeveloper 5455 days ago
I hacked this together to see whether there is a group of people that prefer not to chat in anonymity. I tried out a few anonymous chat sites and most conversations involved male genitalia or some perverse comment. I hope people can start a better conversation when they reveal their name and picture.

Please check it out and give me your opinion.

3 comments

I immediately get redirected to http://chatoften.com/login, then get the following error

  ReferenceError: Jade:19
      17| 			p ChatOften connects you with another random Facebook user to have a one-on-one chat with. You'll both see each other's picture and name so that you can start a great conversation. Click register to start.
      18| 			fb:registration(fields="[{'name':'name'},{'name':'gender'},{'name':'location'}]"
    > 19| 			 		, redirect-uri="#{redirectUrl}"
      20| 			 		, fb_only ="true")
      21| 			- if(clientCount > 0)
      22| 				#numClients(style="text-align:center;color:#aaa") There are #{clientCount} people online

  clientCount is not defined
      at Object.anonymous (eval at <anonymous> (/home/ubuntu/src/node/node_modules/jade/lib/jade.js:224:10))
      at ServerResponse._render (/home/ubuntu/src/node/node_modules/express/lib/view.js:425:21)
      at ServerResponse.render (/home/ubuntu/src/node/node_modules/express/lib/view.js:316:17)
      at Router.<anonymous> (/home/ubuntu/www/chatServer/server.js:33:9)
      at done (/home/ubuntu/src/node/node_modules/express/lib/router/index.js:250:22)
      at middleware (/home/ubuntu/src/node/node_modules/express/lib/router/index.js:244:9)
      at param (/home/ubuntu/src/node/node_modules/express/lib/router/index.js:227:11)
      at pass (/home/ubuntu/src/node/node_modules/express/lib/router/index.js:232:6)
      at Router._dispatch (/home/ubuntu/src/node/node_modules/express/lib/router/index.js:255:4)
      at Object.handle (/home/ubuntu/src/node/node_modules/express/lib/router/index.js:45:10)
Hope this "bug report" helps.
Thanks tomp, I was deploying a new version and I seemed to have caused an issue. It should now be fixed.
I'd love to use it but I don't use Facebook
Never actually connected me. Also says "Users Online: 0"
I'll need to fix that. The user's is suppose to update once a session is established. I need to set that beforehand.

By the way, what browser are you using?

chrome, a refresh worked
Same here, had to refresh for a session.
Thank you, I'll look into that.