This discussion has been locked.
You can no longer post new replies to this discussion. If you have a question you can start a new discussion

Bulk change of privacy settings for past activities

If I change my privacy settings for activities from public to private or vice versa, and want to also change the setting for past activities, there is no easy way to do it. When I select Quick Edit on Activities, there's a Privacy column, with a tick at the top to select all activities in the column, but the only way to change the privacy setting for all activities is to click on each individual activity padlock icon in turn and change them one by one. It would be very useful to be able to change all of them with one click.
  • It was a typo that prevented the script from working if you specified --connections. I've fixed the script. You'll need to download it again or fix the typo yourself (change subscriber to subscirbers).
  • I appreciate this is an old-ish thread, but just a post to say thanks to Travis.Vitek for this script. Fabulous!
  • Hi Travis, thanks for posting this script. I'm looking to make all my activities public but having a problem getting the script to run. Would really appreciate it if you can look at my output below and let me know if I'm doing something wrong?

    Many thanks

    C:\Python34>python garmin_privacy.py --public
    Username: vanessalobb
    Password:
    Traceback (most recent call last):
    File "garmin_privacy.py", line 215, in <module>
    main()
    File "garmin_privacy.py", line 203, in main
    fetch_json_from_url('connect.garmin.com/.../js
    on/privacy/{0}'.format(activityId), value=options.privacy)
    File "garmin_privacy.py", line 40, in fetch_json_from_url
    with urllib.request.urlopen(request, timeout=30) as response:
    File "C:\Python34\lib\urllib\request.py", line 161, in urlopen
    return opener.open(url, data, timeout)
    File "C:\Python34\lib\urllib\request.py", line 469, in open
    response = meth(req, response)
    File "C:\Python34\lib\urllib\request.py", line 579, in http_response
    'http', request, response, code, msg, hdrs)
    File "C:\Python34\lib\urllib\request.py", line 501, in error
    result = self._call_chain(*args)
    File "C:\Python34\lib\urllib\request.py", line 441, in _call_chain
    result = func(*args)
    File "C:\Python34\lib\urllib\request.py", line 684, in http_error_302
    return self.parent.open(new, timeout=req.timeout)
    File "C:\Python34\lib\urllib\request.py", line 469, in open
    response = meth(req, response)
    File "C:\Python34\lib\urllib\request.py", line 579, in http_response
    'http', request, response, code, msg, hdrs)
    File "C:\Python34\lib\urllib\request.py", line 507, in error
    return self._call_chain(*args)
    File "C:\Python34\lib\urllib\request.py", line 441, in _call_chain
    result = func(*args)
    File "C:\Python34\lib\urllib\request.py", line 587, in http_error_default
    raise HTTPError(req.full_url, code, msg, hdrs, fp)
    urllib.error.HTTPError: HTTP Error 500: Internal Server Error
  • Link dead

    Hi Travis - do you have an updated link for me to download the script please? That link seems to be dead.

    Thanks - Guy
  • how ridiculous is it that they have not bothered to implement private zones into garmin connect?! do they do any updates at all?!
  • I'm getting some unwanted attention on another website which my Garmin activities are synced to.

    I've changed a number of privacy settings on the other site but as an extra precaution I thought it would be wise to change the settings on Garmin Connect too.

    I've changed my profile privacy as well as set future activities to private but that leaves me with the painstaking task of changing the privacy settings for over 400 existing activities one by one.

    Is there a quicker way of doing this? I'm aware that I can use Quick Edit but the privacy settings for each activity still have to be done one by one and each one is a couple of clicks each.

    Thanks for any help :)
  • This needs to be possible. When I started my account back in 2011, I naively left my settings as public, thinking it would be great to share my activities with anyone curious. After finding all of my activities mined by Strava, I decided to make them private. Unfortunately I need to scroll down through 400 activities, waiting for each page to slowly load, then when I get to the bottom I can change the setting on a single activity. I am then taken back to the top, where I need to repeat the process again.

    Facebook wouldn't be allowed to require you to manually change the privacy settings on every single post you've ever made. Why do I need to do that here?
  • Well, I figured out that I don't have to scroll down every time (there's the super obvious arrows to navigate between activities), but it's still very odd that we're required to change the settings for activities individually. Bulk changes to activities should still be allowed.