timoschlueter / php-runtastic

PHP class to access Runtastic activities via PHP
MIT License
61 stars 16 forks source link

Can't retrieve workouts! #19

Open renzodiaz opened 8 years ago

renzodiaz commented 8 years ago

The activity list returns empty.

timoschlueter commented 8 years ago

Hi @renzodiaz, i just tested the class with my runtastic profile. I dont have any problems. Could you specify your environment? Maybe the phpinfo() output of your system?

renzodiaz commented 8 years ago

Hi Timo Thanks for answer, I'm using your library for retrieve data from Runtastic but I can retrieve data once.

I have form.php this form have action to functions.php

$r = new Runtastic(); $r->setUsername('username')->setPassword('xxxxx');

$r->getActivities(null,null, date('Y'));

getactivities() only works once! What am I doing wrong?

-Best

On Tue, May 17, 2016 at 6:07 AM, Timo Schlüter notifications@github.com wrote:

Hi @renzodiaz https://github.com/renzodiaz, i just tested the class with my runtastic profile. I dont have any problems. Could you specify your environment? Maybe the phpinfo() output of your system?

— You are receiving this because you were mentioned. Reply to this email directly or view it on GitHub https://github.com/timoschlueter/php-runtastic/issues/19#issuecomment-219686937

Riwak commented 6 years ago

Hey it work's only once for me to ! The first time is ok but if you refresh it's over.
I'm on php server 5.6.2. (Mac OS Sierra - MAMP Server - Safari 11.0)

capture 2017-10-11 a 13 27 19

caionorder commented 6 years ago

same problem

Riwak commented 6 years ago

This repo is out of date and bugged ! Try with javascript instead of php (It work well with Node JS platform. )

https://github.com/terhuerne/runtastic-js