Social Media Fetch
Last updated: Monday 27 September 2010 01:38
Version |
Compatible with |
0.1
|
4.x
|
This extension introduces a new fetch function for you to use in your template/php code. It only supports fetching flickr images for now, but it is also planned to fetch tweets, facebook wall posts etc etc... It's a way to easy implement social media to your sites..
This extension is based on the phpFlickr class from http://phpflickr.com/
You need:
- A Flickr username
- A Flickr API key – you can get this from http://www.flickr.com/services/api/key.gne.
- Your Flickr ‘secret’ – you will be given this when you receive your API key.
Useage:
{def $img = fetch( 'socialFetch', 'flickr', hash(
'flickrUsername', 'yourusername',
'flickrApiKey', 'yourapikeyhere',
'flickrSecret', 'youapisecret',
'limit', 5
)
)
}
{foreach $img as $i}

{/foreach}