Oh no! Where's the JavaScript?
Your Web browser does not have JavaScript enabled or does not support JavaScript. Please enable JavaScript on your Web browser to properly view this Web site, or upgrade to a Web browser that does support JavaScript.
Not a member yet? Click here to register.
Forgot Password?

Facebook feed

Asked Modified Viewed 2,611 times
L
Lagotolio
L
  • Junior Member, joined since
  • Contributed 10 posts on the community forums.
  • Started 3 threads in the forums
  • Started this discussions
asked
Junior Member

Hi there

Hope this is the right place for this post.

I want to add a panel, where you can see the latest post from a certain facebook group/page.

Can anyone help with, how this would look as a code you add to the panel?
0 replies

4 posts

D
douwe_yntema
D
  • Senior Member, joined since
  • Contributed 667 posts on the community forums.
  • Started 57 threads in the forums
  • Answered 1 question
answered
Senior Member

Like this:
http://www.morraruters.nl

Make a panel and paste code:

openside("Facebook Like");

?>
<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/nl_NL/all.js#xfbml=1";
  fjs.parentNode.insertBefore(js, fjs);
}(document, 'script', 'facebook-jssdk'));</script>
   

<div class="fb-like-box" data-href="http://www.yoursite.com" data-width="250" data-show-faces="false" data-stream="true" data-show-border="false" data-header="true"></div>   
<?php


closeside();


info: https://developers.facebook.com/docs/...s/plugins/
0 replies
L
Lagotolio
L
  • Junior Member, joined since
  • Contributed 10 posts on the community forums.
  • Started 3 threads in the forums
  • Started this discussions
answered
Junior Member

Hi

Yes exactly.. But when I do this, I get this error in the side?
http://www.iden.dk/files/news.php

It says the page is not valid (says the same when I just copypaste your code)

Do I need to make any other changes to get it to work.

It is this page, I need to get in:
https://www.facebook.com/odisforsamlingshus/?fref=ts
0 replies
D
douwe_yntema
D
  • Senior Member, joined since
  • Contributed 667 posts on the community forums.
  • Started 57 threads in the forums
  • Answered 1 question
answered
Senior Member

Ok Its working now I think?
0 replies
L
Lagotolio
L
  • Junior Member, joined since
  • Contributed 10 posts on the community forums.
  • Started 3 threads in the forums
  • Started this discussions
answered
Junior Member

Hi there

Yes it's working now.. Just made a rookie mistake with the link.

Thank you so much for your help.. I really appreciate it. :)
0 replies

Labels

None yet

Statistics

  • Views 0 views
  • Posts 4 posts
  • Votes 0 votes
  • Topic users 2 members

2 participants

D
D
  • Senior Member, joined since
  • Contributed 667 posts on the community forums.
  • Started 57 threads in the forums
  • Answered 1 question
L
L
  • Junior Member, joined since
  • Contributed 10 posts on the community forums.
  • Started 3 threads in the forums
  • Started this discussions

Notifications

Track thread

You are not receiving notifications from this thread.

Related Questions

Not yet