Skip to content

Odnoklassniki OAuth2 implementation for sgMelodyPlugin

Notifications You must be signed in to change notification settings

murmydy/sfOdnoklassnikiMelodyPlugin

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

6 Commits
 
 
 
 

Repository files navigation

sfOdnoklassnikiMelodyPlugin
===========================

Odnoklassniki OAuth2 implementation for sfMelodyPlugin

Kick-start code runnig ob PHP 5.3 (Not tested lower versions).
Allows to authorize user and import profile data as local user.


=== License ===

New BSD


=== Config ===

    odnoklassniki:
      key:          xxxxxx
      secret:       xxxxxxBABABABA
      private:      xxxxxxxxxxxxxx
      callback:     @your_router
      scope:        [VALUABLE ACCESS]
      user:
        username:
          call:      me
          path:      uid
          prefix:    odnoklassniki_
          key:       true
        email:
          call:      me
          path:      uid
          prefix:    odnoklassniki_
          key:       false
        picture:
          call:      me
          path:      pic_2
          key:       false
        link:
          call:      me
          path:      uid
          key:       false
          prefix:    "http://www.odnoklassniki.ru/profile/"


PS: inspired by http://habrahabr.ru/post/145988/

About

Odnoklassniki OAuth2 implementation for sgMelodyPlugin

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Languages