1FLICKR_MAKE_STORED_CONFUIsGe(r1)Contributed Perl DocumenFtLaItCiKoRn_MAKE_STORED_CONFIG(1)
2
3
4
6 flickr_make_stored_config.pl - script to assist with testing and using
7 the Flickr::API
8
10 "flickr_make_stored_config.pl --config_out=Config-File_to_build
11 [--config_in=file --consumer_key=...]"
12
14 Required:
15 --config_out points to where to create the stored Flickr config file
16
17 Optional:
18
19
20 --config_in points to the optional input config file to use as a base
21 for the --config_out file you are creating.
22
23
24 --api_type either flickr for the original, but deprecated, Flickr
25 authentication OR oauth for the OAuth authentication. it defaults to
26 oauth
27
28
29 For Flickr Auth
30
31 --api_key The api key when used with Flickr authentication required for
32 testing --key still works to maintain compatibility with Flickr::API
33 1.10 and before, but it is saved as api_key.
34
35
36 --secret The api secret when used with Flickr authentication required
37 for testing --secret still works to maintain compatibility with
38 Flickr::API 1.10 and before, but it is saved as api_secret.
39
40
41 --frob The frob used in Flickr authentication
42
43
44 --token The auth token can be either a Flickr or OAuth Access token
45 used with Flickr authentication
46
47
48 For OAuth
49
50 --consumer_key The api key when used with OAuth authentication required
51 for testing
52
53
54 --consumer_secret The api secret when used with OAuth authentication
55 required for testing
56
57
58 --callback The callback uri for use in OAuth authentication
59
60
61 --token_secret The OAuth access token secret
62
63
64
65
66 --help as expected
67 --usage
68 --man
69
71 This script is a lightweight method to assemble the required arguments
72 for using the Flickr::API. It can be used to assemble the
73 configuration(s) needed for the make test portion of installation. It
74 does not use Flickr::API; and sticks to modules from perl core so that
75 it can be used prior to-- and perhaps in conjunction with--
76 installation and testing of the Flickr::API module.
77
78 When you make test, add the environment variable MAKETEST_OAUTH_CFG,
79 MAKETEST_FLICKR_CFG or both; each pointing to the configuration file
80 you specified. The command should look something like:
81
82 make test MAKETEST_OAUTH_CFG=/home/myusername/test-flickr-oauth.cfg
83
84 or
85
86 make test MAKETEST_FLICKR_CFG=/home/myusername/test-flickrs-auth.cfg
87
88 or
89
90 make test MAKETEST_FLICKR_CFG=/home/myusername/test-flickrs-auth.cfg \
91 MAKETEST_OAUTH_CFG=/home/myusername/test-flickr-oauth.cfg
92
94 Copyright (c) 2015-2016, Louis B. Moore "<lbmoore@cpan.org>".
95
96 This program is released under the Artistic License 2.0 by The Perl
97 Foundation.
98
100 The README in the Flickr::API distribution.
101
102
103
104perl v5.36.0 2022-07-22 FLICKR_MAKE_STORED_CONFIG(1)