Raised This Month: $32 Target: $400
 8% 

PHP or javascript steam URL to STEAM ID converter


Post New Thread Reply   
 
Thread Tools Display Modes
Author Message
4ever16
Veteran Member
Join Date: Apr 2015
Old 06-09-2018 , 08:11   PHP or javascript steam URL to STEAM ID converter
Reply With Quote #1

I have tested all converters @ github but they just isnt simple nuff.
I just need a simple file that converters

https://steamcommunity.com/id/QuickTradingCardBot
and
https://steamcommunity.com/id/758896658855

To steam id.

PHP or javascript a simple one does anyone got one?

Last edited by 4ever16; 06-09-2018 at 08:11.
4ever16 is offline
DarkDeviL
SourceMod Moderator
Join Date: Apr 2012
Old 06-09-2018 , 08:38   Re: PHP or javascript steam URL to STEAM ID converter
Reply With Quote #2

Quote:
Originally Posted by 4ever16 View Post
Resolving custom vanity URL's will require you to communicate with the Steam network.

Quote:
Originally Posted by 4ever16 View Post
To steam id.
It may be worth sharing what exact Steam ID you are looking for (76561198345168615, STEAM_0:1:192451443, or [U:1:384902887]?).

Quote:
Originally Posted by 4ever16 View Post
PHP or javascript a simple one does anyone got one?
xPaw/SteamID.php will do everything for you.
__________________
Mostly known as "DarkDeviL".

Dropbox FastDL: Public folder will no longer work after March 15, 2017!
For more info, see the [SRCDS Thread], or the [HLDS Thread].

Last edited by DarkDeviL; 06-09-2018 at 08:39.
DarkDeviL is offline
4ever16
Veteran Member
Join Date: Apr 2015
Old 06-09-2018 , 09:33   Re: PHP or javascript steam URL to STEAM ID converter
Reply With Quote #3

Can you write a small example how to use it?
I put all files to a folder called /steam
Then what?

For example i have index.html in the same folder /steam
In that index file i only have a text which is this https://steamcommunity.com/id/QuickTradingCardBot

So then what?

I want to convert to "STEAM_0:1:1924xxxxx"
4ever16 is offline
DarkDeviL
SourceMod Moderator
Join Date: Apr 2012
Old 06-09-2018 , 16:16   Re: PHP or javascript steam URL to STEAM ID converter
Reply With Quote #4

Everything is explained in the example on the previous provided link.

Include/require "SteamID.php" with PHP and use the demonstration example.

"$s->RenderSteam2()" is the one returning your wanted Steam2 representation.
__________________
Mostly known as "DarkDeviL".

Dropbox FastDL: Public folder will no longer work after March 15, 2017!
For more info, see the [SRCDS Thread], or the [HLDS Thread].
DarkDeviL is offline
Reply



Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is On
HTML code is Off

Forum Jump


All times are GMT -4. The time now is 08:04.


Powered by vBulletin®
Copyright ©2000 - 2024, vBulletin Solutions, Inc.
Theme made by Freecode