The forum of the forums
Welcome to the Official Support Forum of Forumotion!

To take full advantage of everything offered by our forum, please log in if you are already a member, or join our community if you've not yet.

Create a free forum like this one.

facebook connect login

View previous topic View next topic Go down

facebook connect login

Post by dede.sonia.58 on Wed Dec 31, 2014 7:36 pm

how to add a script from facebook .. for facebook connect login.

The following snippet of code will give the basic version of the SDK where the options are set to their most common defaults. You should insert it directly after the opening<body>tag on each page you want to load it:

 window.fbAsyncInit = function() {
  appId : '625810204213xxx',
  xfbml : true,
  version : 'v2.2'

 (function(d, s, id){
  var js, fjs = d.getElementsByTagName(s)[0];
  if (d.getElementById(id)) {return;}
  js = d.createElement(s); = id;
  js.src = "//";
  fjs.parentNode.insertBefore(js, fjs);
  }(document, 'script', 'facebook-jssdk'));

my forum:

New Member

Posts : 1
Reputation : 1
Language : id

Back to top Go down

View previous topic View next topic Back to top

Permissions in this forum:
You cannot reply to topics in this forum