API: Get platoon fans - ninetwozero/BF3-Battlelog GitHub Wiki

Url

http://battlelog.battlefield.com/bf3/platoon/{PLATOON_ID}/listfans/ (Constants.URL_PLATOON_FANS)

Headers

X-Requested-With => XMLHttpRequest
X-AjaxNavigation => 1

Response

{
  "context": {
    "_href": "/bf3/platoon/2832655241211471675/listfans/", 
    "fans": {
      "2832658801539014804": {
        "createdAt": 1319550254, 
        "gravatarMd5": "2058eca8dbd10a4714cb5e19b2a6a367", 
        "presence": {
          "isOnline": false, 
          "isPlaying": false, 
          "userId": "2832658801539014804"
        }, 
        "userId": "2832658801539014804", 
        "username": "secret8squirrel"
      }, 
      "2832659177394021670": {
        "createdAt": 1320096262, 
        "gravatarMd5": "345fdee589867d503648c9c74d0437bf", 
        "presence": {
          "isOnline": false, 
          "isPlaying": false, 
          "userId": "2832659177394021670"
        }, 
        "userId": "2832659177394021670", 
        "username": "Certekz"
      }, 
      "2832659368473677110": {
        "createdAt": 1319529156, 
        "gravatarMd5": "bfc994a2f73071d8ea04500fce3b3053", 
        "presence": {
          "isOnline": false, 
          "isPlaying": false, 
          "userId": "2832659368473677110"
        }, 
        "userId": "2832659368473677110", 
        "username": "Viperatom"
      }, 
      "2832659368491304884": {
        "createdAt": 1319726864, 
        "gravatarMd5": "427abfb579f6a3e95177ba4dfc4e5abc", 
        "presence": {
          "isOnline": false, 
          "isPlaying": false, 
          "userId": "2832659368491304884"
        }, 
        "userId": "2832659368491304884", 
        "username": "666bodybag666"
      }, 
      "2832659368492638768": {
        "createdAt": 1319736291, 
        "gravatarMd5": "3c31099305736907340994a10716ccbb", 
        "presence": {
          "isOnline": false, 
          "isPlaying": false, 
          "userId": "2832659368492638768"
        }, 
        "userId": "2832659368492638768", 
        "username": "xXbarbequeXx"
      }, 
      "2832659368557248951": {
        "createdAt": 1321996906, 
        "gravatarMd5": "b6bc9b56c43297b7a6ec1e9e2769a27c", 
        "presence": {
          "isOnline": true, 
          "isOnlineOrbit": true, 
          "isPlaying": false, 
          "userId": "2832659368557248951"
        }, 
        "userId": "2832659368557248951", 
        "username": "A6solute-Z3R0"
      }, 
      "2832659598336569794": {
        "createdAt": 1321873767, 
        "gravatarMd5": "d7f4391fbb36a4b0fff80b37ce3a3d81", 
        "presence": {
          "isOnline": false, 
          "isPlaying": false, 
          "userId": "2832659598336569794"
        }, 
        "userId": "2832659598336569794", 
        "username": "Disturbed512"
      }, 
      "2832659789404407626": {
        "createdAt": 1319794530, 
        "gravatarMd5": "2ca55389788378ee9df8c8aaf5f87481", 
        "presence": {
          "isOnline": false, 
          "isPlaying": false, 
          "userId": "2832659789404407626"
        }, 
        "userId": "2832659789404407626", 
        "username": "Eddy_J1"
      }, 
      "2832659982653062482": {
        "createdAt": 1319518860, 
        "gravatarMd5": "605675e6fcbe5c02c91f296baa759028", 
        "presence": {
          "isOnline": false, 
          "isPlaying": false, 
          "userId": "2832659982653062482"
        }, 
        "userId": "2832659982653062482", 
        "username": "StaticKhaos"
      }, 
      "2832660143759335906": {
        "createdAt": 1320057865, 
        "gravatarMd5": "363413b949ee025c37b5f80d92b98ed8", 
        "presence": {
          "isOnline": false, 
          "isPlaying": false, 
          "userId": "2832660143759335906"
        }, 
        "userId": "2832660143759335906", 
        "username": "Zepheriah"
      }, 
      "2832660534609373813": {
        "createdAt": 1320256891, 
        "gravatarMd5": "b86536047de3d2e0fd7cdf59d70d8397", 
        "presence": {
          "isOnline": true, 
          "isOnlineOrbit": true, 
          "isPlaying": false, 
          "userId": "2832660534609373813"
        }, 
        "userId": "2832660534609373813", 
        "username": "SuicidalChick3n"
      }
    }, 
    "isFan": false, 
    "membershipLevels": {
      "ADMIN": 128, 
      "CREATOR": 256, 
      "INVITED": 2, 
      "JOINWAITING": 1, 
      "MEMBER": 4, 
      "NOT_MEMBER": 0, 
      "denominator": {}, 
      "imag": {}, 
      "numerator": {}, 
      "real": {}
    }, 
    "menu": "listfans", 
    "notification": null, 
    "platoon": {
      "allowNewMembers": false, 
      "badgePath": "", 
      "blazeClubId": 1337, 
      "creationDate": 1329004800, 
      "creatorId": "2832658801548551060", 
      "fanCounter": 11, 
      "fans": [
        2832659598336569794, 
        2832659177394021670, 
        2832659789404407626, 
        2832660143759335906, 
        2832659368492638768, 
        2832659982653062482, 
        2832658801539014804, 
        2832660534609373813, 
        2832659368473677110, 
        2832659368557248951, 
        2832659368491304884
      ], 
      "flag": "", 
      "game": 2, 
      "hidden": false, 
      "icon": "", 
      "id": "2832655241211471675", 
      "memberCounter": 1, 
      "members": {
        "2832658801548551060": {
          "game": 2, 
          "id": "2832655241211471803", 
          "isSelected": true, 
          "membershipLevel": 256, 
          "persona": {
            "clanTag": "", 
            "games": 2, 
            "namespace": "xbox", 
            "personaId": "177958806", 
            "personaName": "NINETWOZERO", 
            "picture": "", 
            "updatedAt": 1321710992, 
            "user": {
              "createdAt": 1319665326, 
              "gravatarMd5": "1241459af7d1ba348ec8b258240ea145", 
              "presence": {
                "isOnline": true, 
                "isOnlineOrbit": true, 
                "isPlaying": false, 
                "userId": "2832658801548551060"
              }, 
              "userId": "2832658801548551060", 
              "username": "ninetwozero"
            }, 
            "userId": "2832658801548551060"
          }, 
          "personaId": "177958806", 
          "platoonId": "2832655241211471675", 
          "user": {
            "createdAt": 1319665326, 
            "gravatarMd5": "1241459af7d1ba348ec8b258240ea145", 
            "presence": {
              "isOnline": true, 
              "isOnlineOrbit": true, 
              "isPlaying": false, 
              "userId": "2832658801548551060"
            }, 
            "userId": "2832658801548551060", 
            "username": "ninetwozero"
          }, 
          "userId": "2832658801548551060"
        }
      }, 
      "name": "BF3 Battlelog (app)", 
      "platform": 2, 
      "presentation": "Ever wondered what your gaming sessions would look like if you had access to all the information you need right there in-front of you, without the need to alt-tab nor move from that comfortable couch of yours? Here's the solution!\r\n\r\nBF3 Battlelog is your most trusted companion on the Battlefield regardless of the platform you're playing on, or how many people you have in your party. You can interact with the community, view your stats & unlocks, manage platoons, read the forums and much much more. Most people have their phones next to them while playing, making this the ultimate app for you gamers out there - you won't need to have your laptop switched on as a console player, just for the sake of Battlelog. You don't need to alt-tab the game to look up your current unlocks, and miss important in-game opportunities. Just open the app, check what you need and play your best rounds ever.", 
      "tag": "NTZ", 
      "website": "https://market.android.com/details?id=com.ninetwozero.battlelog"
    }, 
    "refreshPlatoons": false, 
    "searchPersonas": [], 
    "searchUsers": [], 
    "titleSection": "Battlefield 3", 
    "userMessageBox": null
  }, 
  "globalContext": {
    "actionName": "index", 
    "activeMenu": "platoon", 
    "componentName": "platoon", 
    "currentUrl": "|bf3|platoon|2832655241211471675|listfans|", 
    "hasWriteBan": false, 
    "isAjaxFetch": false, 
    "isAjaxNavigation": true, 
    "isSecure": false, 
    "mutedSounds": 0, 
    "pushConnections": [
      {
        "address": "beaconpush-14.battlelog.battlefield.com", 
        "apiKey": "planet", 
        "channels": [
          "##platoon-2832655241211471675"
        ], 
        "channelsWithAuth": [
          "##platoon-2832655241211471675"
        ], 
        "log": false, 
        "nodeNumber": 1, 
        "sslAddress": "10.99.139.122:6054", 
        "sslEnabled": false, 
        "sslWsAddress": "10.99.139.122:6054", 
        "token": "1333927315;f76e295589d7287e8c3dd97f52db8b8711327c55", 
        "user": "2832658801548551060", 
        "wsAddress": "beaconpush-14.battlelog.battlefield.com"
      }, 
      {
        "address": "beaconpush-12.battlelog.battlefield.com", 
        "apiKey": "planet", 
        "channels": [
          "@2832658801548551060"
        ], 
        "channelsWithAuth": [
          "1333927315;80cfac2e257c1dffca415aa1fa8cf06b76a23fc9@2832658801548551060"
        ], 
        "log": false, 
        "nodeNumber": 6, 
        "sslAddress": "10.99.139.119:6054", 
        "sslEnabled": false, 
        "sslWsAddress": "10.99.139.119:6054", 
        "token": "1333927315;f76e295589d7287e8c3dd97f52db8b8711327c55", 
        "user": "2832658801548551060", 
        "wsAddress": "beaconpush-12.battlelog.battlefield.com"
      }
    ], 
    "pushPorts": [
      80, 
      "secure-443"
    ], 
    "pushServers": [
      "beaconpush-4.battlelog.battlefield.com", 
      "beaconpush-14.battlelog.battlefield.com", 
      "beaconpush-1.battlelog.battlefield.com", 
      "beaconpush-13.battlelog.battlefield.com", 
      "beaconpush-3.battlelog.battlefield.com", 
      "beaconpush-11.battlelog.battlefield.com", 
      "beaconpush-12.battlelog.battlefield.com", 
      "beaconpush-2.battlelog.battlefield.com"
    ], 
    "realm": {
      "game": 2, 
      "lang": 1, 
      "section": 2
    }, 
    "systemUtcTime": 1333884115, 
    "useExperimentalPush": true, 
    "writeBanUntil": 0
  }, 
  "template": "platoon.listfans"
}