Problem with Facebook application database: save my own user ID or use only user UID?

I want to create a Facebook application that can work inside IFrame / FB connect. I have to store some user information inside my database, but I still can’t decide whether to use the UID as the Facebook primary key or create my own user ID (and have the UID as a regular column). What approach is commonly used and why?

Thank! Andry

+3
source share
1 answer

The Facebook ID is also unique, as far as I know, I always use the UID for users . Although this should not be a problem if you create your own identifier, it will be an additional cost.

+3
source

Source: https://habr.com/ru/post/1742105/


All Articles