Active
Project:
Organic groups Flickr block
Version:
7.x-0.x-dev
Component:
Code
Priority:
Normal
Category:
Feature request
Assigned:
Reporter:
Created:
11 Apr 2012 at 06:44 UTC
Updated:
11 Apr 2012 at 10:37 UTC
It might be better not to rely on the Flickr module, but to rely on the FlickrAPI module. In the near future, Flickr module will rely on FlickrAPI as well. It's quite easy to change your module to use FlickrAPI. By doing so, you make it future proof (FlickrAPI already implemented OAuth authentication, as the current Flickr authentication that Flickr module uses will not work after Juli 31).
The only two things you need to implement:
- Copy the nsid form from the Flickr module (see this patch)
- Make a small block view function that does something like this:
<?php
$flickr = flickrapi_phpFlickr();
$result = $flickr->people_getPhotosOf($nsid);
// output
?>
Comments
Comment #1
progga commentedThanks for the tip :-) I will change the dependencies.
Sincerely,
Adnan
Comment #1.0
progga commentedLink to FlickrAPI