Oauth - Facebook / Twitter / Foursquare

I am creating a way that people can connect their Fb, Twitter, and FS accounts to the account they create in my application. I want to create a single table where I can store all the necessary materials.

User(id, username, password, email)

Oauth (id, user_id, oauth_provider, ....... )

As for my understanding

Facebook needs facebook id

Twitter needs an identifier, token, secret

A Foursquare request requires an email id and user ID.

Just wanted to confirm that I am doing it right .. when building the Oauth table.

+3
source share
1 answer

"setting_parameter" , API . , Android ( ), Twitter .

. JSON-format. , , , . , API . , , API . .

Oauth(id, name, setting_parameter, description,...)

+5

All Articles