Possibly dumb Facebook/Twitter login question

I’m working on a game that has an online component and I will need the players to login, which of course means at some point I need to prompt for Login/Password credentials. And of course I want to them to create an account from the app too, which menas even more fields to prompt with.

Then I had an epiphany!
Why don’t I just give the user a couple of buttons: Login with Facebook or Login with Twitter.

But my question is what information do I know about the player if I do that? I’m assuming with FB, I’ll have to fetch the me object to get info about the player.

Are there simple just login examples for both FB and Twitter?

[import]uid: 19626 topic_id: 15947 reply_id: 315947[/import]

I know that twitter has a full open source JSON library that you can export from the site. I’m pretty sure you can grab their name from Twitter but I’m not sure about Facebook. I know that with Twitter you could grab their latest tweet for sure.

It might be easier to just have them put in their email address or something…

Regards,
Jordan Schuetz
Ninja Pig Studios [import]uid: 29181 topic_id: 15947 reply_id: 59007[/import]