Skip to content

Instantly share code, notes, and snippets.

@gotakk
gotakk / README.md
Last active August 28, 2015 13:53 — forked from Remiii/README.md
Hubot MamaCake (Paris 18e)

It's still a work in progress...

Intro

As William Durand was recently explaining in his SOS, he "didn't see any other interesting blog post about REST with Symfony recently unfortunately". After spending some long hours to implement an API strongly secured with oAuth, I thought it was time for me to purpose my simple explanation of how to do it.

Ok, you know the bundles

You might have already seen some good explanation of how to easily create a REST API with Symfony2. There are famous really good bundles a.k.a. :

@gotakk
gotakk / README.md
Last active August 29, 2015 14:16 — forked from Remiii/README.md

GENERATING A REFRESH TOKEN

STEP 1

  • Go to http://cloud.google.com/console and log-in
    • Activate youtube-data API (APIs & auth -> APIs)
    • Register a new app (APIs & auth -> registered apps)
  • Name it, select native