I am building facebook iframe app. When I load this section of code on browser. In browsers console I seen the following to Errors FB.init has already been called - this could indicate a problem Invalid App Id: Must be a number or numeric string representing the application id.
Here is the sight of my code:
`script `<src="https://connect.facebook.net/en_US/all.js"> </script>`
FB.init({
appId : '<%= AppConfig.facebook_oauth[:application_id] %>',
cookie : true,
xfbml : true
});
function send_invites(data,url) {
FB.ui({
method: 'send',
name: data,
picture: $('#group_pic').val(),
link: url
}, invites_callback);`
formatted coding