James Greenwood
James Greenwood

Reputation: 31

Facebook like button disappears when not logged in

I have an issue with the FB like button.

In a web view inside our iOS and Android apps, when the FB like button is pressed and you are not logged in, instead of displaying a login modal as it has previously it just disappears.

This happens for the iframe and XFBML versions.

I can also reproduce this when clicking the like button in the mobile browser when viewing https://developers.facebook.com/docs/reference/plugins/like/.

I've logged this with FB Dev but thought I'd try here as well.

Upvotes: 2

Views: 1427

Answers (2)

Steven Delrue
Steven Delrue

Reputation: 443

It's possible a like button is blocked if the page it links to has a restriction. This article has some more information about this problem: Ttp://www.andreavahl.com/facebook/why-your-facebook-like-box-is-not-showing-up.php

Upvotes: 0

kungfucsiga
kungfucsiga

Reputation: 339

I had the same problem.... You have to use this tool: https://developers.facebook.com/tools/debug

Enter the url you want to add like button, this will clear facebook cache, and the like button will work properly.

Upvotes: 3

Related Questions