Edit Your Comment
Invalid session after logging in successfully
Sep 23, 2021 at 10:15
เป็นสมาชิกตั้งแต่ Apr 09, 2014
1 โพสต์
Hi
I am using JSON API and I can log in successfully. I get my sessionID. Using that session ID, I try to get accounts or log out. It shows an invalid session ID in both cases.
URL
https://www.myfxbook.com/api/login.json?email=*****&password=******
Response of log in
{"error":false,"message":"","session":"**************"}
URL
https://www.myfxbook.com/api/get-my-accounts.json?session=**************
Get accounts response
{"error":true,"message":"Invalid session.","accounts":[]}
URL
https://www.myfxbook.com/api/logout.json?session=**************
Response of logout
{"error":true,"message":"Invalid session."}
I am using JSON API and I can log in successfully. I get my sessionID. Using that session ID, I try to get accounts or log out. It shows an invalid session ID in both cases.
URL
https://www.myfxbook.com/api/login.json?email=*****&password=******
Response of log in
{"error":false,"message":"","session":"**************"}
URL
https://www.myfxbook.com/api/get-my-accounts.json?session=**************
Get accounts response
{"error":true,"message":"Invalid session.","accounts":[]}
URL
https://www.myfxbook.com/api/logout.json?session=**************
Response of logout
{"error":true,"message":"Invalid session."}

*การใช้งานเชิงพาณิชย์และสแปมจะไม่ได้รับการยอมรับ และอาจส่งผลให้บัญชีถูกยกเลิก
เคล็ดลับ: การโพสต์รูปภาพ/youtube url จะฝังลงในโพสต์ของคุณโดยอัตโนมัติ!
เคล็ดลับ: พิมพ์เครื่องหมาย @ เพื่อป้อนชื่อผู้ใช้ที่เข้าร่วมการสนทนานี้โดยอัตโนมัติ