JavaScript is required to use Bungie.net

Forums

originally posted in:BungieNetPlatform
9/12/2014 2:41:19 PM
4

/Complete/ end point

Been working on a stats class this morning. I can seemingly access every end point excluding http://www.bungie.net/platform/Destiny/[membershipType]/Account/[accountId]/Character/[characterId]/Complete/ Keeps telling me to login, I am logged in and passing cookies. Anyone else have a similar problem?
English

Posting in language:

 

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

  • Some of the endpoints require a higher-than-normal authorisation level. If you're getting the one saying "WebAuthRequired", you need to pass your CSRF token in a separate header. See here: [url=https://github.com/dazarobbo/BungieNetPlatform/blob/master/BungieNetPlatform/BungieNetPlatform/RequestingUser.cs#L31]https://github.com/dazarobbo/BungieNetPlatform/blob/master/BungieNetPlatform/BungieNetPlatform/RequestingUser.cs#L31[/url] [url=https://github.com/dazarobbo/BungieNetPlatform/blob/master/BungieNetPlatform/BungieNetPlatform/Platform.cs#L33]https://github.com/dazarobbo/BungieNetPlatform/blob/master/BungieNetPlatform/BungieNetPlatform/Platform.cs#L33[/url] Assuming that's the problem of course.

    Posting in language:

     

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

    4 Replies
    • Works fine for me.. all I am passing is the cookie, specifically the bungleatk value. I think y'alls issue is just that you are trying to do a secure request over http rather than https. This is the url I am using: https://www.bungie.net/platform/Destiny/2/Account/4611686018428388522/Character/2305843009214533953/Complete/

      Posting in language:

       

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

    • I could not get it to work either. Were you able to access the ActivityHistory? I can't figure out how to make that one work. If so, what parameters did you use?

      Posting in language:

       

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

      6 Replies
      • Edited by SignifiedTie76: 9/12/2014 3:35:48 PM
        If it helps, here is the request I am sending and it is not working as well: [quote]User-Agent: User-Agent: Mozilla/5.0 (Windows NT 6.1; rv:21.0) Gecko/20130401 Firefox/21.0 Host: www.bungie.net Accept: */* Accept-Encoding: UTF-8 Cookie: bunglefrogblastventcore=1410533526; bunglelocale=lc=en&lcin=false; bungletheme=light; bungleme=6440933; bungleatk=wa=HAAGHczIslU3hHKepV-N2tz3DgUj6XXOPOdnFiwHdcCgAAAAeTAW-UA63NiL6SBSGyJqpYN.ESQPYEuTKrSrlNFlJUGID.wQYHTQ7m.xPE3VFPIqMkA67OtrsYy6mc-BfyGkEcqkInuRBzL0JIjyrh.mlHHERdxZXQhTgB8DM8-H366mS5PS8hjawFQzrJfHMI9UCnkecRpOU7o6jGsZmAvPSfP3qiFQ6eOoJvdkRw4IpmDxTQ17ucHHPZzzjKSZIL69Jw__&tk=YAAAAOQArMBHgKXSp8FJGNIjJVtl8EOGd9HaX2sLEkVK.Pav1qPB2i9D49Uy35mi3ajMPwRGolY52ib3hNAnugizkZ8k8drjv1BAhX82eGlPZcwXmxLqu32gcskKC.rQ06dWviAAAAACHg4OmbBx-g7d53WeeG3vYU34e4Ayv-Rte-c0rnLxvw__; bungleRedirect=%2fen%2flegend%2f1%2f4611686018429631862%2f2305843009215433244; NAP=V=1.9&E=f64&C=0yZveQzNov_rP2fVlYUd0HBBDuyjwg1hJVi-GnANx_j-GAbxrNannA&W=1; ANON=A=F86AE9D12BA1C8BAE97C245EFFFFFFFF&E=fbe&W=1; BNGAuth=FAD6ABS5k/fWxBGAtz%2BeA6UlMKvPOJzr6ANmAAAEgAAACNcqlYIUtkFNuACrk2PVpLIfbEqRkMMO2qK%2B/WJgdo3/4MaLy3rPZzC94Ydqz9qaeKXeSnER4oAqOkw/OUrZe/g/Q09ZaaCg%2BmWCPP/gqkXJObCeojrl%2BhaSp9WlWM1ESePdsaW6FPWUteO5LSub7YtbTGnv05QJ5VWnGZpfxIwjVnxg3MW2h44SAXEfa866pTIEj0amwfGqvbg9Ur6UQYmCDcyTsRmEKXTFWXw6yiRAQIjp7a92958okPpOKeBAUGPsFACRcz6gs6IzOaFBW%2BJE%2BJalIBciEQ%3D%3D; bungledid=Bz/BXsJmc1RKoddIUFRQ5GCaoqkV55vRCAAA; bungled=1525677679117103066 X-BungieNext-MID2: 01 X-BungieNext-Renderer: Frog Blast the Ventcore " } string(727) "HTTP/1.1 200 OK Cache-Control: private, max-age=0 Content-Length: 125 Content-Type: application/json; charset=utf-8 Expires: -1 P3P: CP="ALL DSP COR PSD PSA TAI ADM CUR SAM OUR IND UNI COM INT CNT PRE" X-BungieNext-Renderer: Frog Blast the Ventcore X-UA-Compatible: IE=edge X-Ventcore-Status: 99 X-SelfUrl: http://www.bungie.net/platform/Destiny/1/Account/4611686018429631862/Character/2305843009215433244/Complete/ X-BungieNext-MID2: 05 Access-Control-Allow-Origin: http://www.bungie.net X-Content-Type-Options: nosniff X-Frame-Options: SAMEORIGIN Date: Fri, 12 Sep 2014 15:02:55 GMT[/quote]

        Posting in language:

         

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

        2 Replies
        You are not allowed to view this content.
        ;
        preload icon
        preload icon
        preload icon