0

I am trying to add some information from Steam into my Android app. I see that Steam has Steamworks, but that is only built for Windows, OSX and Linux.

Furthermore, I saw that they also have a Web API that could also be accessed from a mobile application. But all the methods in the API require a 64 bit SteamID, which they say can be retrieved using OpenID. I downloaded the Google Oauth Client Library for JAVA but I reading through the documentation, I don't understand how I can get a SteamID for a user using this library.

Has anyone used this lib or another open source lib to get a SteamID?

Scorpio
  • 1,124
  • 1
  • 11
  • 28

1 Answers1

0

UPDATE

To get direct SteamID64.

  • Login to Steam using a web broswer.

  • Once logged click on your profile and add ?xml=1 to browser url address

http://steamcommunity.com/id/yourusername/?xml=1 or

http://steamcommunity.com/profiles/yourprofilenumber/?xml=1 (if you have not set a public username yet)


I think this is number in profile link or steamID64 example: http://steamcommunity.com/profiles/76561198113616635

Steamid will be: 76561198113616635

To check it online you can go to https://steamid.io/lookup

In Android app, I think after authorize, steam will give you that number and key.

Tran Vinh Quang
  • 585
  • 2
  • 9
  • 30
  • I know how to get my SteamID, but I need to have a way to get the SteamID of a user that uses my app. He will not be able to give my that SteamID, so I want to use OpenID to get it from Steam. – Scorpio Nov 19 '15 at 08:15
  • Are you try to implement this app ? After login through steam what information you will get back from steam ? – Tran Vinh Quang Nov 19 '15 at 08:21
  • I want to use their Web API(see link to it in the question) to get a list of friends and some other info. I only get access to that if I have the SteamID. – Scorpio Nov 19 '15 at 08:30
  • The first thing if you want get information from user, user must allow you to get through login with steam. After that, you will get SteamID, is this correct ? – Tran Vinh Quang Nov 19 '15 at 08:40