For Webmasters

If you own a website, you can integrate Friendbuzz in two ways:

Embedding your latest posts into your site

This feature allows you to show your latest posts published on Friendbuzz on any page. It does not require any special knowledge, just basic HTML skills. You can export your latest posts to any page of your site, as long as you can access and modify it via such tools as FTP program.

Instructions

  1. find the page where you want to export your posts on your site's server
  2. open it with your favourite text editor
  3. insert the following HTML code in the place you want your posts to appear (on one line):

    <script src="http://friendbuzz.net/export?nickname=nick&format=js&count=2"></script>

    In the above code snippet, you will have to replace the nick with your own nickname, and adjust the count of posts to export.
  4. repeat the above steps for all pages you where want your posts to appear.

Note: this will export only your public posts, which are not replies to any other post.

Customizing the posts display

Each displayed post will consist of three div elements: the post itself, the date the post was published, and the link to the post on Friendbuzz:

<div class="fbzz-post">
 <div class="fbzz-post-body">
  The post body
 </div>
 <div class="fbzz-post-date">
  dd/mm/yyyy hh:mm
 </div>
 <div class="fbzz-post-link">
  <a href="http://friendbuzz.net/@nick?1234">http://friendbuzz.net/@nick?1234</a>
 </div>
</div>

To customize the display, you just define the CSS rules for the fbzz-post, fbzz-post-body, fbzz-post-date and fbzz-post-link classes.

Link back to your blog

You are encouraged to link back to your blog on Friendbuzz by adding necessary HTML tags, eg:

<a href="http://friendbuzz.net/@nick">Follow me on Friendbuzz</a>

Export your posts as a JavaScript array

Should you want to fetch the latest posts from your blog as JS array for further processing with JavaScript, use the following code:

<script src="http://friendbuzz.net/export?nickname=nick&format=json&count=2"></script>

This script will define an array friendbuzzPosts holding the latest posts.

Share on Friendbuzz button

This feature allows your site visitors to write about your site pages in their blogs. You can setup special buttons on your site's content pages, which will bring up a popup window, from which your visitors can easily create a new post for their Friendbuzz blogs.

Instructions

In order to be able to use this feature, you have to have access to your site pages.

  1. add the following line to your page's head section:

    <script src="http://friendbuzz.net/js/share.js"></script>

  2. add the following HTML where you want the button to appear:

    <a href="javascript: void(0)" onclick="friendbuzzShare('Reading ' + document.title + ' at ' + location.href, location.href)">Share this on Friendbuzz</a>

  3. you can customize the above code snippet to better fit your site's design - eg. you can use an img element instead of the a element. Also, you can pass arbitrary text as the first argument to the friendbuzzShare function; it is used as the template for the user's post (so that he does not have to copy and paste the page's title and URL).

Getting help

Should you have issues with implementing the above functionality into your site, please consult with your web development team, or drop us an email at support876-573610-208858-823(at)fbzz.net