# flickr_make_stored_config(1p) - man - phpMan

[FLICKR_MAKE_STORED_CONFIG(1p)](https://www.chedong.com/phpMan.php/man/FLICKRMAKESTOREDCONFIG/1p/markdown)    User Contributed Perl Documentation   [FLICKR_MAKE_STORED_CONFIG(1p)](https://www.chedong.com/phpMan.php/man/FLICKRMAKESTOREDCONFIG/1p/markdown)



## NAME
       flickr_make_stored_config - script to assist with testing and using the [Flickr::API](https://www.chedong.com/phpMan.php/perldoc/Flickr%3A%3AAPI/markdown)

## SYNOPSIS
         flickr_make_stored_config --config_out=Config-File_to_build [--config_in=file  --consumer_key=...]

## OPTIONS
### Required:
       **--config**___**out** points to where to create the stored Flickr config file

### Optional:
       **--config**___**in**   points to the optional input config file to use as a base for the _--config_out_
       file you are creating.
       **--api**___**type**  either _flickr_ for the original, but deprecated, Flickr authentication OR _oauth_
       for the OAuth authentication. it defaults to _oauth_
            _For_ _Flickr_ _Auth_

       **--api**___**key** The api key when used with Flickr authentication _required_ _for_ _testing_ **--key** still
       works to maintain compatibility with [Flickr::API](https://www.chedong.com/phpMan.php/perldoc/Flickr%3A%3AAPI/markdown) 1.10 and before, but it is saved as api_key.
       **--secret** The api secret when used with Flickr authentication _required_ _for_ _testing_ **--secret**
       still works to maintain compatibility with [Flickr::API](https://www.chedong.com/phpMan.php/perldoc/Flickr%3A%3AAPI/markdown) 1.10 and before, but it is saved as
       api_secret.
       **--frob**  The frob used in Flickr authentication
       **--token** The auth token can be either a Flickr or OAuth Access token used with Flickr
       authentication
            _For_ _OAuth_

       **--consumer**___**key** The api key when used with OAuth authentication _required_ _for_ _testing_
       **--consumer**___**secret** The api secret when used with OAuth authentication _required_ _for_ _testing_
       **--callback** The callback uri for use in OAuth authentication
       **--token**___**secret** The OAuth access token secret
       **--help** as expected
### --usage
### --man

## DESCRIPTION
       This script is a lightweight method to assemble the required arguments for using the
       [Flickr::API](https://www.chedong.com/phpMan.php/perldoc/Flickr%3A%3AAPI/markdown). It can be used to assemble the configuration(s) needed for the **make** **test** portion
       of installation. It does not _use_ [_Flickr::API](https://www.chedong.com/phpMan.php/perldoc/Flickr%3A%3AAPI/markdown);_ and sticks to modules from perl core so that it
       can be used prior to-- and perhaps in conjunction with-- installation and testing of the
       [Flickr::API](https://www.chedong.com/phpMan.php/perldoc/Flickr%3A%3AAPI/markdown) module.

       When you **make** **test**, add the environment variable MAKETEST_OAUTH_CFG, MAKETEST_FLICKR_CFG or
       both; each pointing to the configuration file you specified. The command should look
       something like:

         make test MAKETEST_OAUTH_CFG=/home/myusername/test-flickr-oauth.cfg

       or

         make test MAKETEST_FLICKR_CFG=/home/myusername/test-flickrs-auth.cfg

       or

         make test MAKETEST_FLICKR_CFG=/home/myusername/test-flickrs-auth.cfg \
                 MAKETEST_OAUTH_CFG=/home/myusername/test-flickr-oauth.cfg

## LICENSE AND COPYRIGHT
       Copyright (c) 2015-2016, Louis B. Moore "<<lbmoore@cpan.org>>".

       This program is released under the Artistic License 2.0 by The Perl Foundation.

## SEE ALSO
       The README in the [Flickr::API](https://www.chedong.com/phpMan.php/perldoc/Flickr%3A%3AAPI/markdown) distribution.



perl v5.26.2                                 2018-08-14                [FLICKR_MAKE_STORED_CONFIG(1p)](https://www.chedong.com/phpMan.php/man/FLICKRMAKESTOREDCONFIG/1p/markdown)
