T
T
therhino2015-03-06 02:12:17
API
therhino, 2015-03-06 02:12:17

How to make an API if there is registration only using social networks?

Users can ask questions on the site. How to organize the API, for example, to add new questions, if users can only enter the site using Facebook. What tokens to create, where to store them, etc.?
Thanks a lot for your help!

Answer the question

In order to leave comments, you need to log in

3 answer(s)
O
OnYourLips, 2015-03-06
@OnYourLips

Very simple.
Give users tokens and secret keys for authorization.

I
index0h, 2015-03-06
@index0h

Read the OAuth2 spec.

S
Silvan, 2015-03-07
@Silvan

Hold on, IMHO an excellent tutorial on creating your own api-server, the issue of authorization with your own hands through tokens
is considered apionrails.icalialabs.com/book/_single-page

Didn't find what you were looking for?

Ask your question

Ask a Question

731 491 924 answers to any question