2017 © Pedro Peláez
 

library opauth-twitter

Twitter strategy for Opauth

image

claromentis/opauth-twitter

Twitter strategy for Opauth

  • Tuesday, December 29, 2015
  • by astax-t
  • Repository
  • 5 Watchers
  • 0 Stars
  • 455 Installations
  • PHP
  • 1 Dependents
  • 0 Suggesters
  • 52 Forks
  • 0 Open issues
  • 3 Versions
  • 16 % Grown

The README.md

Opauth-Twitter

Twitter strategy for [Opauth][1], based on Opauth-OAuth., (*1)

Getting started

  1. Install Opauth-Twitter:, (*2)

    cd path_to_opauth/Strategy
    git clone git@github.com:opauth/twitter.git Twitter
    
  2. Create Twitter application at https://dev.twitter.com/apps, (*3)

    • Make sure to enter a Callback URL or callback will be disallowed.
      Callback URL can be a made up one as Opauth will explicitly provide the correct one as part of the OAuth process.
    • Register your domains at @Anywhere domains.
      Twitter only allows authentication from authorized domains.
  3. Configure Opauth-Twitter strategy with at least Consumer key and Consumer secret., (*4)

  4. Direct user to http://path_to_opauth/twitter to authenticate, (*5)

Strategy configuration

Required parameters:, (*6)

<?php
'Twitter' => array(
    'key' => 'YOUR CONSUMER KEY',
    'secret' => 'YOUR CONSUMER SECRET'
)

See Twitter.php for optional parameters., (*7)

Opauth-Twitter does "Sign In with Twitter" by default.
If you prefer to do a 3-legged OAuth, explicitly add authenticate_url parameter to strategy configuration and set it to https://api.twitter.com/oauth/authorize., (*8)

Dependencies

tmhOAuth requires hash_hmac and cURL.
hash_hmac is available on PHP 5 >= 5.1.2., (*9)

Reference

License

Opauth-Twitter is MIT Licensed
Copyright © 2012 U-Zyn Chua (http://uzyn.com), (*10)

tmhOAuth is Apache 2 licensed., (*11)

The Versions

29/12 2015

1.0.x-dev

1.0.9999999.9999999-dev http://opauth.org

Twitter strategy for Opauth

  Sources   Download

MIT

The Requires

 

by Avatar Ceeram

authentication auth twitter

29/12 2015

1.0.0

1.0.0.0 http://opauth.org

Twitter strategy for Opauth

  Sources   Download

MIT

The Requires

 

by Avatar Ceeram

authentication auth twitter

12/08 2014

dev-master

9999999-dev http://opauth.org

Twitter strategy for Opauth

  Sources   Download

MIT

The Requires

 

authentication auth twitter