Strava Integrator – Discussion

    17 Comments on “Discussion”

    1. 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:

      Hi Alan,

      I sent you an email directly at the email address used for this comment.

      [Reply]

      Chris Schiffner Reply:

      Earlier today I released an update which should address the issues you were experiencing.

      [Reply]

      Raymond Zevenbergen Reply:

      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:

      Can you provide a link to the installation?

    2. 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:

      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]

    3. 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:

      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:

      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:

      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]

    4. http://www.7bergencycling.nl/strava_integrator/gettoken.php

      [Reply]

      Chris Schiffner Reply:

      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]

    5. 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:

      Do you know what version of php your host is running?

      [Reply]

      raymond zevenbergen Reply:

      Php version 5.3.2

      [Reply]

      Chris Schiffner Reply:

      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?

    Leave a Comment

     

    You can use these XHTML tags: <a href="" title=""> <abbr title=""> <acronym title=""> <blockquote cite=""> <code> <em> <strong>