At first, I am programming with python and haven't even basic knowledge with PHP. Can you help me with Facebook login button which worked out of the box when I used builtin plugin. After few days I installed Open Login v3 to make broader pallete of social logins, but since then I'm issuing problems.
Well I think that login is very good, but my knowledge is poor, and when I tried to revert login procedure with basic plugin, my Facebook button for login vanished !?
I am wondering what I've done bad? Login script with div is still in code printout, but I got no clue is that everything:
<div id="fb-root"></div> |
|
<script> |
|
window.fbAsyncInit = function() { |
|
FB.init({ |
|
appId : 'xxxxxx', |
|
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); js.id = id; |
|
js.src = "//connect.facebook.net/en_US/sdk.js"; |
|
fjs.parentNode.insertBefore(js, fjs); |
|
}(document, 'script', 'facebook-jssdk')); |
|
</script> |
I would appreciate any help. Thanks.