Skip to content

Instantly share code, notes, and snippets.

@dannycreations
Last active March 16, 2023 20:57
Show Gist options
  • Save dannycreations/c77a805962bd61fbc45b94491802ee85 to your computer and use it in GitHub Desktop.
Save dannycreations/c77a805962bd61fbc45b94491802ee85 to your computer and use it in GitHub Desktop.
// https://steamcommunity.com/id/<username>/edit/favoritebadge
// https://www.reddit.com/r/Steam/comments/his7lt/how_to_remove_featured_badge/
const formData = new FormData()
formData.append('input_protobuf_encoded', '')
const token = JSON.parse(document.getElementById('application_config').readAttribute('data-loyaltystore')).webapi_token
await fetch('https://api.steampowered.com/IPlayerService/SetFavoriteBadge/v1?access_token=' + token, { method: 'POST', body: formData })
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment