From mn/ifi/inf5750
Jump to: navigation, search


Interpretation to facebook

We will display interpretations on a webapp looking similar to a Facebook Wall.

Users will see comment threads for each interpretation and have an option of posting

comments themselves. We will provide functionality for posting interpretations to Facebook

and possibly other social media sites.


  • Milestone 1: 1st November:

Document features and architecture on Wiki

  • Milestone 2: 15th November:

First bare-bone versjon - static HTML

Uploadable as DHIS web app

  • Milestone 3: 30th November

Finished, if applicable also with mobile app

  • Final delivery: 09.12.14
  • Presentation: 09.12.14


  • Displaying interpretations to a web app
  • Posting comments to an interpretation
  • Posting interpretations to facebook
  • Scalable interface


HTML5 and AngularJS will be our primary tools for this project.

The interpretations will be fetched from DHIS2 by their JSON API.

We will post to Facebook via their Graph JSON API. If we have time similar techonologies will

be applied for other social networking sites.

List of technologies and frameworks we will use:

  • JavaScript (angular)
  • JSON
  • HTML5
  • CSS
  • Bootstrap


  • Esten Høyland Leonardsen
  • Henrik Janson
  • Maria Oltean
  • Alisa Odincova
  • Bendik Ibenholt



(need to be registered to post to facebook, send an email to

Facebook app howto:

1. Create an Facebook app on

2. Change the appId i social_media.js

3. Change Site URL and App Domain in Basic Settings in your facebook app (

4. Add the persons you want to allow access to share to facebook under Roles in settings ( or

change the settings so everyone can post

Showing pictures in Facebook share dialog:

In order for pictures to appear in the share dialog when posting to facebook the HTML page serving your

image needs to be accepted by the Facebook crawler. In order to do this you need to add meta-tags

containing og:url, og:title, og:description and og:image to the header. Use

to check whether your page is accepted