steam-market-api-v2 icon indicating copy to clipboard operation
steam-market-api-v2 copied to clipboard

Get Sent Offers request not working

Open Jeffrey-Lin-23 opened this issue 9 months ago • 0 comments

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.

Jeffrey-Lin-23 avatar May 06 '24 04:05 Jeffrey-Lin-23