It's not the same without you

Join the community to find out what other Atlassian users are discussing, debating and creating.

Atlassian Community Hero Image Collage

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
Answer accepted

"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

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.

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 in Confluence

6 Awesome Ways to Apply Trello, JIRA and Confluence to your Project

I attended  Atlassian Summit 2019  and learned a lot from the presenters, attendees and knowledgeable Atlassian product managers. The presentations I attended focused on applying Agile, pla...

3,764 views 15 37
Read article

Community Events

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

Find an event

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

Unfortunately there are no Community Events near you at the moment.

Host an event

You're one step closer to meeting fellow Atlassian users at your local event. Learn more about Community Events

Events near you