Все обсуждения > Форумы Steam > Help and Tips > Подробности темы
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.
Отредактировано ~=[,,_,,]:3🍈; 24 сен. 2013 г. в 4:42
< >
Сообщения 115 из 24
You can find a Steam ID of a user via this third party website, http://steamidfinder.com/
Автор сообщения: FrazerJC
You can find a Steam ID of a user via this third party website, http://steamidfinder.com/
your site seems not work
(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.
Автор сообщения: 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
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.
Отредактировано Felix; 24 сен. 2013 г. в 5:03
Автор сообщения: 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.
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();
}
Отредактировано waylaidwanderer; 8 янв. 2014 г. в 0:35
Автор сообщения: 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

Отредактировано Nick; 5 мар. 2014 г. в 15:50
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.
Автор сообщения: 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.
Автор сообщения: Linux UZzK5RDF
Автор сообщения: 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)
Отредактировано MonteCarbo; 26 сен. 2014 г. в 20:33
Автор сообщения: The Monte Carbo
Автор сообщения: 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.
How can I post my trade link on my page?
Автор сообщения: 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.
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
< >
Сообщения 115 из 24
Показывать на странице: 1530 50

Все обсуждения > Форумы Steam > Help and Tips > Подробности темы
Дата создания: 24 сен. 2013 г. в 4:37
Сообщений: 24