0

I just begin the facebook development, and I try to make the first app with javascript SDK.

However, when I go the page where I install the code, I have an error message saying that "does not work , try again later."

My application is in development mode and it's the good Appdata

In facebook dashboard I entered as domain: http://yofitness.fr

Someone have an idea ?

<body>
<div id="fb-root"></div>
<script>
    window.fbAsyncInit = function() {
        FB.init({
          appId      : '{624205284323943}',
          status     : true,
          xfbml      : true
        });

        FB.ui({
          method: 'send',
          name: 'People Argue Just to Win',
          link: 'http://www.nytimes.com/2011/06/15/arts/people-argue-just-to-win-scholars-assert.html',
        });
    };

    (function(d, s, id){
       var js, fjs = d.getElementsByTagName(s)[0];
       if (d.getElementById(id)) {return;}
       js = d.createElement(s); js.id = id;
       js.src = "//connect.facebook.net/en_US/all.js";
       fjs.parentNode.insertBefore(js, fjs);
     }(document, 'script', 'facebook-jssdk'));
</script>
</body>
1
  • Assuming that's your actual appId, lose the curly braces (so just appId: '624205284323943',...). Commented Apr 10, 2014 at 15:42

1 Answer 1

1

Change appId:'{624205284323943}', to appId: '624205284323943',

Sign up to request clarification or add additional context in comments.

Comments

Your Answer

By clicking “Post Your Answer”, you agree to our terms of service and acknowledge you have read our privacy policy.

Start asking to get answers

Find the answer to your question by asking.

Ask question

Explore related questions

See similar questions with these tags.