Tab Content Does Not Refresh After First Click of Like Button

Posted by Adam on Stack Overflow See other posts from Stack Overflow or by Adam
Published on 2012-05-21T23:21:54Z Indexed on 2012/06/12 4:40 UTC
Read the original article Hit count: 202

Filed under:
|
|
|
|

I've implemented a very simple "like guard" for a facebook tab, and am running into an issue with my test users. Multiple testers are reporting that when they open a tab and click the "like" button, they do not always get a page refresh (so the like guard does not disappear until they do a manual reload). This is using facebook's like button at the top of the page, not one I've coded up myself.

As a sanity check, I enabled some simple logging on my server and have been able to recreate the issue - I hit "like" or "unlike" but there seems to be no request made to my index.php page, so definitely no refresh happening.

I'm aware of this old bug https://developers.facebook.com/bugs/228778937218386 but this one seems different. For starters, after the first click of the "like" button, if I just continue clicking unlike/like/.... then the refresh happens automatically, as expected. What's especially weird is that if I reload the page after the first failed refresh, the refreshes start working again as expected, ie the first update to my like status triggers a page refresh.

Some possibly (?) relevant info:

  1. My Tab is part of a test page, and is unpublished
  2. I am only using http hosting for the tab content, since my https isn't set up yet
  3. So far I've just tested with other admins - so maybe user role affects this?

Curious to see if anyone has run into this issue before.

© Stack Overflow or respective owner

Related posts about facebook

Related posts about tabs