Discussion CAPI and console players

Hi!
I am developing a webapplication for my E: D faction. PC players has their profiles, journals, etc. and I've used EDMC plugin to fetch the information about the commanders. Our app allows faction members to create and perform the tasks, like collect 500k BH vouchers or jump to the specific system, do some missions for specific faction and back... They also can show off their fleat, credit balance etc. Console players can't.
I am trying to use companion API to get information about commander, but it doesn't work for console players. What I've done for now:
  • App can connect the user profile to the frontier account
  • App is getting an access token (valid) to authenticate companion API
  • App can refresh the token
I have checked https://companion.orerve.net/profile as a PC player and it gaves me an information about my commander, but people logged by PSN service does see nothing. I've debugged my code if there is any problem with that, and I've got these headers:
Code:
HTTP/1.1 422 Unprocessable Entity
Cache-Control: no-transform
Content-Type: text/html;charset=UTF-8
Date: Sat, 24 Aug 2019 23:50:56 GMT
Expires: Thu, 19 Nov 1981 08:52:00 GMT
Pragma: no-cache
Server: Apache
Set-Cookie: CompanionApp=XXXXXXXXXXXXXXXX; path=/
Strict-Transport-Security: max-age=16070400; includeSubDomains
X-UA-Compatible: IE=edge
Content-Length: 0
Connection: keep-alive
Is there a way to use a CAPI to get profile information about PSN/XBL users?
 
Top Bottom