Hi guys!

We are running a NPO and as such we do also have a facebook fanpage. I am now looking for a possibility to add facebook information to a confluence page. I have had some success with rss feeds, but it does not give you the same "look and feel" as facebook has. Any ideas from your side how to show a facebook fanpage in confluence?

thanks,
Christian

4 answers

1 accepted

1 vote
Accepted answer
David Simpson Community Champion Dec 05, 2011

"A nice option would be http://www.neosmart.de/social-media/facebook-wall"

Why reload jQuery at all? This works fine with jQuery 1.5.2 as used by Confluence 4. Just prefix/namespace the jQuery object. This should work:

<script src="/path/to/jquery.neosmart.fb.wall.js" type="text/javascript"></script>
<script type="text/javascript">
	AJS.toInit(function(){
		AJS.$('#example1').fbWall({ id:'162253007120080',accessToken:'206158599425293|7809823973348bcf8cd72f6d.1-100000221135225|BW9n2eoyL7EYvJs7GEmv61NbBFk'});
	});
</script>
<div id="example1"></div>

Hi David!

Ok, now I do not understand anything anymore.... If I load the script "jquery.neosmart.fb.wall.js" inside a page it works, if I load it via custom HTML in admin panel it does not work at all.

Anyway, thanks for your great help!

Christian

David Simpson Community Champion Dec 05, 2011

I'm not sure what you're doing to get that. I'd bundle a variation of the above code snippet in a user macro and place it on the appropriate pages -- likely turning the id & accessToken into macro parameters.

0 votes
David Simpson Community Champion Nov 23, 2011

If you just want to include the fan page, you could add it to the page as an iframe. Seems a bit lame, but not knowing your requirements, it may be sufficient.

Hi!

The iframe macro does not work once you try to use http://www.facebook.com. It just shows a blank page - all other addresses to work w/o any problem.

Isn't there a Facebook fanpage widget which you can simply include?

http://www.facebook.com/note.php?note_id=103087753854

You are absolutely right - unfortunately the facebook social gadgets do not show the wall post information. What would make sense to see is what you can also get via an rss feed from a fan page.

A nice option would be http://www.neosmart.de/social-media/facebook-wall

But unfortunately loading jQuery manually does lead to problems with refinedwiki

Suggest an answer

Log in or Sign up to answer
Community showcase
Published Nov 29, 2018 in New to Confluence

How to use Confluence Cloud for stakeholder management

Most of us don’t need much convincing that stakeholder management is important. It just makes sense that keeping everyone in-the-know on projects and assigning clearly defined roles is key to having ...

1,187 views 4 6
Read article

Atlassian User Groups

Connect with like-minded Atlassian users at free events near you!

Find a group

Connect with like-minded Atlassian users at free events near you!

Find my local user group

Unfortunately there are no AUG chapters near you at the moment.

Start an AUG

You're one step closer to meeting fellow Atlassian users at your local meet up. Learn more about AUGs

Groups near you