The How dialog box appears and disappears immediately.

I have been having a problem with the Facebook Like button for quite some time. I considered everything for a solution, but I was just stuck. The error occurs on my website www.MapYourVote.com. When you go to the survey page and click "Like", a dialog box appears and quickly disappears. At the same time, the counter also goes to 1 and quickly returns to 0.

The problem has always been resolved for individual survey pages using the Facebook debugging tool (http://developers.facebook.com/tools/debug). Once you use it on the url, a similar button will work as expected. The problem is that my site is dynamic and I can’t use the Facebook Debug tool every time someone creates a new poll. The Facebook debugging tool does not reveal any problems (other than the image size, but I doubt the problem).

Here is an example of a page where the Like button doesn't work. If you entered this URL into the Facebook Debug tool, the Like button would work. http://www.mapyourvote.com/Poll/Election-Result-Feelings/

Any help would be greatly appreciated!

+6
source share
4 answers

I also had this problem. I created a referrer URL to give lenders a link, so for each user who wanted to share something, there was a different URL. The referrer link will provide the user with credit and redirect to the login page of my site. With this configuration, a similar dialog will appear for a moment, and then disappear again, unless I go to the facebook debugging tool.

For me, the problem was to go from redirecting to displaying the page directly from my referral link. In fact, I changed the referral link as the ?r=refid on my root URL. It seems to work correctly if facebook doesn't have to follow the redirect to get the og: data.

0
source

I had a similar problem and it turned out that I had too tight a cookie policy set in my browser - I allowed Facebook to use only first-party cookies. When I allowed Facebook to use other cookies, the problem was resolved. It is difficult to debug when an error does not appear, except for an immediate pop-up macro.

0
source

I had the same problem. This was caused by the url value in the data-href attribute. I had a url pointing to my local host. When I changed the existing URL, the problem was resolved.

Hope this helps

0
source

For me, the problem (like a pop-up disappearing after a second) occurs when the URL of the Favorites button is redirected to another URL.

It was fixed to add og: type, og: url and og: title (required for https://developers.facebook.com/docs/reference/opengraph/object-type/website ), then launch the URL through the Facebook debugger so that clear cache ( https://developers.facebook.com/tools/debug ).

Learn more at fooobar.com/questions/929935 / ...

-1
source

All Articles