Logo Questions Linux Laravel Mysql Ubuntu Git Menu
 

Facebook Like button error: Message Failed: This message contains content that has been blocked by our security systems

I'm developing an JavaScript application. A portion of it contains logic, where I should determine if user liked a certain Facebook page. For that I have inserted the Facebook like button into the HTML page. Here is the HTML source:

    <!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.01//EN" "http://www.w3.org/TR/html4/strict.dtd"> 
    <html>

        <head>
            <title>Facebook app test</title>
            <script type="text/javascript" src="https://code.jquery.com/jquery-latest.min.js"></script>
            <script src="https://connect.facebook.net/en_US/all.js"></script>
            <script type="text/javascript">
                FB.init({
                    appId  : '1420154948223014',
                    status : true, 
                    cookie : true, 
                    xfbml  : true  
                });
            </script>
            <script type="text/javascript" src="script.js"></script>

        </head>

        <body>
            <div id="fb-root"></div>
            <div class="fb-like" data-href="http://www.facebook.com/cocacola" data-layout="standard" data-action="like" data-show-faces="false" data-share="false"></div>

        </body>

    </html>

When the "Like" button clicked things are like in the screenshot http://postimg.org/image/hulovrz5v/.

When I click on the "Error" a pop-up opens with following message: Message Failed: This message contains content that has been blocked by our security systems.

like image 398
cheshie Avatar asked Mar 13 '14 11:03

cheshie


People also ask

Why am I temporarily blocked from liking posts on Facebook?

We may block people from doing something on Facebook when: Something you posted or shared seems suspicious or abusive to our security systems. Messages or friend requests you sent were marked unwelcome. You've done something that doesn't follow our Community Standards.

How long is a temporary block on Facebook?

Duration of a Temporary Block The length of a temporary block by Facebook depends on the severity of the violation and the user's history on Facebook. It has been observed that a temporary block may last as little as a few hours, but could also last up to 30 days.

Why is Facebook limiting my likes?

Make sure you are correctly logged in to your Facebook account when trying to like and comment. Clearing your browser's data cache, restarting your browser, updating the browser software to the latest version and disabling any Facebook-related extensions can all help to resolve the problem.

How do I see blocked content on Facebook?

Tap in the top right of Facebook. Tap Settings, then tap Page settings. Below Privacy, tap Blocking.


1 Answers

This message can appear if you are trying to share something from localhost. If this is not the case you can unblock your website by Facebook using this Link: https://www.facebook.com/help/contact/244560538958131

like image 149
joelschmid Avatar answered Oct 04 '22 22:10

joelschmid