exp:eeflickr:favorites_getList

Authentication is Required for this tag

Returns a list of favorite public photos for the given user.

Params

  • user_id: (Required) The user to fetch the favorites list for.
  • extras: A comma-delimited list of extra information to fetch for each returned record. Currently supported fields are: license,date_upload,date_taken,owner_name,icon_server,original_format,last_update,geo,tags,machine_tags.
  • per_page: Number of photos to return per page. If this argument is omitted, it defaults to 100. The maximum allowed value is 500.
  • page: The page of results to return. If this argument is omitted, it defaults to 1.
  • sign: sign="yes" Authentication is Required for this tag. (about Authentication)
  • refresh: (cache time in minutes) this overrides the default time eeFlickr stores Flickr API data before requesting new data from Flickr

Full Tag

{exp:eeflickr:favorites_getList sign="yes" user_id="47282007@N00" per_page="300" page="page1" extras="license,date_upload,date_taken,owner_name,icon_server,original_format,last_update,geo,tags,machine_tags"}

    {eeflickr
:favorites_getList_loop}
        {id}
        {owner}
        {secret}
        {server}
        {farm}
        {title}
        {ispublic}
        {isfriend}
        {isfamily}
        {license}
        {dateupload}
        {datetaken}
        {datetakengranularity}
        {ownername}
        {iconserver}
        {iconfarm}
        {originalsecret}
        {originalformat}
        {lastupdate}
        {latitude}
        {longitude}
        {accuracy}
        {tags}
        {machine_tags}
    {
/eeflickr:favorites_getList_loop}
    
    {eeflickr
:favorites_getList_paging} 
        page    
{page}<br />
        
pages   {pages}<br />
        
perpage {perpage}<br />
        
total   {total}<br />
    
{/eeflickr:favorites_getList_paging}


{
/exp:eeflickr:favorites_getList} 

 


Sample Usage

The code below will show the photos i have added to my favorites and use segment_4 as the paging segment

     

{exp:eeflickr:favorites_getList sign="yes" user_id="47282007@N00" per_page="16" page="{segment_4}"}

    {eeflickr
:favorites_getList_loop}
        
<div style="float:left; text-align:center; height:80px; width:80px; overflow:hidden;">
          <
img src="http://farm{farm}.static.flickr.com/{server}/{id}_{secret}_s.jpg" alt="{title}" />
        </
div>
    
{/eeflickr:favorites_getList_loop}
    
    {eeflickr
:favorites_getList_paging} 
    
<div style="clear:both;"></div>
    <
div id="pagination">
               
{exp:eeflickr:paginate page="{page}" pages="{pages}" perpage="{perpage}" total="{total}" max_links="2"}
                    Page {current_page} of {total_pages} pages {if current_page 
!= "1"}{first_page_link} <a href="{prev_page_url}">Previous</a>{/if}
                    {pagination_links}
                    {if current_page 
!= total_pages}<a href="{next_page_url}">Next</a{last_page_link}{/if}
                {
/exp:eeflickr:paginate}
     
</div>
    
{/eeflickr:favorites_getList_paging}
    
{
/exp:eeflickr:favorites_getList} 

     



Sample Above Will Output