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

Get Sent Offers request not working #20

Open
Jeffrey-Lin-23 opened this issue May 6, 2024 · 0 comments
Open

Get Sent Offers request not working #20

Jeffrey-Lin-23 opened this issue May 6, 2024 · 0 comments

Comments

@Jeffrey-Lin-23
Copy link

Jeffrey-Lin-23 commented May 6, 2024

Good day sir!

Get Sent Offers only response with 'Maximum (20) redirects followed' with code 302.

my code is here, cookie is fresh and can work on another api

   $api = new SteamApi();
   $options = [
            'history' => false,
        ];
   $cookies = 'sessionid=be27b8b9f***************************; steamCountry=AU%7C7351f12ac46571***************************; steamLoginSecure=76561198956***************************;';
    dd($api->detailed()->withCookies($cookies)->getSentOffers($options));

The Response is here

"request_headers" => [
           "Host" => "steamcommunity.com"
          "Accept" => "*/*"
          "Cookie" => "sessionid=be27b8b9f***************************; steamCountry=AU%7C7351f12ac46571***************************; steamLoginSecure=76561198956***************************;"
  ]
 "response_headers" => []
  "url" => "https://steamcommunity.com/market/eligibilitycheck/?goto=%2Fprofiles%2F765611989564*******%2Ftradeoffers%2Fsent%3Fhistory%3D"
  "code" => 302
  "message" => "Found"
  "error" => "Maximum (20) redirects followed"
  "cookies" => []
  "remote_ip" => "104.74.42.104"
  "local_ip" => "172.17.130.251"
  "total_time" => "14868"
  "response" => false

@Allyans3 I saw your answer in issue #17 .
You mentioned that the history of offers has been broken. Is this issue caused by that reason?

If you have any suggestions for obtaining trade offer statuses, I would greatly appreciate it.

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

No branches or pull requests

1 participant