How can i use the trade offer partner id to find a steam id ?
How can i use the trade offer partner id to find a steam id ?
HI all ,
I am writing a program to auto accept offer,but i stuck on get steam id
I am using this api(IEconService/GetTradeOffers) to get accountid_other id but this id not a steam id.
Last edited by ~=[,,_,,]:3🍈; Sep 24, 2013 @ 4:42am
< >
Showing 1-15 of 24 comments
Felix Sep 24, 2013 @ 4:39am 
You can find a Steam ID of a user via this third party website, http://steamidfinder.com/
~=[,,_,,]:3🍈 Sep 24, 2013 @ 4:44am 
Originally posted by FrazerJC:
You can find a Steam ID of a user via this third party website, http://steamidfinder.com/
your site seems not work
Felix Sep 24, 2013 @ 4:47am 
(Not my site!)

Works for me on Firefox V 25.0.
Make sure you are typing in the WHOLE community URL.

For example, to look up your Steam ID, you'd need to type in
http://steamcommunity.com/id/apple_W.

That will return your Steam ID, STEAM_0:0:36136240.
~=[,,_,,]:3🍈 Sep 24, 2013 @ 4:56am 
Originally posted by FrazerJC:
(Not my site!)

Works for me on Firefox V 25.0.
Make sure you are typing in the WHOLE community URL.

For example, to look up your Steam ID, you'd need to type in
http://steamcommunity.com/id/apple_W.

That will return your Steam ID, STEAM_0:0:36136240.

http://steamcommunity.com/tradeoffer/new/?partner=72272480
my partner is 72272480
I try to type in 72272480
but it said that Profile not found - Match: 72272480
Felix Sep 24, 2013 @ 5:02am 
Go to the PROFILE of that user. Entering in the trade URL won't work.
You need to enter the FULL URL for that user's Steam PROFILE.
Last edited by Felix; Sep 24, 2013 @ 5:03am
Nick Oct 8, 2013 @ 4:20am 
Originally posted by FrazerJC:
Go to the PROFILE of that user. Entering in the trade URL won't work.
You need to enter the FULL URL for that user's Steam PROFILE.

I literally facepalmed.
waylaidwanderer Jan 8, 2014 @ 12:35am 
You guys are idiots. OP is asking how to convert account ID to a SteamID, and the site you gave him is useless for that. He's not the one being stupid.

The answer involves some shifting of bytes. Here's an example in C# ("SteamID" type is from the SteamKit2 library):
private SteamID GetSteamID(ulong accountid)
{
string id32 = String.Format("STEAM_0:{0}:{1}", accountid & 1, accountid >> 1);
return new SteamID(id32).ConvertToUInt64();
}
Last edited by waylaidwanderer; Jan 8, 2014 @ 12:35am
Nick Mar 5, 2014 @ 3:50pm 
Originally posted by Phoenix:
You guys are idiots. OP is asking how to convert account ID to a SteamID, and the site you gave him is useless for that. He's not the one being stupid.

The answer involves some shifting of bytes. Here's an example in C# ("SteamID" type is from the SteamKit2 library):
private SteamID GetSteamID(ulong accountid)
{
string id32 = String.Format("STEAM_0:{0}:{1}", accountid & 1, accountid >> 1);
return new SteamID(id32).ConvertToUInt64();
}


Can vouch.
PartnerID:- 72272480

72272480 & 1 0


72272480 >> 1 36136240

So, STEAM_0:0:36136240, which is:-
http://i.imgur.com/4uLFVTm.png

Last edited by Nick; Mar 5, 2014 @ 3:50pm
MonteCarbo Sep 26, 2014 @ 4:21am 
Does anyone know what the custom link stuff is after &token? Each trade link has a custom one from what I understand and I would like to be able to find it out for other people's profiles so I can make trades to them without them having to give out their trade links.
Nick Sep 26, 2014 @ 5:14am 
Originally posted by The Monte Carbo:
Does anyone know what the custom link stuff is after &token? Each trade link has a custom one from what I understand and I would like to be able to find it out for other people's profiles so I can make trades to them without them having to give out their trade links.


Can you provide a link to what you're talking about? I can't remember seeing a token argument before.
MonteCarbo Sep 26, 2014 @ 8:31pm 
Originally posted by Linux UZzK5RDF:
Originally posted by The Monte Carbo:
Does anyone know what the custom link stuff is after &token? Each trade link has a custom one from what I understand and I would like to be able to find it out for other people's profiles so I can make trades to them without them having to give out their trade links.


Can you provide a link to what you're talking about? I can't remember seeing a token argument before.

This is my trade link. I purposely changed the part after '&token=' on the first link to explain my dilemma and show that the stuff after &token= is generated specific for that user.
http://steamcommunity.com/tradeoffer/new/?partner=106705351&token=haF9x552 (Broken link)
http://steamcommunity.com/tradeoffer/new/?partner=106705351&token=9Y9K8d6P (Actual link)

My question is, is there a way for me to figure out anyone's custom link after the &token= part? I know I can get the steam ID of anyone so long as I get their profile (The first part of the link, eg:106705351), but the second part seems to be a bit trickier (if possible) to find for anyone.

(PS: Sorry for the weird links. Steam seems to not do hyperlinks for trades on these forums)
Last edited by MonteCarbo; Sep 26, 2014 @ 8:33pm
Nick Sep 26, 2014 @ 11:40pm 
Originally posted by The Monte Carbo:
Originally posted by Linux UZzK5RDF:


Can you provide a link to what you're talking about? I can't remember seeing a token argument before.

This is my trade link. I purposely changed the part after '&token=' on the first link to explain my dilemma and show that the stuff after &token= is generated specific for that user.
http://steamcommunity.com/tradeoffer/new/?partner=106705351&token=haF9x552 (Broken link)
http://steamcommunity.com/tradeoffer/new/?partner=106705351&token=9Y9K8d6P (Actual link)

My question is, is there a way for me to figure out anyone's custom link after the &token= part? I know I can get the steam ID of anyone so long as I get their profile (The first part of the link, eg:106705351), but the second part seems to be a bit trickier (if possible) to find for anyone.

(PS: Sorry for the weird links. Steam seems to not do hyperlinks for trades on these forums)

No, the whole point of that token is so that people don't receive unsolicited trade offers. If they're solicited, you'll already have the token (They would have given it to you).

I suppose you could try and scrape the link off the web, see if they've posted it anywhere (See:- Trading sites, like TF2outpost, dispenser.tf, etc...), but unless they have, I don't believe it's possible, and I believe it's impossible by design.
Dragon8u Nov 10, 2014 @ 2:31pm 
How can I post my trade link on my page?
Nick Nov 10, 2014 @ 11:00pm 
Originally posted by Rob:
How can I post my trade link on my page?


https://steamcommunity.com/my/tradeoffers/privacy


at the bottom of that page you can see "Third-Party sites" and your URL.
Tithen-Firion Nov 14, 2014 @ 1:47pm 
Is Steam ID in format "STEAM_0:X:XXXXXX" used in API? I can't find it. I know it uses profile id. You can get it by just adding 76561197960265728 to your partner id.

Example:
my partner id: 52132072
my profile id: 52132072 + 76561197960265728 = 76561198012397800
proof: http://steamcommunity.com/profiles/76561198012397800
< >
Showing 1-15 of 24 comments
Per page: 1530 50

Date Posted: Sep 24, 2013 @ 4:37am
Posts: 24