How to bypass physical login to myfxbook account ?

May 08, 2023 at 05:35
520 Paparan
2 Replies
Ahli sejak Jun 21, 2019   8 hantaran
May 08, 2023 at 05:35
Hello,

I do an API call ervery day at 23h05,
But 2 times a week, I get an error who ask me to physically connect to my myfxbook account.
This create a lot of problems in my system because I have to relaunch my script manually after that.

I precise one thing : Every day, I create a session and destroy it.

Do I have to create a session and never destroy it (I read that session never expire...)

Thanks.
Ahli sejak Mar 06, 2024   2 hantaran
Mar 18 at 09:18
Please how do you manage to create a session
Ahli sejak Jun 21, 2019   8 hantaran
Mar 19 at 10:51
It depend the language you use.

You have to do an http request on this endpoint : 'https://www.myfxbook.com/api/login.json?email=$your_mail&password=$your_pass'

Daftar Masuk / Daftar to comment
You must be connected to Myfxbook in order to leave a comment
*Penggunaan komersil dan spam tidak akan diterima, dan boleh mengakibatkan penamatan akaun.
Petua: Menyiarkan url gambar/youtube akan menyisipkannya secara automatik dalam siaran hantaran anda!
Tip: Taipkan tanda @ untuk melengkapkan nama pengguna yang menyertai perbincangan ini secara automatik.