opauth/flickr

Flickr strategy for Opauth

1.2 2014-08-10 09:31 UTC

This package is not auto-updated.

Last update: 2024-11-04 11:37:36 UTC


README

Flickr strategy for Opauth, based on Opauth-OAuth & Opauth-Twitter.

Getting started

  1. Install Opauth-Flickr:

    cd path_to_opauth/Strategy
    git clone git://github.com/pocket7878/opauth-flickr.git Flickr
    curl -s http://getcomposer.org/installer | php
    php composer.phar install
  2. Create Flickr application at http://www.flickr.com/services/

  3. Configure Opauth-Flickr strategy with at least key and secret.

  4. Direct user to http://path_to_opauth/flickr to authenticate

Strategy configuration

Required parameters:

<?php
'Flickr' => array(
	'key' => 'YOUR APP KEY',
	'secret' => 'YOUR APP SECRET'
)

See FlickrStrategy.php for optional parameters.

Dependencies

tmhOAuth requires hash_hmac and cURL.
hash_hmac is available on PHP 5 >= 5.1.2.

Reference

License

Opauth-Flickr is MIT Licensed
Copyright © 2012 Pocket7878 (http://poketo7878.dip.jp)

tmhOAuth is Apache 2 licensed.