אשכול: steam web api OpenID
View Single Post
ישן 03-05-12, 07:29   # 7
DoLet
חבר בקהילה
 
מיני פרופיל
תאריך הצטרפות: Jul 2011
הודעות: 301

DoLet לא מחובר  

ציטוט:
נכתב במקור על ידי morplug צפה בהודעה
@DoLet

תודה רבה עזר לי מאוד!
אבל אני לא רואה את האופציה שניתן לעשות חיבור משתמש דרך STEAM

לדוגמא:

http://tf2b.com/

אתה יכול לראות באתר למעלה יש אפשרות להתחבר דרך STEAM
הלכתי לקוד מקור וראיתי את זה:

HTML קוד:
<a href="https://steamcommunity.com/openid/login?openid.ns=http://specs.openid.net/auth/2.0&openid.mode=checkid_setup&openid.return_to=http://tf2b.com/&openid.realm=http://tf2b.com/&openid.claimed_id=http://specs.openid.net/auth/2.0/identifier_select&openid.identity=http://specs.openid.net/auth/2.0/identifier_select" ></a>
נראה כאילו הוא שולח בקשה דרך GET ומבקש שהנתונים יחזרו לדף מסויים
איך אני יכול לעשות משהו זהה באתר שלי?
בתודה,



שמע גם אני לא מכיר אתה רק צריך לקרוא:



Steam OpenID Provider
Steam can act as an OpenID provider. This allows your application to authenticate a user's SteamID without requiring them to enter their Steam username or password on your site (which would be a violation of the API Terms of Use.) Just download an OpenID library for your language and platform of choice and use http://steamcommunity.com/openid as the provider. The returned Claimed ID will contain the user's 64-bit SteamID. The Claimed ID format is: http://steamcommunity.com/openid/id/<steamid>

Valve Brand and Links
Each page that uses the Steam Web API must contain a link to http://steampowered.com with the text "Powered by Steam". We suggest that you put this link in your footer so it is out of the way but still visible to interested users.

If you are using OpenID on your site, we request that you use one of the following buttons as your link to the Steam sign in page. These images represent the Steam brand to users, underscoring that Steam account credentials may be used to sign in to your site.


http://steamcommunity.com/dev/apikey
  Reply With Quote