Impress with the features.
Noted: Please put the Strava Token correctly. (Double check) so you can proceed with activated the hook.
]]>I get an error, the error can be seen at:
https://attivo.co.za/strava
Has their been a change in how WP deals with Embeds in the latest version and if so how do I get around this?
]]>When my blog’s readers click on my activity, they are sent to the original activity on strava.com, which they can’t view due to my privacy settings.
For that reason, I’d appreciate if the block had a toggle that enabled or disabled this hyperlink.
Thanks for the great plugin!
]]>I was thinking of creating a Gutenberg block for embedding routes, but unless there’s a swath of paid users looking for this feature, I’m going to put it on the back-burner. You can continue to embed routes using the [route] shortcode. It’s not sexy, but it works.
Chime in if you’re a paid subscriber and want to use routes
But in the Gutenberg editor, it shows a different map entirely —?one not associated with my Strava account at all.
I don’t know if this is a bug with the plugin or with Google, and it seems to be only cosmetic. But there’s the potential for a privacy concern, since it’s showing me someone else’s activity, so I thought I should report it.
I’m running WordPress 5.4.1 & WP Strava 2.3.0 on WP Engine.
]]>After enabling WPSTRAVA_DEBUG I have this additional information:
WP Strava ERROR Array
(
[headers] => Requests_Utility_CaseInsensitiveDictionary Object
(
[data:protected] => Array
(
[date] => Wed, 13 May 2020 11:32:31 GMT
[content-type] => application/json; charset=utf-8
[cache-control] => no-cache
[via] => 1.1 linkerd
[x-download-options] => noopen
[status] => 401 Unauthorized
[x-request-id] => **************************
[referrer-policy] => strict-origin-when-cross-origin
[x-frame-options] => DENY
[x-permitted-cross-domain-policies] => none
[x-content-type-options] => nosniff
[vary] => Origin
[x-xss-protection] => 1; mode=block
[content-encoding] => gzip
)
)
[body] => {"message":"Authorization Error","errors":[{"resource":"Application","field":"","code":"invalid"}]}
[response] => Array
(
=> 401
[message] => Unauthorized
)
[cookies] => Array
(
)
[filename] =>
[http_response] => WP_HTTP_Requests_Response Object
(
[response:protected] => Requests_Response Object
(
[body] => {"message":"Authorization Error","errors":[{"resource":"Application","field":"","code":"invalid"}]}
[raw] => HTTP/1.1 401 Unauthorized
Date: Wed, 13 May 2020 11:32:31 GMT
Content-Type: application/json; charset=utf-8
Transfer-Encoding: chunked
Connection: close
Cache-Control: no-cache
Via: 1.1 linkerd
X-Download-Options: noopen
Status: 401 Unauthorized
X-Request-Id: ***********************
Referrer-Policy: strict-origin-when-cross-origin
X-FRAME-OPTIONS: DENY
X-Permitted-Cross-Domain-Policies: none
X-Content-Type-Options: nosniff
Vary: Origin
X-XSS-Protection: 1; mode=block
content-encoding: gzip
{"message":"Authorization Error","errors":[{"resource":"Application","field":"","code":"invalid"}]}
[headers] => Requests_Response_Headers Object
(
[data:protected] => Array
(
[date] => Array
(
[0] => Wed, 13 May 2020 11:32:31 GMT
)
[content-type] => Array
(
[0] => application/json; charset=utf-8
)
[cache-control] => Array
(
[0] => no-cache
)
[via] => Array
(
[0] => 1.1 linkerd
)
[x-download-options] => Array
(
[0] => noopen
)
[status] => Array
(
[0] => 401 Unauthorized
)
[x-request-id] => Array
(
[0] => 1bc24f39-7fcf-47e7-a98e-a23279041391
)
[referrer-policy] => Array
(
[0] => strict-origin-when-cross-origin
)
[x-frame-options] => Array
(
[0] => DENY
)
[x-permitted-cross-domain-policies] => Array
(
[0] => none
)
[x-content-type-options] => Array
(
[0] => nosniff
)
[vary] => Array
(
[0] => Origin
)
[x-xss-protection] => Array
(
[0] => 1; mode=block
)
[content-encoding] => Array
(
[0] => gzip
)
)
)
[status_code] => 401
[protocol_version] => 1.1
[success] =>
[redirects] => 0
[url] => https://www.strava.com/api/v3/activities/1343834900
[history] => Array
(
)
[cookies] => Requests_Cookie_Jar Object
(
[cookies:protected] => Array
(
)
)
)
[filename:protected] =>
[data] =>
[headers] =>
[status] =>
)
)
I have tried to reauthorize it a several times and it always says:
New Strava token retrieved. Successfully authenticated.
Also deleting and reinstalling the Plugin did not help.
]]>