(If I've understood the problem here) I would have thought that these days, offering a simple html anchor link that opens a new browser window or tab offers the user the best cross-device experience; perhaps using the still available (if once maligned) target="_blank" attribute when discussing pop-ups?
The user then has no browser alerts over "complicated" custom windows/pop-ups to worry over, can organize their browser tabs/windows how THEY want, and still remain within your domain. It also reduces the complexity of your cases for determining a user's device, screen/window size, focus, etc. Pop-ups should only be employed on closed platforms to which the user has "bought in" to them - IMOHO.
But if this is a logon to effect a like or share of content from your site then I see no reason to use a new window, pop-up, or browser tab to break the user flow through your content and you have every justification to keep the user fully engaged within your own page. I agree with Tim that an unobtrusive layer/element in your own - and the users' flow is the better user experience, and probably meets their glowingly sophisticated expectations, in any case.