On Thu, May 3, 2012 at 10:39 PM, Vincent Demay <vde
...@scoop.it> wrote:
> Hi!
> You're right! There is a bug in the PHP API. I've just commited a fix
> to set the default value of $since parameter to -1. if $since
> parameter is différent from -1 it will override the $page parameter.
> Here a working sample ($since set to -1):
> $scoop->topic(438305,50,0,0,-1)->curatedPosts[0]->title
> $scoop->topic(438305,50,0,1,-1)->curatedPosts[0]->title
> Sorry for this issue and thanks for your feedback.
> Best,
> --
> Vincent Demay
> On May 3, 6:49 am, nodejs <mranandgeo...@gmail.com> wrote:
> > Hi!
> > Have been using the excellent php api (https://github.com/vdemay/
> > Scoopit-PHP) and it works fine.
> > Only problem I find is that changes in the "page" parameter are not
> > reflected in the results. The results always begin from page 0.
> > Modified the parameters first in the call to the function as:
> > $topic = $scoop->topic(438305,50,0,5,0);
> > Also tried modifying the function itself as:
> > public function topic($id, $curated=50, $curable=0, $page=5, $since =
> > 0);
> > Is scoop.it api defaulting to page=0.
> > Thanks.
> --
> You received this message because you are subscribed to the Google
> Groups "Scoop.it API Talk" group.
> To post to this group, send email to scoopit-api-talk@googlegroups.com
> To unsubscribe from this group, send email to
> scoopit-api-talk+unsubscribe@googlegroups.com
> For more options, visit this group at
> http://groups.google.com/group/scoopit-api-talk?hl=en