11-05-2023 07:02 PM
Hello,
I would want to implement a feature in my app that would allow athletes to share their activity to other accounts automatically based on the activity title. However I was disappointed to see that there is no endpoint on the open api for that. I was wondering if there is any plan to add this feature in the near future?
Thanks
11-06-2023 03:56 AM
To which accounts do you want to share? Usually a server side sharing isn't feasible because the Strava server doesn't know the logins for the other accounts.
11-06-2023 04:40 AM - edited 11-06-2023 04:40 AM
Hi,
The goal would be to be able to share to any account using only the athlete id, the same way it is done when you want to share an activity in the official Strava app.
Otherwise the only way I could achieve it currently would be to authorize all the accounts that I wish to share to as well, and then download and re-upload de gpx/tcx file. This is not really optimal and allowing us to call an activity sharing endpoint would be great in my opinion.
11-06-2023 09:38 AM
The Strava app uses OS functions on the smartphone for sharing therefore you have to do the same. Doing that with the Strava API would be technically impossible.
11-06-2023 03:56 PM
I might not have express myself very clearly, but I'm actually refering to the feature to add someone to an activity, which they can then accept or decline later. If they accept, a clone of the activity is created in theirs. That's entirely managed by Strava and have nothing to do with the OS functions.
11-07-2023 05:01 AM
I don't know if you can change the thread title and description as sharing and "Add friends" are completely different things. This would improve the possibility that someone from Strava has an answer for you.
Welcome to the Community - here is your guide to help you get started!