You can try the example for this guide at: https://www.permadi.com/tutorial/facebook-js-oauth-popup-centered/index.html Background The normal way to open the OAUTH dialog is as described here, by calling: https://graph.facebook.com/oauth/authorize?client_id=APP_ID&scope=publish_stream&redirect_uri=http://www.example.com/url/; You can open the dialog in the same window, like this: top.location = ‘https://graph.facebook.com/oauth/authorize?client_id=APP_ID&scope=publish_stream&redirect_uri=http://www.example.com/url/’; More details can be read here. The normal route if you want to show the […]