Social Media Support Center
Would you like to react to this message? Create an account in a few clicks or log in to continue.

Like button issues on IE 8

2 posters

Go down

Like button issues on IE 8 Empty Like button issues on IE 8

Post by rhensley Tue Nov 09, 2010 7:42 pm

Anyone else having issues with this in IE 8?

It works perfectly for me in Firefox, Safari (Windows), Opera and Chrome. But with IE 8, I just get a pop-up from [You must be registered and logged in to see this link.] when I click the "Like" button. When I go to FB, the URL I attempted to like is not liked. Sad

I am adding a function to track "likes" when FB.Event.subscribe fires; this works perfectly in the aforementioned browsers, but I cannot get anything — my tracking code, the debugger or an alert — to fire from inside the FB.Event.subscribe function in IE. I just get the pop-up...

Any ideas? Thanks in advance for your time.
Rob
rhensley
rhensley
New Member



Back to top Go down

Like button issues on IE 8 Empty Re: Like button issues on IE 8

Post by Admin Tue Nov 09, 2010 8:38 pm

What popup you said you get on IE?
avatar
Admin
Ultimate SN Fan



Back to top Go down

Like button issues on IE 8 Empty Re: Like button issues on IE 8

Post by rhensley Wed Nov 10, 2010 11:08 am

It's just a blank page w/ the Facebook header.

Here's my code (the alert is never reached):

window.fbAsyncInit = function() {
FB.init({ appId: '[my_app_id]', status: true, cookie: true, xfbml: true });
FB.Event.subscribe('edge.create', function(href, widget) {
alert('if you can see this, you must not be using IE...');

/* "LIKE" TRACKING CODE HERE... */
});
};
rhensley
rhensley
New Member



Back to top Go down

Like button issues on IE 8 Empty Re: Like button issues on IE 8

Post by rhensley Wed Nov 10, 2010 12:01 pm

Some additional info...

1) I am clearly logged into Facebook and my page with the like button seems to "know" this, so I am assuming that FB.init is working correctly.

2) If I like my page in another browser and then load that page in IE, it shows, "one person likes this" but doesn't seem to know that I am the one who likes it; in the other browsers, it knows I like it.

3) I did find this: [You must be registered and logged in to see this link.] I am developing in ASP.NET, and my test page URL does have a port number in it. I'm going to plan on deploying my test page and trying it there...

Thanks,
Rob
rhensley
rhensley
New Member



Back to top Go down

Like button issues on IE 8 Empty Re: Like button issues on IE 8

Post by rhensley Wed Nov 10, 2010 12:51 pm

Blerg...

OK, the fix for this is to use NEITHER localhost:[port] NOR just localhost but DO use 127.0.0.1 instead. Then, it works like a dream in IE8 (including compatibility mode)...

What. A. Pain.
rhensley
rhensley
New Member



Back to top Go down

Like button issues on IE 8 Empty Re: Like button issues on IE 8

Post by Sponsored content


Sponsored content


Back to top Go down

Back to top


 
Permissions in this forum:
You cannot reply to topics in this forum