1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 20 21 22 23 24 25 26 27 28 29 30 31 32 33 34 35 36 37 38 39 40 41 42 43 44 45 46 47 48 49 50 51 52 53 54 55 56 57 58 59 60
|
<!DOCTYPE html PUBLIC "-//W3C//DTD HTML 4.01 Transitional//EN">
<html>
<head>
<meta http-equiv="Content-Type" content="text/html; charset=UTF-8">
<title>Build Flickcurl library and flickcurl(1) utility</title>
<meta name="generator" content="DocBook XSL Stylesheets V1.76.1">
<link rel="home" href="index.html" title="Flickcurl Flickr API Manual">
<link rel="up" href="flickcurl-auth.html" title="Authenticating Flickcurl for OAuth">
<link rel="prev" href="flickcurl-auth.html" title="Authenticating Flickcurl for OAuth">
<link rel="next" href="flickcurl-auth-register.html" title="Register application to get Client Key and Client Secret">
<meta name="generator" content="GTK-Doc V1.18 (XML mode)">
<link rel="stylesheet" href="style.css" type="text/css">
</head>
<body bgcolor="white" text="black" link="#0000FF" vlink="#840084" alink="#0000FF">
<table class="navigation" id="top" width="100%" summary="Navigation header" cellpadding="2" cellspacing="2"><tr valign="middle">
<td><a accesskey="p" href="flickcurl-auth.html"><img src="left.png" width="24" height="24" border="0" alt="Prev"></a></td>
<td><a accesskey="u" href="flickcurl-auth.html"><img src="up.png" width="24" height="24" border="0" alt="Up"></a></td>
<td><a accesskey="h" href="index.html"><img src="home.png" width="24" height="24" border="0" alt="Home"></a></td>
<th width="100%" align="center">Flickcurl Flickr API Manual</th>
<td><a accesskey="n" href="flickcurl-auth-register.html"><img src="right.png" width="24" height="24" border="0" alt="Next"></a></td>
</tr></table>
<div class="section">
<div class="titlepage"><div><div><h2 class="title" style="clear: both">
<a name="flickcurl-auth-build"></a>Build Flickcurl library and <span class="command"><strong>flickcurl(1)</strong></span> utility</h2></div></div></div>
<pre class="programlisting">
$ ./configure
$ make
</pre>
<p>
Add the utils directory to your shell search path:
</p>
<pre class="programlisting">
$ PATH=`pwd`/utils:$PATH
on bourne shells such as Bash or
$ setenv PATH `pwd`/utils:$PATH
on c shells such as tcsh
</pre>
<p>
You should get an error if you now try the utility:
</p>
<pre class="programlisting">
$ flickcurl photos.getInfo 1234567
flickcurl: Configuration file /Users/dajobe/.flickcurl.conf not found.
...
</pre>
<p>
This is because there is no configuration set for the library. For
the <span class="command"><strong>flickcurl(1)</strong></span> utility, it reads the configuration from a file
<code class="filename">~/.flickcurl.conf</code> which contains 4 parameters used
for authentication: Client Key, Client Secret, Access Token and
Access Token Secret. This section describes how those parameters are
obtained.
</p>
</div>
<div class="footer">
<hr>
Generated by GTK-Doc V1.18</div>
</body>
</html>
|