Facebook Like click showing URL for a fraction of a second - interface

I am using an iFrame version of Facebook Like.
On Like click, sometimes, it shows the URL of the liked page, for a fraction of second.
After that, it shows the name of the person liking it.
Is there a way to prevent it from showing the URL?

The Like button is Facebook functionality and thus cannot be changed in anyway. You are better off filing a bug with Facebook with deterministic repro steps so they can address the issue for you.

Related

Facebook like button shows main domain like count on article pages

I ran into a strange problem with the Facebook Like Buttons. After implementing it on the articles pages in SOME cases, but most of them, it shows up the like count for the main page.
Article page example:
http://www.men.hu/a-legnepszerubb-gyogyteak/eletmod/gasztro/225
This article should have 0 to 5 likes, not 200+. The main URL has 200+ likes. After parsing it with Facebook's Linter tool, it works just fine! Shows 0 likes and the Facebook like button starts working on the article page too. It seems like it clears some kind of cache, or re-parses the URL and corrects its data.
Debugging the parsed Facebook like button, the data-href tag seems to be correct, showing up the current page URL, not the main page.
Where can be the problem and how could I solve it? Any ideas are welcome as I feel like I tried already everything...
I had this problem with some pages, it turned out that the pages had been published, then someone disabled them and reactivated them again later. While the pages were disabled, Facebook checked the page (they say they check pages every 24hrs to make sure the Page Title and other details are up to date) and got redirect to the home page, so used the 'like' count for that page. However, Facebook cached the redirect so never picked up again that the page had been re-enabled.
We resolved the problem by manually re-linting the pages using the Facebook debugger, as you have done already.
Your page does seem to have the correct Like count just now (3), so looks like you may have resolved the problem for now.

Like button doesn't work with any Facebook Page

Apparently, something happened with facebook that i cannot like any Facebook page (in ex. http://www.facebook.com/TheSimpsons).
You can like such page on a page itself but not via Like button on your website.
Even on facebook documentation page (http://developers.facebook.com/docs/reference/plugins/like/) if you put this url and try to click generated button, it will like and immediately unlike it.
Are there any known reason for such behavior or workaround?
This was Facebook bug which is closed now

How to make the facebook share spider not to cache the page

I like the share button more than the like button, thats why i'm using it. The problem is that if the title of the page change and when someone paste it into facebook is still with the old title
Sample code
I put span with a tag in the bottom of the page
http://www.facebook.com/share.php?u=http://stackoverflow.com
Using the share functionality is not a good decision since it has been deprecated and is no longer supported, as it clearly states here:
The Share button has been deprecated in favor of the Like button, and
will no longer be supported. Please use the Like button whenever
possible to drive maximum traffic to your apps.
And here:
What happened to the old Share button?
We deprecated the Share Button when we launched the Like button,
because the Like button improves clickthrough rates by allowing users
to connect with one click, and by allowing them to see which of their
friends have already connected.
With that said, to answer your question, it also written in the Like Button guide:
When does Facebook scrape my page?
Facebook needs to scrape your page to know how to display it around
the site.
Facebook scrapes your page every 24 hours to ensure the properties are
up to date. The page is also scraped when an admin for the Open Graph
page clicks the Like button and when the URL is entered into the
Facebook URL Linter. Facebook observes cache headers on your URLs - it
will look at "Expires" and "Cache-Control" in order of preference.
However, even if you specify a longer time, Facebook will scrape your
page every 24 hours.
The user agent of the scraper is: "facebookexternalhit/1.1
(+http://www.facebook.com/externalhit_uatext.php)"
To clear the cache the easiest thing is to just use the Debug Tool.

Facebook fan page going immediately to wall after like, used to go back to the app

I use fan gates on a lot of different fan pages. The idea has always been you land on the page and see a like us to gain something after clicking like the page reloads and now the user sees the content behind the fan gate.
I noticed today that after liking a page it immediately goes to the wall, is this a bug? Is this feature deprecated? I don't have much wall activity on my pages, I'd rather users see our portfolio or special deals.
This is a bug on facebook right now, described here - https://developers.facebook.com/bugs/110015112440103
It'd be great to have an interim fix but since the code for the Like button is outside of what's accessible to the page tab, I'm having trouble imaging what a solution might look like, short of removing the address from your page to make it not a "place", which seem to be the only pages affected.
I've been having this problem for the past few days, but today I found the solution. It seems the problem lies with the new recommend dialog box on pages. This box only appears on pages for places and prevents the page from reloading. If you have a address assigned to your page then remove it and your fangate will reload in the window when liked and not redirect to the wall page. I know this isn't a preferred fix, but until Facebook fixes the new dialog box it'll have to do.

Facebook Like Button Keeps Resetting

I'm trying to add a facebook "like" button to my page, and it is appearing just fine. My problem is that once it is clicked by a user, it says "Like NUMBER" then resets as if the request was canceled or something.
The weird thing is that if I try to like a page using my facebook account it works, but I tried letting a friend like some content and this behavior appeared.
I created a facebook app, specified the site url with a trailing slash, and site domain. I used the app ID with FB.init, and with the open graph tags. I can't figure what I'm doing wrong here. Any help would be appreciated.
Sample page can be found at: http://wiseolive.com/en/doctors/3881-khalid-jamal-salaymeh
First, for the count to work correctly, Facebook needs to have access to the page (in other words a public page). Check your URL in the linter tool (https://developers.facebook.com/tools/debug) to ensure it can been seen by Facebook.
Secondly, ensure your og: tags are correctly setup. Once again, you can use the linter tool to do that.
Facebook like buttons will show this behavior until they have been scraped by Facebook. That scraping (facebook like docs) will occur every 24 hours, when an admin clicks the like button or the url is put in the url debugger/linter. From what I can tell doing that will solve the problem for that specific link, but not any others you may have on your site.
I don't know of a generic solution for dynamically generated pages unfortunately.