This is probably a trivial question, but - strange enough - I was not able to find a solution on the web.
In my (almost) batch application that pulls data from the Facebook API I use a WebView in a JFX Panel to bring up the Facebook Login and Authorization Form. Then, I can get back the access token and do my job.
But even if I check to "remember me" and save the browser, the next time I launch the job, I have to authenticate again. My idea is that it's because the cookie was not saved.
How can I made the Facebook login cookie AND the "Save Browser" cookie persistent (eventually specifying the path, if not the temp) and load it each time in a JFX Panel WebView?