Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

[FEATURE REQUEST] Add Permanent Links for Friends that Own, Achievements, and Cards #2085

Open
RathaWynter opened this issue Nov 27, 2024 · 8 comments
Labels
augmentation New feature or request

Comments

@RathaWynter
Copy link

RathaWynter commented Nov 27, 2024

Current Behavior (if any)

Many Steam store pages do not always display the same consistent information.
1: Many store pages such as for "Free" games do not have links to 'friends that want / own / play' page. (See attached images.)

2: Steam store pages which have less than 3-4 achievements do not have a link to the achievements page. (See attached images.)

3: Some Steam games have cards, but their store pages do not link you to their 'card page.' (EDIT: Currently don't have an example of this. Possible this is already fully implemented / fixed, but it used to be an issue, and could have sworn it was at the time of posting, but the example i had seems to work properly at the moment.)

Desired Behavior

It would be nice if Augmented Steam could add permanent links to each of these elements on ALL store pages, to replace this inconsistent Steam behavior that often hides page elements under certain conditions.

Motivation / Use Case for Changing the Behavior

1: This store page is a free-to-claim game. However there is no link to friends that own it on the store page unlike what would be seen on a standard paid-game store page.
https://store.steampowered.com/app/3056590/Swap_Fire/

Link to the hidden 'friends that own page.'
https://steamcommunity.com/my/friendsthatplay/3056590

(Which processes to this if you have a custom Steam URL setup:
https_://steamcommunity.com/id/STEAM_COMMUNITY_NAME/friendsthatplay/3056590

Or this if you dont have a custom Steam URL setup:
https_://steamcommunity.com/profiles/17_DIGIT_STEAM_ID/friendsthatplay/3056590

1_Steam_Friends_That_Play_Comparison

2: This store page only has 2 achievements with no link to the achievements page.
https://store.steampowered.com/app/210970/The_Witness/

Achievements page with additional details / links / hints / descriptions / stats / not viewable or linked from the store page.
https://steamcommunity.com/stats/210970/achievements

2_Steam_Achievements_Comparison

@RathaWynter RathaWynter added the augmentation New feature or request label Nov 27, 2024
@candela97
Copy link
Collaborator

For the cards issue, the option "Show badge progress" under App page will show up with a link to the cards you own if the game has cards. Does that do what you want?

@RathaWynter
Copy link
Author

RathaWynter commented Nov 27, 2024

For the cards issue, the option "Show badge progress" under App page will show up with a link to the cards you own if the game has cards. Does that do what you want?

Thanks for the reply. It does do what I'm looking for most of the time, and now I'm having a hard time finding an example of a game that Augmented Steam does not cover properly at the moment. Have been using ES and AS for years and there used to be a bunch of cases where it didn't show the widget when it should have. (Maybe those issues are fixed now.)

The game that I'd mentioned in the original post also seems to be covered as well despite having double checked it the night before while writing the post, maybe that was a temporary issue. Should perhaps strike the 'badges / card page link' from the feature request for the time being until I can find a reliable example of it not displaying the widget for games which do actually have cards.

Some edge cases that i can think of to check in the future (for my own reference since Im thinking about it);

  • Games which dont list trading cards, but do have card drops. (Seems handled correctly in most cases.)
  • Games which dont list trading cards, and dont have drops, but do have gem-craftable card sets.
  • Games which list trading cards on the store page, but dont actually have trading cards.

@candela97
Copy link
Collaborator

Yeah the method we use to determine if a game has cards has been updated, and is now the same as the one Steam uses to display owned cards on https://steamcommunity.com/my/games. So if it's not showing up when it should it's likely a problem with Steam.

For links to "friends that want" etc., can you open https://store.steampowered.com/api/appuserdetails?appids=3056590 and see if there's anything under the data.friendswant or data.friendsown fields?

@RathaWynter
Copy link
Author

RathaWynter commented Nov 28, 2024

For links to "friends that want" etc., can you open https://store.steampowered.com/api/appuserdetails?appids=3056590 and see if there's anything under the data.friendswant or data.friendsown fields?

Neither of those fields exist in the returned JSON.
{"3056590":{"success":true,"data":{"recommendations":{"totalfriends":0},"added_to_wishlist":false,"is_owned":true}}}
Area - 2024-11-28 - 11 38 28

EDIT: I have no idea why steam does not return any API information for 'free' games like this when the 'friends that play' page has the data for that game. https://steamcommunity.com/my/friendsthatplay/3056590

Speculation: Its possible that some API features may not be available for games which are tagged "Steam is learning about this game" however i believe that this behavior of not showing which friends own a game can also happen on much more well known games too. (Typically 'free' games as well, but would need to come up with an example of this.) With that said i cant think of a case offhand where a money-purchasable game didnt show friend data normally.

@candela97
Copy link
Collaborator

Oh! I missed the "Steam is learning about this game" tag (they should really make this more noticable), but that could very well be the cause.

Can you try https://api.steampowered.com/IPlayerService/GetFriendsGameplayInfo/v1/?appid=3056590&access_token= and see if it makes a difference? You can grab your access token by inspecting Steam web API requests or here https://store.steampowered.com/pointssummary/ajaxgetasyncconfig.

@RathaWynter
Copy link
Author

Using that method does appear to return ownership results for the account.
Area - 2024-12-03 - 18 15 48

@candela97
Copy link
Collaborator

We're getting somewhere then. It'll be a bit of a hassle to resolve the steamids, display avatars and attach miniprofile hovers just like Steam does though 😅

@RathaWynter
Copy link
Author

While it'd be ideal for Augmented Steam to display user icons on the store page like Steam does naturally for other game pages, even a partial implementation of a very simple check for the 'friends that own link' being on the page, and if not, putting it there without the need to display the avatars would be valuable.

Effectively just 'always display the link to friends that own page' and not worrying about the rest. It might give the illusion that no friends own it, but with the link always there at least we could check it with a simple click.

Im confused why Steam does not offer this functionality by default, but maybe they're trying to rate limit API calls for 'unknown games' or whatever other criteria they use to be inconsistent about the display of this information. Its not very consumer friendly of them to prevent you from seeing which of your friends own/play a game though.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
augmentation New feature or request
Projects
None yet
Development

No branches or pull requests

2 participants