2017 © Pedro Peláez
 

library twitter

Twitter strategy for Opauth

image

opauth/twitter

Twitter strategy for Opauth

  • Monday, June 18, 2018
  • by Ceeram
  • Repository
  • 13 Watchers
  • 35 Stars
  • 131,217 Installations
  • PHP
  • 10 Dependents
  • 8 Suggesters
  • 52 Forks
  • 10 Open issues
  • 10 Versions
  • 3 % 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
    

    or, (*3)

    composer require opauth/twitter
    
  2. Create Twitter application at https://dev.twitter.com/apps, (*4)

    • 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., (*5)

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

Strategy configuration

Required parameters:, (*7)

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

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

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., (*9)

Dependencies

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

Reference

License

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

tmhOAuth is Apache 2 licensed., (*12)

The Versions

18/06 2018

dev-master

9999999-dev http://opauth.org

Twitter strategy for Opauth

  Sources   Download

MIT

The Requires

 

authentication auth twitter

28/03 2017

0.3.2

0.3.2.0 http://opauth.org

Twitter strategy for Opauth

  Sources   Download

MIT

The Requires

 

authentication auth twitter

07/04 2014

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

12/06 2013

0.3.1

0.3.1.0 http://opauth.org

Twitter strategy for Opauth

  Sources   Download

MIT

The Requires

 

authentication auth twitter

28/10 2012

0.3.0

0.3.0.0 http://opauth.org

Twitter strategy for Opauth

  Sources   Download

MIT

The Requires

 

authentication auth twitter

10/10 2012

0.2.3

0.2.3.0 http://opauth.org

Twitter strategy for Opauth

  Sources   Download

MIT

The Requires

 

authentication auth twitter

06/10 2012

0.2.2

0.2.2.0 http://opauth.org

Twitter strategy for Opauth

  Sources   Download

MIT

The Requires

 

authentication auth twitter

28/08 2012

0.2.1

0.2.1.0 http://opauth.org

Twitter strategy for Opauth

  Sources   Download

MIT

The Requires

 

authentication auth twitter

23/05 2012

0.2.0

0.2.0.0 http://opauth.org

Twitter strategy for Opauth

  Sources   Download

MIT

The Requires

 

authentication auth twitter

23/05 2012

0.1.0

0.1.0.0 http://opauth.org

Twitter strategy for Opauth

  Sources   Download

MIT

The Requires

 

authentication auth twitter