flickering
flickering copied to clipboard
not fetching latest picture
so i don't get new picture from flickr, it just a picture from the first time i add this plugin into my laravel website, any idea why?
i use config file to add api key and secret key and then in controller i using this
Flickering::handshake();
$pictures= Flickering::callMethod('people.getPhotos', array('user_id' => '127271987@N07'));
$pictures->setPerPage(10);
$pictures= $picture->getResults('photo');
and in my view
@foreach($pictures as $picture)
<?php
$img_url ="http://farm{$gambar['farm']}.staticflickr.com/{$gambar['server']}/{$gambar['id']}_{$gambar['secret']}.jpg";
$img_url_big ="http://farm{$gambar['farm']}.staticflickr.com/{$gambar['server']}/{$gambar['id']}_{$gambar['secret']}_b.jpg";
?>
<img alt="" class="" src="{{$img_url}}" />
@endforeach