How will Facebook Authenticate let me ID a user?

Posted by Donny P on Stack Overflow See other posts from Stack Overflow or by Donny P
Published on 2012-11-05T16:37:56Z Indexed on 2012/11/05 23:00 UTC
Read the original article Hit count: 319

I have a website where I need to have data that is ID'd by user. For example, they enter their favorite food:

userid       favorite food
------       -------------
1            french fries
2            tacos
3            fish sticks
4            chipotle

When I use Facebook Authentication, what identifier will I use for the userid? I'm assuming it's not name, since this would create duplicates. Is it just the person's Facebook ID?

Also is the correct API to use for 3rd party websites 'Facebook Connect' or 'Facebook Authorization' or something else?

© Stack Overflow or respective owner

Related posts about php

Related posts about JavaScript