B
B
BonBon Slick2017-07-15 21:05:11
API
BonBon Slick, 2017-07-15 21:05:11

Steam API request to dynamicstore/userdata will return empty values?

I want to get a list of the desired games of a user who has just logged in through the Steam WEB API. We use a library that authorizes the user and returns his data, and so, the user enters the Steam account 100%, and then, during authentication, you need to pull out his wishlist. I know that this link only works for users logged into Steam, which is why the authorization api is used. So we know that the user is logged into Steam 100%, however, this link will return the result, as for an unauthorized user. Tried via ajax, curl, php_http(), file_get_contents() and others. The result is the same everywhere, the
link only works when the user enters it in the browser. Why? How to make it work?

var_dump(file_get_contents('http://store.steampowered.com/dynamicstore/userdata/?id=вaш_steam_id'));

Answer the question

In order to leave comments, you need to log in

Didn't find what you were looking for?

Ask your question

Ask a Question

731 491 924 answers to any question