Flickr


The Flickr functionalities are changed.

Actually we can support both username and userid to bypass flickr server anomalies.

Those are the functions:

  • Flickr($username,$type=[galleries|sets|all],$isUserId=0)
    • This is the main entry point, get all the available information from user account.
    • isUserID is a bit field, if 0 the value in $username is  the user login name, if set to 1 the value inside $username is the userid 
      We encounter an issue (http://task.apps-builder.com/tasks/2777620) with user like nuovasalaafrica, where the api call doesn't retrieve any nsid, but the code worked with nsid.
      Infact if we try: http://dev.apps-builder.com/social/flickr/119334534@N05/sets/1 works, but  http://dev.apps-builder.com/social/flickr/nuovasalaafrica/sets/0 doesn't. 
    • $type
      • galleries
        • retrieve the list of user's galleries and make a feed of feed 
      • sets
        • retrieve the list of user's galleries and make a feed of feed 
      • all
        • due to some issue with flickr photos managment i've add this method.
          It use flickr.people.getPhotos method and retrieve the first 500 photos of the user, regardless of their membership in sets and galleries collection.
           
  • FlickrGetPhotosBySet($set)
    • This is the detail function for the internal feed. In the old Dashbord version user cannot access this function. We need to allow user (advanced user) to use this function.
  • FlickrGetPhotos ($gallery)
    • Same of FlickrGetPhotosBySet