Yo' Citizens,
Hello again. Problem, I cannot find, or figure out, where to actually place this SDK code?
I am not sure whether to place this here, or in code snippets. Figured to start here,
I have a "very similar, Discussion Forum website" and I am trying to allow citizens to join my website, and gain memberships using their, facebook and Google+ (G+) profiles, by adding that button to my login panel.
I tried using The "facebook_connect_panel" infusion, I have everything loaded correctly, and infused correctly, edited config.php, with the correct info. Everything shows in Admin panels, however the "login with fb" does not show up in panel.
I did some research, haven't found answer, yet. The best i got so far, is from facebook themselves, they tell me to:
** Setup the Facebook SDK for JavaScript
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:
** I Can Not Find The "<body>" tag ANYWHERE in my "File Manager". 98 percent of All my pages are .php. Not html.
** <script>
** window.fbAsyncInit = function() {
** FB.init({
** appId : 'myappidnumber',
** xfbml : true,
** version : 'v2.8'
** });
** FB.AppEvents.logPageView();
** };
**
** (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>
** Then place this code wherever you want the plugin to appear on your page;
**<div class="fb-page" data-href="https://www.facebook.com/cfcspro/" data-tabs="timeline" data-small-header="true" data-adapt-container-width="true" data-hide-cover="false" data-show-facepile="true"><blockquote cite="https://www.facebook.com/cfcspro/" class="fb-xfbml-parse-ignore"><a href="https://www.facebook.com/cfcspro/">Citizens First Cyber Security Professionals</a></blockquote></div>
** Which ideally i want to place in panel for member login's, so citizens can see it and just click on fb button to login
Am I just blind and overlooking this/these file's? Or is there something else i have to do, or something I am missing?
Or do I need to create a custom file of some sort??
Thank You For Your Time Citizens.
Merged on Mar 16 2017 at 20:43:05:
Sorry, I don't know why those smilies show up in the code like that. i did not place that there.