URLs

## URLs URLs — Support functions to get URLs. |

## Synopsis

    char*               flickcurl_urls_getGroup             (flickcurl *fc,
                                                             const char *group_id);
    char*               flickcurl_urls_getUserPhotos        (flickcurl *fc,
                                                             const char *user_id);
    char*               flickcurl_urls_getUserProfile       (flickcurl *fc,
                                                             const char *user_id);
    char*               flickcurl_urls_lookupGroup          (flickcurl *fc,
                                                             const char *url);
    char*               flickcurl_urls_lookupUser           (flickcurl *fc,
                                                             const char *url);

## Description

Support functions to get URLs.

## Details

### flickcurl_urls_getGroup ()

    char*               flickcurl_urls_getGroup             (flickcurl *fc,
                                                             const char *group_id);

Get the url to a group's page.

Implements flickr.urls.getGroup (0.9)

`fc` : | flickcurl context
`group_id` : | group ID
Returns : | NSID or NULL on failure

### flickcurl_urls_getUserPhotos ()

    char*               flickcurl_urls_getUserPhotos        (flickcurl *fc,
                                                             const char *user_id);

Get the url to a user's photos.

Implements flickr.urls.getUserPhotos (0.9)

`fc` : | flickcurl context
`user_id` : | user ID
Returns : | NSID or NULL on failure

### flickcurl_urls_getUserProfile ()

    char*               flickcurl_urls_getUserProfile       (flickcurl *fc,
                                                             const char *user_id);

Get the url to a user's profile.

Implements flickr.urls.getUserProfile (0.9)

`fc` : | flickcurl context
`user_id` : | user ID
Returns : | NSID or NULL on failure

### flickcurl_urls_lookupGroup ()

    char*               flickcurl_urls_lookupGroup          (flickcurl *fc,
                                                             const char *url);

Get a group NSID, given the url to a group's page or photo pool.

Implements flickr.urls.lookupGroup (0.9)

`fc` : | flickcurl context
`url` : | URL of group's page or photo pool
Returns : | NSID or NULL on failure

### flickcurl_urls_lookupUser ()

    char*               flickcurl_urls_lookupUser           (flickcurl *fc,
                                                             const char *url);

Get a user NSID, given the url to a user's photos or profile.

Implements flickr.urls.lookupUser (0.6)

`fc` : | flickcurl context
`url` : | URL of user's photo or user's profile
Returns : | NSID or NULL on failure