Description Usage Arguments Author(s) References See Also
These are really internal functions for the Rflickr
package that need to be exported so that they are visible/accessible
by functions in the list FlickrFunctions
.
These functions are used by the FlickrSession
objects
but are not in the Rflickr
name space.
Since the use these internal functions, the internal functions
must be exported. We could modify the function definitions
to use Rflickr:::addSignature
, etc.
or modify the environments of the functions. But this is
more of an example at present than a highly engineered
piece of software. Exporting these functions is not
really a big deal and it is useful for people to see them
if they want to understand what is happening.
addSignature
is repsonsible for creating the api_sig
parameter for the form submission. It creates an md5 encryption
of the other form parameters.
processFlickrResponse
parses the body of the HTTP response
from the Flickr operation and throws an error if an error occurred
or parses the XML content.
1 2 3 4 | addSignature(secret, ..., .args = list(...), removeMethod = FALSE)
processFlickrResponse(txt, method = character(), api_key = character(),
secret = character(), .convert = NULL,
format = character())
|
... |
the name = value pairs for the form submission |
.args |
a way to avoid using the ... parameter and specify and existing list. |
removeMethod |
ignored! |
txt |
the body of the HTTP response |
method |
the name of the Flickr operation being called when the error occurred. |
api_key |
the |
secret |
the secret associated with the |
.convert |
a function or missing value |
format |
an empty character vector or the string |
Duncan Temple Lang
http://www.flickr.com/services/api
authenticate
flickrSession
All of the flickr.*
functions.
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.