JavaScript is required to use Bungie.net

Group Avatar

BungieNetPlatform

"Updates, discussions, and documentation of the BungieNetPlatform API."

Request Join
originally posted in:BungieNetPlatform
4/13/2015 5:14:49 AM
1

Couple of questions for the more experienced or official devs.

Hey, guys, I only have a few things I could use a pointer on. 1. What is the more straightforward way of getting the Account Id? 2. What error code should I expect when the cookies expire, or any way of knowing the date before hand? 3. The url to sign out would be "https://www.bungie.net/en/User/SignOut", or do I need to add something else? Thank you!

Posting in language:

 

Play nice. Take a minute to review our Code of Conduct before submitting your post. Cancel Edit Create Fireteam Post

  • [quote]1. What is the more straightforward way of getting the Account Id?[/quote]If you've signed in an account, it's in the bungleme cookie. [quote]2. What error code should I expect when the cookies expire, or any way of knowing the date before hand?[/quote]Expiration dates are stored along with the cookies when they're set. If there is no expiration, it's considered a session cookie and will expire when the session ends. [quote]3. The url to sign out would be "https://www.bungie.net/en/User/SignOut", or do I need to add something else?[/quote]I'd probably just make sure you're allowing that request to follow any redirects it encounters and maybe delete the cookies in your client code (depending on how you're wanting it to work).

    Posting in language:

     

    Play nice. Take a minute to review our Code of Conduct before submitting your post. Cancel Edit Create Fireteam Post

    1 Reply
    You are not allowed to view this content.
    ;
    preload icon
    preload icon
    preload icon