Title: Flickr API
Author: Robert O'Rourke
Published: <strong>2011년 10월 14일</strong>
Last modified: 2014년 7월 24일

---

플러그인 검색

이 플러그인은 **최근 3개의 주요 워드프레스 출시와 시험 되지 않았습니다**. 워드프레스의
좀 더 최근 버전으로 이용할 때 더 이상 관리되지 않고 지원되지 않고 호환성 문제가 
있을 수 있습니다.

![](https://s.w.org/plugins/geopattern-icon/flickr-api.svg)

# Flickr API

 작성자: [Robert O’Rourke](https://profiles.wordpress.org/sanchothefat/)

[다운로드](https://downloads.wordpress.org/plugin/flickr-api.0.1.9.zip)

 * [세부사항](https://ko.wordpress.org/plugins/flickr-api/#description)
 * [평가](https://ko.wordpress.org/plugins/flickr-api/#reviews)
 * [개발](https://ko.wordpress.org/plugins/flickr-api/#developers)

 [지원](https://wordpress.org/support/plugin/flickr-api/)

## 설명

The Flickr API plugin provides tools for displaying your flickr galleries, sets,
photostream or favourites and more using a shortcode in posts and pages or as a 
widget. You can choose the size of image you want, whether it should be linked to
another image size or back to flickr or not linked at all, how many images to show
and more…

There are some built in options for displaying your images as a simple slideshow
or using the Galleria jquery plugin. Alternatively you can choose to style the output
yourself and use your own javascript.

For developers the plugin also gives you an easy method for calling and caching 
API responses both in PHP and javascript, and lots of useful tools for working with
those responses.

#### Usage

You will need to get an API key from flickr to use this plugin. Under the ‘You’ 
menu look for ‘Your Apps’. Click to get a key and then go to the media settings 
screen to add your API key and user name. The plugin will automatically determine
your NSID so you never need to look this up.

To use the plugin either generate a shortcode using the media upload/insert button
and selecting what you want to get or use the Flickr widget provided.

#### For developers

The plugin exposes its methods for your use in themes as template tags but the main
one you may find useful is `flickr_api()`. This is a general function for calling
any API method with the parameters you specify.

    ```
    <?php
    $response = json_decode( flickr_api( $method, $params, $cache ) );
    ?>
    ```

All responses are in JSON format so you will need to use `json_decode()` to use 
the response in PHP.

    ```
    @param $method: (string)    This is the API method to call
    @param $params: (array)     Additional arguments to pass into the call such as user_id, photoset_id, gallery_id, text, tags etc...
    @param $cache : (bool)      Whether or not to cache the response based on the arguments passed in
    ```

You can use the API via javascript as well:

    ```
    <script>
    var photos = flickr_api( method, params, cache );
    </script>
    ```

**NSID lookup:**

    ```
    <?php
    $nsid = flickr_get_user_nsid( $username );
    ?>
    ```

Just pass in the Flickr username of the person to get the NSID for.

#### Filters/Hooks

**flickr_galleria_themes**

You can enable the choice of custom or purchased galleria themes by extending the
themes array. Useful if you want your theme to have a choice of galleria theme beyond
the ‘classic’ style.

    ```
    <?php
    add_filter( 'flickr_galleria_themes', 'my_galleria_themes' );
    function my_galleria_themes( $themes ) {
        $themes[ /* full or relative url to theme js file */ ] = __( 'Theme Name' );
        return $themes;
    }
    ?>
    ```

## 후기

이 플러그인에 대한 평가가 없습니다.

## 기여자 & 개발자

“Flickr API”(은)는 오픈 소스 소프트웨어입니다. 다음의 사람들이 이 플러그인에 기여하였습니다.

기여자

 *   [ Robert O’Rourke ](https://profiles.wordpress.org/sanchothefat/)

[자국어로 “Flickr API”(을)를 번역하세요.](https://translate.wordpress.org/projects/wp-plugins/flickr-api)

### 개발에 관심이 있으십니까?

[코드 탐색하기](https://plugins.trac.wordpress.org/browser/flickr-api/)는, [SVN 저장소](https://plugins.svn.wordpress.org/flickr-api/)
를 확인하시거나, [개발 기록](https://plugins.trac.wordpress.org/log/flickr-api/)
을 [RSS](https://plugins.trac.wordpress.org/log/flickr-api/?limit=100&mode=stop_on_copy&format=rss)
로 구독하세요.

## 변경이력

#### 0.1.8

 * fixed a bug when the username is different to the URL path_alias, links to photo
   pages were broken
 * updated all call_user_func_array wrapper to remove pass by reference for PHP 
   5.4 compliance

#### 0.1.7

 * fixed a bug with linking to different sized photos in the output. Thanks to Cliff
   Seal (http://logos-creative.com) for the bug report!

#### 0.1.6

 * fixed bug with getting galleries, thanks to @strawbleu for the bug report
 * added a settings field for the cache time. Defaults to 1 hour

#### 0.1.5

 * improved loading time of JS galleries
 * reduced chance of errors in galleria loading by better namespacing for localisation
   object

#### 0.1.4

 * fixed conflict with jetpack shortcodes
 * MAJOR UPDATE – change all your shortcodes to ‘[flickrapi …]’ and not ‘[flickr…]’

#### 0.1.3

 * fixed problem with no automatic height on JS based flickr galleries

#### 0.1.2

 * fixed the ‘fixed’ shortcode output

#### 0.1

 * Initial alpha version

## 기초

 *  버전 **0.1.9**
 *  최근 업데이트: **12년 전**
 *  활성화된 설치 **20+**
 *  워드프레스 버전 ** 3.0 또는 그 이상 **
 *  다음까지 시험됨: **3.9.40**
 *  언어
 * [English (US)](https://wordpress.org/plugins/flickr-api/)
 * 태그:
 * [flickr](https://ko.wordpress.org/plugins/tags/flickr/)[galleries](https://ko.wordpress.org/plugins/tags/galleries/)
   [gallery](https://ko.wordpress.org/plugins/tags/gallery/)[images](https://ko.wordpress.org/plugins/tags/images/)
   [photos](https://ko.wordpress.org/plugins/tags/photos/)
 *  [고급 보기](https://ko.wordpress.org/plugins/flickr-api/advanced/)

## 평점

 별 5점 만점에 2.5점.

 *  [  0/5-별점 후기     ](https://wordpress.org/support/plugin/flickr-api/reviews/?filter=5)
 *  [  1/4-별점 후기     ](https://wordpress.org/support/plugin/flickr-api/reviews/?filter=4)
 *  [  0/3-별점 후기     ](https://wordpress.org/support/plugin/flickr-api/reviews/?filter=3)
 *  [  0/2-별점 후기     ](https://wordpress.org/support/plugin/flickr-api/reviews/?filter=2)
 *  [  1/1-별점 후기     ](https://wordpress.org/support/plugin/flickr-api/reviews/?filter=1)

[Your review](https://wordpress.org/support/plugin/flickr-api/reviews/#new-post)

[모든  리뷰 보기](https://wordpress.org/support/plugin/flickr-api/reviews/)

## 기여자

 *   [ Robert O’Rourke ](https://profiles.wordpress.org/sanchothefat/)

## 지원

할 말 있으신가요? 도움이 필요하신가요?

 [지원 포럼 보기](https://wordpress.org/support/plugin/flickr-api/)