Facebook Javascript SDK: Why do I need a 'app-id' when invoking FB.init()? -


on this page there quickstart of facebook's javascript sdk. don't understand why there has "app-id" in parameter. trying build share button on page using javascript sdk, don't have facebook app.

using app id allows facebook track , manage usage of sdk. anytime you're making call service, want/need way identify call coming , how it's being used.

creating app id simple, though. go https://developers.facebook.com/ , click on myapps @ top. there option in drop-down add new app. need add couple pieces of info started , app id generated. can add more info page or site if want to.

if want add share button without messing that, use normal button configurator: https://developers.facebook.com/docs/plugins/like-button


Comments

Popular posts from this blog

javascript - Chart.js (Radar Chart) different scaleLineColor for each scaleLine -

apache - Error with PHP mail(): Multiple or malformed newlines found in additional_header -

java - Android – MapFragment overlay button shadow, just like MyLocation button -