0

I'm trying to create a program in which, when you login with Steam and then there's a button, which when clicked the following happens:

If you are not logged in, it takes you to the login.

If you are logged in, it writes the user's Steam64ID onto a txt file somewhere in the site folder.

I currently read the steam web API documentation but i don't know how i can output someone's steam64ID with a button click. Can someone please help?

JGPhilip
  • 1,388
  • 17
  • 19
Enkrypton
  • 43
  • 7

1 Answers1

0

You could use this API in order to login the user, this returns their Steam64ID. You can then store this (perhaps as a cookie) and output it on the click of the button (assuming you use PHP for the cookies, you could use Ajax for this)

Ben Peters
  • 92
  • 9