admin管理员组

文章数量:1287230

When using the "Connect" facebook connect button, when I click it, it opens up a new popup window outside of the current window. This is quite annoying, how am I able to use the inline modal dialog that is found on most sites?

I've attached a sample site to see if you can make anything out of it.

.php

Thank you.

When using the "Connect" facebook connect button, when I click it, it opens up a new popup window outside of the current window. This is quite annoying, how am I able to use the inline modal dialog that is found on most sites?

I've attached a sample site to see if you can make anything out of it.

http://www.giglocator./connect/index.php

Thank you.

Share Improve this question edited Aug 3, 2011 at 10:31 Cyril Gandon 17.1k15 gold badges81 silver badges123 bronze badges asked May 18, 2009 at 0:08 JamesJames 6,00815 gold badges49 silver badges73 bronze badges
Add a ment  | 

2 Answers 2

Reset to default 5

Facebook removed the inline login dialog box for security reasons. However, if a user is logged in to Facebook, but has not yet authorized your app, the pop-up asking them to authorize your app will be inline. Anything that asks for a Facebook password, however, will be displayed in a pop-up so that the user can see the URL of the site that is getting their password. It gives the user some peace of mind.

I tried to figure out why mine changed on me, but it didn't. The inline box gets displayed for logged in users that have never used your site/app before. An FB user that is NOT logged in to Facebook will get the pop-up.

"Previously, the Connect with Facebook dialog appeared in an IFrame "lightbox" within the browser window. After tomorrow's weekly code push, the dialog will pop up in a separate browser window, with an address bar, which matches the user login flow when the user is not logged in to Facebook and tries to connect accounts with your site."

http://developers.facebook./news.php?blog=1&story=312

本文标签: phpFacebook Connect Dialog PopupStack Overflow