Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

not fetching latest picture #25

Open
t0n1zz opened this issue Jan 1, 2016 · 0 comments
Open

not fetching latest picture #25

t0n1zz opened this issue Jan 1, 2016 · 0 comments

Comments

@t0n1zz
Copy link

t0n1zz commented Jan 1, 2016

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
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant