I’m really interested in the Strava integrator, but couldn’t get it to work. I’ve uploaded the files to my webserver and opened gettoken.php – after I enter my details and click submit, I get an eror:
Fatal error: Uncaught exception ‘Exception’ with message ‘Problem with https://www.strava.com/api/v2/authentication/login, ‘ in [blah blah]
Do you know which files it’s having trouble with? Everything in the package is standard. Personally I’m on Web Hosting Hub and I haven’t had any issues, nor did I have issues on my previous (but terrible) host Host Monster.
Hi Chris
I just purchased your premium product today. Tried to setup locally, running MAMP Pro server. Added all the details in the config.php file as directed, but not getting any content pumping through into the index.php file when viewing in the browser.
I also added the files to a test server here http://ruplay.me/nikeplus/strava_integrator/index.php
Same problem.
I can send you the error logs separately…
Thanks
Ah I figured it out after reading the strava forums. I was assuming that runs would also work (I only have run sample data in my account). But alas, the run activity is not supported by the API yet (which is pretty dumb).
I changed my run to ride in the strava app and now it all works just fine. Thanks!!!!
Hi, Sorry you had trouble.
As you pointed out in your follow up, the API only supports rides. There is a new version of the API in the pipeline. Although I have little information on it, it’s possible they will extend support to other activities. The new version of the API is going to replace the current version and it’s going to require developers (me) to register to gain access to it (the current API is open to anyone). So long as I’m able to gain access to the new version I’ll update Strava Integrator.
The work around may not be ideal so if you would like a refund I’d be happy to offer one.
Thank you for your support.
Hi Chris
Yes, according to Strava V3 is on it’s way (no mention of dates, but “soon” is positive), which will mean V1 and V2 will be deprecated.
They do confirm that runs will be included (no mention of other activities).
No need for a refund, I’ll just have to get out on my bike instead of running so I can get some data!!! ;)
Looks like your web host might not have curl installed. You can try the fopen method. Edit the file config.php. Find the line $fetch_mode = 0; and change it to $fetch_mode = 1;
Dont want to register? Complete the form below. Registration benefits include reply notification, faster commenting, and the ability to link your username to your website.
Jun 5th, 2012 at 2:39 pm
Hi
I’m really interested in the Strava integrator, but couldn’t get it to work. I’ve uploaded the files to my webserver and opened gettoken.php – after I enter my details and click submit, I get an eror:
Fatal error: Uncaught exception ‘Exception’ with message ‘Problem with https://www.strava.com/api/v2/authentication/login, ‘ in [blah blah]
Any ideas please?
Many thanks
Alan
[Reply]
Chris Schiffner Reply:
June 5th, 2012 at 5:12 pm
Hi Alan,
I sent you an email directly at the email address used for this comment.
[Reply]
Chris Schiffner Reply:
June 15th, 2012 at 11:23 pm
Earlier today I released an update which should address the issues you were experiencing.
[Reply]
Raymond Zevenbergen Reply:
May 8th, 2013 at 9:50 am
I purchased the strava integrator. I have the same fatal error:
PHP Fatal error: Uncaught exception ‘Exception’ with message ‘Problem with https://www.strava.com/api/v2/authentication/login
Is there a way to solve this?
Thank you.
[Reply]
Chris Schiffner Reply:
May 8th, 2013 at 3:24 pm
Can you provide a link to the installation?
Oct 4th, 2012 at 10:11 pm
Any idea how I can set this up on a Go-Daddy website?
When trying to upload the files I keep getting bounced as “file type not supported”
[Reply]
Chris Schiffner Reply:
October 4th, 2012 at 10:35 pm
Do you know which files it’s having trouble with? Everything in the package is standard. Personally I’m on Web Hosting Hub and I haven’t had any issues, nor did I have issues on my previous (but terrible) host Host Monster.
[Reply]
Mar 25th, 2013 at 4:21 pm
Hi Chris
I just purchased your premium product today. Tried to setup locally, running MAMP Pro server. Added all the details in the config.php file as directed, but not getting any content pumping through into the index.php file when viewing in the browser.
I also added the files to a test server here http://ruplay.me/nikeplus/strava_integrator/index.php
Same problem.
I can send you the error logs separately…
Thanks
[Reply]
r3trosteve Reply:
March 25th, 2013 at 5:52 pm
Ah I figured it out after reading the strava forums. I was assuming that runs would also work (I only have run sample data in my account). But alas, the run activity is not supported by the API yet (which is pretty dumb).
I changed my run to ride in the strava app and now it all works just fine. Thanks!!!!
[Reply]
Chris Schiffner Reply:
March 25th, 2013 at 7:34 pm
Hi, Sorry you had trouble.
As you pointed out in your follow up, the API only supports rides. There is a new version of the API in the pipeline. Although I have little information on it, it’s possible they will extend support to other activities. The new version of the API is going to replace the current version and it’s going to require developers (me) to register to gain access to it (the current API is open to anyone). So long as I’m able to gain access to the new version I’ll update Strava Integrator.
The work around may not be ideal so if you would like a refund I’d be happy to offer one.
Thank you for your support.
-Chris
[Reply]
r3trosteve Reply:
March 26th, 2013 at 5:11 am
Hi Chris
Yes, according to Strava V3 is on it’s way (no mention of dates, but “soon” is positive), which will mean V1 and V2 will be deprecated.
They do confirm that runs will be included (no mention of other activities).
No need for a refund, I’ll just have to get out on my bike instead of running so I can get some data!!! ;)
Thanks
Steve
[Reply]
May 8th, 2013 at 5:44 pm
http://www.7bergencycling.nl/strava_integrator/gettoken.php
[Reply]
Chris Schiffner Reply:
May 8th, 2013 at 5:59 pm
Looks like your web host might not have curl installed. You can try the fopen method. Edit the file config.php. Find the line $fetch_mode = 0; and change it to $fetch_mode = 1;
[Reply]
May 9th, 2013 at 3:08 am
Hi Chris,
thanks for the fast reply and great service.
Unfortunately the fopen method doesn’t work.
Any idea??
error (correct e-mail and password i deleted in error message):
PHP Fatal error: Uncaught exception ‘Exception’ with message ‘Problem with https://www.strava.com/api/v2/authentication/login, ‘ in E:\7bergencycling.nl\wwwroot\strava_integrator\class\cls.strava.php:722
Stack trace:
#0 E:\7bergencycling.nl\wwwroot\strava_integrator\class\cls.strava.php(74): clsStrava->do_post_request(‘https://www.str…’, Array)
#1 E:\7bergencycling.nl\wwwroot\strava_integrator\gettoken.php(22): clsStrava->login(‘e-mail…’, ‘password’, true)
#2 {main}
thrown in E:\7bergencycling.nl\wwwroot\strava_integrator\class\cls.strava.php on line 722
[Reply]
Chris Schiffner Reply:
May 9th, 2013 at 7:44 am
Do you know what version of php your host is running?
[Reply]
raymond zevenbergen Reply:
May 9th, 2013 at 9:37 am
Php version 5.3.2
[Reply]
Chris Schiffner Reply:
May 9th, 2013 at 10:55 am
I’m going to email you a file named ‘stravatest.php’. Can you please upload it to your web host and send me a link to it?