Why data in Presence V1 cloud API lots of are none? [Python]

I am new in roblox API, i am playing around for the Presence V1 api. I try to use python to play around. I found that dont know why there are lot of return data are None

import json
import requests

headers = {
    'Content-Type': 'application/json',
    'Accept': 'application/json',
}

data = {
  "userIds": [
    1
  ]
}

response = requests.post('https://presence.roblox.com/v1/presence/users', headers=headers, data=json.dumps(data))
jsonResponse = response.json()["userPresences"][0]

print(jsonResponse)

This is my code, i try the “Roblox” account but here is the result

{'userPresenceType': 0, 'lastLocation': 'Website', 'placeId': None, 'rootPlaceId': None, 'gameId': None, 'universeId': None, 'userId': 1}

Why most of the data is None???

1 Like

Privacy.

You are not allowed to see a user’s presence unless they have it configured to be visible to you.

2 Likes

I add my cookie security key of Roblox in the http header post request and fixed

This topic was automatically closed 14 days after the last reply. New replies are no longer allowed.