Skip to content

jelled/opauth-tumblr

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

4 Commits
 
 
 
 
 
 
 
 
 
 

Repository files navigation

Opauth-Tumblr

Opauth strategy for Tumblr authentication.

Implemented based on http://www.tumblr.com/docs/en/api/v2#auth

Opauth is a multi-provider authentication framework for PHP.

Getting started

  1. Install Opauth-Tumblr:

    cd path_to_opauth/Strategy
    git clone git://github.com/jelled/opauth-tumblr.git Tumblr
  2. Create a Tumblr application at http://www.tumblr.com/oauth/apps and set http://[path_to_opauth]/tumblr/oauth_callback as your default callback URL.

  3. Configure Opauth-Tumblr strategy.

  4. Direct user to http://[path_to_opauth]/tumblr to authenticate

  5. Now that you have the user's token and token_secret, use them with tumbler's official php library to create/edit/delete posts.

Strategy configuration

Required parameters:

<?php
'Tumblr' => array(
  'consumer_key' => 'YOUR CLIENT ID',
  'consumer_secret' => 'YOUR CLIENT SECRET'
)

Optional parameters: scope, response_type
For scope, separate each scopes with a space(' ') and not a plus sign ('+'). Eg. likes comments.

References

License

Opauth-Tumblr is MIT Licensed Copyright © 2013 Benjamin Bjurstrom (@benbjurstrom)

About

Tumblr strategy for Opauth

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Languages