Download the PHP package gabel/opauth-twitter-proxy without Composer
On this page you can find all versions of the php package gabel/opauth-twitter-proxy. It is possible to download/install these versions without Composer. Possible dependencies are resolved automatically.
Download gabel/opauth-twitter-proxy
More information about gabel/opauth-twitter-proxy
Files in gabel/opauth-twitter-proxy
Package opauth-twitter-proxy
Short Description Twitter strategy for Opauth
License MIT
Homepage http://opauth.org
Informations about the package opauth-twitter-proxy
Opauth-Twitter
Twitter strategy for Opauth, based on Opauth-OAuth.
Getting started
-
Install Opauth-Twitter:
-
Create Twitter application at https://dev.twitter.com/apps
- 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.
- Make sure to enter a Callback URL or callback will be disallowed.
-
Configure Opauth-Twitter strategy with at least
Consumer key
andConsumer secret
. - Direct user to
http://path_to_opauth/twitter
to authenticate
Strategy configuration
Required parameters:
See Twitter.php for optional parameters.
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
.
Dependencies
tmhOAuth requires hash_hmac and cURL.
hash_hmac is available on PHP 5 >= 5.1.2.
Reference
License
Opauth-Twitter is MIT Licensed
Copyright © 2012 U-Zyn Chua (http://uzyn.com)
tmhOAuth is Apache 2 licensed.