Facebook Like button cyclically opens and closes a popup window, facebook.com/connect/connect_to_external_page_widget_loggedin - facebook

I associated a Facebook account with my GaiaOnline account; we use Connect to accomplish this. I created a JS Like button for a page at FB's dedicated page: developers.facebook.com/docs/reference/plugins/like
The Like button's code was
Upon clicking the Like button in XP/firefox 3.6.13, while logged into Gaia and FB, a popup window rapidly opens and closes cyclically until the process is terminated. This behavior is not repeatable on other windows machines, macs or chrome. Presumably this is Facebook trying to initiate a FB login page, per their third-party login process: developers.facebook.com/blog/post/312
My history identifies this page as "http://www.facebook.com/connect/connect_to_external_page_widget_loggedin.php?social_plugin=like&external_page_url=http%3A%2F%2Ftest135.open.dev.gaiaonline.com%2Fforum%2Fentertainment-discussion%2Fthe-roommate-what-s-the-best-thing-about-having-a-roommate%2Ft.67947263%2F".
A video of this transpiring is uploaded to Youtube: http://www.youtube.com/watch?v=1asJ4kMNL6w
What is causing the popup behavior, and what can be done to fix it?

Try enabling 3rd party cookies
http://support.mozilla.com/kk/questions/761194#answer-127335

Related

How can I programmatically add a prior state using angular ui router/ionicframework

I'm using ionicframework v1.3.0 (which is using angular-ui-router v0.2.13). After successful login, the user sees a landing page. Sometimes I want to have my user jump to a special page after login, but still be able to navigate to the landing page.
Currently, if I just use a $state.go('/special-page', someParams), then the user will not see the link for the back/home button in the ion-nav-bar. However, if the user clicks a button to navigate to the special page from the landing page, they will see the back/home button. How can I accomplish this? I thought it might be possible to splice/inject the '/landing-page' state in the navigation stack to do so.

Facebook Style Message Popup?

My site has a Send Message button next to the link to a users profile. When the user clicks on it (using the onClick handler) I want to open a Facebook-style message window, instead of a new window (window.open() method).
It doesn't have to be exactly the same as Facebook's, but I want a similar kind of thing.
Check out Jquery-UI. they have a lot of popuppable windows. Probably want to couple that with some Ajax, and bam, dynamic message popups.

Facebook API events fire continuously

I am using the following example from the facebook website to have a user logon and get his details: https://developers.facebook.com/blog/post/481
I am encountering two problems:
1) The auth.sessionChange event gets fired every half a second, and the page reloads accordingly every half a second (because of this code: FB.Event.subscribe('auth.sessionChange', function(response) {
window.location.reload();
});)
2) When the user clicks login, the login windows doesn't close upon successful login - but nothing happens instead.. After logging in in the popup window, the login page turns into a white blank page..
In your Application Settings, make sure you set your Site URL and Site Domain.
Did you also make sure to update the App Id from your Applications settings in the code?
Last, are you using Safari that could possibly have session caching or cookies disabled? Having done a bunch of Facebook Applications, I can tell you that if you have cookies disabled, you're in some trouble.
I just went through the example, copy-pasted, created a test app, and it works perfectly (tested in Chrome.) Open up Charles, and make sure it's connecting to facebook.com/extern/login_status.php with the proper app id.

Facebook Connect settings for popup dialog

I'm in the process of implementing Facebook Connect for my site, everything seems to be working fine so far except that the look of my popup dialog upon clicking on "Login with Facebook" is totally different from what I see on other sites like say Posterous.
I'm only getting a popup with the msg "Do you want to log in to with your Facebook account?" followed by the 2 login fields whereas Posterous has a more detailed dialog box with 2 images and more descriptive text.
Am i missing out on some configuration settings here or?
Thanks
The text you're seeing is due to the new Facebook data permissions and permissions dialog changes that will go into effect on June 1st. The new settings also has different text for the dialog when you're logged into Facebook but not yet connected to the site:
[SITE_NAME] is requesting permission
to do the following:
Access my public information
Includes name, profile picture, list
of friends and all other public parts
of my profile
You can switch your app to the old / current Connect dialogs to see the difference by going to the Migrations tab when editing your application and setting "New Data Permissions" to Disabled. But on June 1st, you'll be automatically switched to the new version if you haven't already enabled it.
The new dialogs' text is definitely scarier to the user - I'm a little surprised Facebook is changing the text to this since they always say they want to make connecting as appealing as possible for the user. But we don't have a choice.

Are lightbox-style popups allowed when using Google Adwords?

Google's AdWords policies state:
Pop-Ups
Don't use pop-up windows on your site.
We do not approve destination URLs that generate pop-ups when users enter
or leave your landing page.
We consider a pop-up to be any window, regardless of content, that opens
in addition to the original window.
This includes pop-unders, timed or intermittent pop-ups, mock system
warnings, and pages that automatically initiate a download.
Does anyone know if that includes Lightbox effect popups that occur within the same browser window, and just lay on top of the content? The terms "popup" and "window" are ambiguous in the above policy, and it's not clear whether by "window" they mean simply the browser window, or whether the Lightbox content would count as a new window.
Anyone know for sure?
As long as the lightbox opens only on user's direct action of, supposedly, clicking a thumbnail to open a bigger version, I don't think it's treated as a popup per se.
Opening a pop-up/pop-under on page open or leave, or through clickjacking is evil and those are the cases condemned by the policy.
Here's a blog post from Adwords team about why popups are disapproved. You can see that lightbox does not fit the profile.