To start with oauth
Create a Facebook application on developers.facebook.com
to get your client_id and client_secret
OAuth 2 protocol
2- Redirection
www.facebook.com/dialog/oauth/authorize
client_id=...
response_type=code
scope=email,read_friendlists...
state=...
redirect_uri=http://myapp.com/
3 - Authorize callback
http://myapp.com/?code=...&state=...
4 - Retrieve the access token
POST graph.facebook.com/oauth/access_token
code=...
client_id=...
client_secret=...
grant_type=authorization_code
Once you have the access token
you have to pass the access_token in each API request
i.e.
https://graph.facebook.com/me?access_token=...
Publication in Le Monde (page2)
In telematin (TV)
There was more than 15 APIs implemented
We developed behind Webshell to manage all these APIs
Webshell
It was also a student project
Developed like HumankindWall during the PLIC
(Projet Libre d'innovation et de communication)
It was a shell for the web
with our own custom shell language
Webshell evolved
Our own language became Javascript
Apis was more industrialised thanks WADL
An IDE to make your own API script
Lots of contest won
Etalab campus
Innovact campus awards
Incuballiance
Dataconnexions
French Tech Tour
Le camping
Scientipole
Tremplin entreprises (French senat)
OSEO (French ministry of research) x2
....
then oauth.io
We exported the core of Webshell for authorization
The most demanded part
The most complicated to implement
Result
Webshell : 3k users in 1 year and a half
OAuth.io : 6k users in 5 months + 800 Github stars
More traction & lots of demands :
American white house / Berkley / Cisco ...