how i get a page iun a page

Permalink
hi everyone,
how can i get page show facebook page but iframe dont work
abd one addon i try is Responsive Embed fail to load it help me ty

 
hutman replied on at Permalink Reply
hutman
Are you asking how to get a Facebook page to show within the page of your Concrete5 website? If so you should refer to the documentation on Facebook plugins -https://developers.facebook.com/docs/plugins/page-plugin...
Fanflame replied on at Permalink Reply
Fanflame
Hello, I am not sure if you got the answer you were looking for or if you got the Facebook Page App to load; but I also had an issue getting Facebook to load my page correctly.

As hutman said you need to reference the Facebook Page Plugins URL. page-plugin
Fill out the details of the page you want to display and hit the "Get Code" button.

The Javascript SDK code you need to enter onto your default.php page is below but this default.php page will need to be the one within your theme generally within the packages/YourThemeName/ folder.

<!-- Facebook Javascript SDK -->
      <div id="fb-root"></div>
         <script>(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_GB/sdk.js#xfbml=1&version=v2.7";
           fjs.parentNode.insertBefore(js, fjs);
           }(document, 'script', 'facebook-jssdk'));</script>
   <!--  // End of Facebook Javascript SDK -->


Once this has been added and saved you can go to your Homepage, add in a new text block, switch it to view as HTML <> and add in the code that you got from entering your details into the Facebook page mentioned above.
Whilst in the HTML mode you can change certain settings like width and height of the app but you can find out about these settings on the Facebook plug-in page mentioned above

Note though: You cannot see the Facebook app until you have saved the page

Good luck and God Bless!

Fanflame

https://developers.facebook.com/docs/plugins/page-plugin...