Is possible open popup auth from Servlet?

6 views
Skip to first unread message

Danilo Magrini

unread,
Jul 23, 2016, 11:28:04 PM7/23/16
to Facebook4J
Is possible open popup auth from Servlet?
My code is:

            DialogAuthOption authOption = new DialogAuthOption().display(Display.POPUP);
            String url = facebook.getOAuthAuthorizationURL(callbackURL.toString(), authOption);
            response.sendRedirect(url);

But sendRedirect open the page and no the popup. How do I open a popup from Servlet?

thx
Reply all
Reply to author
Forward
0 new messages