0

Hi guys

I am new at JavaFX and now I need some of your help

I made an application and now I need to link my/our instagram profiles for the credits.

I used following code to load the profiles into the webview:

webview.getEngine().load("https://www.instagram.com/username");

Problem 1:

The problem now is, that when the webview loads the instagram page there is a window where I need to accept the cookies, what doesn't work

Problem 2:

The second question is how to load the instagram page without logging in to my insta profile so that everybody can see it without creating any account.

Thank's for every help!

  • 1
    I’m not on Instagram, but… I don’t think your second problem has any solution. – VGR Jun 14 '22 at 19:15
  • 3
    Please ask one question per question. If you have two questions, you have two questions. – jewelsea Jun 14 '22 at 19:27
  • 1
    See also [_Access all the cookies from a JavaFX WebView_](https://stackoverflow.com/q/45827482/230513). – trashgod Jun 14 '22 at 19:30
  • 1
    There is some information on JavaFX and cookie handling in the answer to [JavaFX webview doesn't save cookies](https://stackoverflow.com/questions/48251340/javafx-webview-doesnt-save-cookies). I don't know if that will assist you or not. – jewelsea Jun 14 '22 at 20:39

0 Answers0