• Hi, thanks for this plug-in.

    Unfortunately, I found one issue. Do you still support this plug-in?

    When I click on “Connect to Strava” and allow my app to take the activities from my profile, then I got redirected to a random page to my website. When I go back to the page where I have placed the plug-in shortcode, I still can see the same “Connect to Strava” button.

    Do you have any idea how I can actually show some activity from my Strava account?

    I am working on a social network with separate accounts, the functionality is provided by a free plugin called PeepSo. My idea is: in the profile template I can place a shortcode. Is it possible using this shortcode to show Strava data for each user individually? E.g. profile A shows Strava data related to user A’s Strava account and so on.

Viewing 6 replies - 1 through 6 (of 6 total)
  • Thread Starter mstudioeu

    (@mstudioeu)

    Update: I was able to connect with Strava, but now it says “Invalid state”.

    Do you have any idea?

    Thread Starter mstudioeu

    (@mstudioeu)

    Also, what do I need to add for this Verify token? It says “a string used in the webhook subscription process” , but don’t know where I can find that string.

    Plugin Author mirceatm

    (@mirceatm)

    Hi,

    I’m sorry for responding this late.

    Where do you see “Invalid state”? Is it at “Plugin status”?

    Verify token is required by Strava – is should be a ‘random’ string – in my experience any string will work, event the default one proposed by the plugin: ‘nmr-verify-strava-token’ so use this one.

    Thread Starter mstudioeu

    (@mstudioeu)

    Hey there,

    Thanks so much for your reply.

    I’m afraid I’m not able make it work – I’m still getting this invalid state error where the shortcode is placed.

    My configuration looks fine, IMO. Please check the screenshot attached.

    First, I got this “connected to Strava” message.

    Then, when I refresh the page with while this link currently added, the error “invalid state” appears.

    https://socialnet.dorcol.tk/strava_nmr/?state=333333333333&code=333333333333333&scope=read,activity:read

    Please note that I have changed the numbers.

    Do you have any idea, please?

    Here’s a screenshot from my Strava app, just in case:

    If you want, I can create an user on my website, so we can test it out. I really appreciate your time. Thank you in advance.

    Plugin Author mirceatm

    (@mirceatm)

    Hi,

    Since you already get the message: Connected to Strava, all is good!

    It is ok to get an error message if you refresh the page (but refreshing the page should not be performed, there is no need to) – the important thing is that it says: Connected to Strava.

    My test page looks like this:

    <!-- wp:shortcode -->
    [strava_nmr_table top=11]
    <!-- /wp:shortcode -->

    <!-- wp:shortcode -->
    [strava_nmr top="11"]
    <!-- /wp:shortcode -->

    First shortcode should list all new activities received since the plugin connected to Strava. Note that only new activities will reach your web-site, meaning this plugin is not importing old, existing Strava activities (only new ones – even if you add a new Manual Activity. Try with Run activity)

    Moderator Steven Stern (sterndata)

    (@sterndata)

    Volunteer Forum Moderator

    @mirceatm

    I’ve deleted your offer to login to your user’s site. I’m am 100% sure you mean well but please never ask for credentials on these forums.

    Now for the why: The internet is a wonderful place full of very nice people and a few very bad ones. I’m sure everyone here is very nice however, by giving some ones keys to your house you are trusting they wont steal anything. Likewise the person who takes the keys is now responsible for the house FOREVER.

    If something was to go wrong, then you the author may well legally become liable for damages, which they would not normally have been as their software is provided without warranty.

    Please be aware that repeatedly asking for credentials will result in us escalating this to the plugins team.

    It’s never necessary to do that. Here’s why.

    There are many ways to get information you need and accessing the user’s site is not one of them. That’s going too far.

    • Ask for a link to the https://pastebin.com/ or https://gist.github.com log of the user’s web server error log.
    • Ask the user to create and post a link to their phpinfo(); output.
    • Ask the user to install the Health Check plugin and get the data that way.
    • Walk the user through enabling WP_DEBUG and how to log that output to a file and how to share that file.
    • Walk the user through basic troubleshooting steps such and disabling all other plugins, clear their cache and cookies and try again.
    • Ask the user for the step-by-step on how they can reproduce the problem.

    You get the idea.

    Volunteer support is not easy. But these forums need to a safe place for all users, experienced or new. Accessing their system that way is a short cut that will get you into real trouble in these forums.

Viewing 6 replies - 1 through 6 (of 6 total)
  • You must be logged in to reply to this topic.