Sample code for 30+ languages & platforms
CkPhp

OAuth2 Examples for CkPhp