How to bypass physical login to myfxbook account ?

May 08, 2023 at 05:35
509 Views
2 Replies
Biedrs kopš   8 ieraksti
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.
Mar 18 at 09:18
Please how do you manage to create a session
Biedrs kopš   8 ieraksti
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'

Pieslēgties / Sign Up to comment
You must be connected to Myfxbook in order to leave a comment
*Spams netiks pieļauts, un tā rezultātā var slēgt kontu.
Tip: Posting an image/youtube url will automatically embed it in your post!
Tip: Type the @ sign to auto complete a username participating in this discussion.