Posts Tagged Facebook

Hacking Social Networks APIs… the MovieIT way

A pda in a binay code patternJavascript based Facebook login OAuth 2.0

One of the positive features of OAuth 2.0 is that the OAuth dance occurs only by using HTTP GET method. This code resides in the Auth.htm page. The if structure checks the browser URL to identify the current step and move to the next one. The first step is to access the https://www.facebook.com/dialog/oauth by providing the application id, the redirection URI and the response type (which in our case is of type token). In our case we set the redirection address to again to the Auth.htm file. After the successful redirection from the Facebook page the script makes again a HTTP GET request to the same endpoint by providing the application ID, redirect URL, the response type and the resources that this application will have access to. If everything goes well then Facebook redirects the browser to back to the Auth.htm page by providing a code parameter. The final part of the script extracts this information for the url and passes it to our servlet in order to provide a customized to the user homepage (e.g. his profile image etc.). Read the rest of this entry »

, , , , , , , ,

No Comments

The Implementation (first steps)

This week we spent efforts to implement the basic architecture components. More specifically build an HTML web page for authenticating the user and authorizing our application. The result of this procedure is the provision of an “access token”. This token is passed to our servlet using the HTTP GET method. The servlet application is now able to have access to all features provided by the Facebook Graph API.

As you can see in the following figure, we tested our web application by checking-in some friends in Athens Greece. This feature will be embedded to our application so people to be able to inform their friends about a movie they watched, the  place and their comments they have.

A Facebook check-in post

A Check-in post using the Facebook Graph API

, , , , , , , , ,

2 Comments

The proposed system

Movie selection is a taste-related domain where friends (Social Groups and Group Members) influence one another by providing evaluation and advices[1]. In real world, it is time and cost consuming to find friends that they have already seen the movie (to request their opinion) or they have not and you want to propose to them to watch it together.
Our proposed system utilizes the infrastructure provided by Facebook, allowing users to state:

  1. Movies watched
  2. Comment movies, cinemas
  3. The movie they watched
  4. Suggest movies to friends
  5. The place they watched the movie (Using Facebook Places Service)
  6. Make movie groups
  7. Friend watched the movie with

By using the aforementioned information, the system will be able to:

  1. Provide movie recommendations
    • Narrow it down to specific friends, movie groups, dates, area
  2. See the movie activity of friends
    • Narrow it down to specific friends, movie groups, dates, areas
  3. See his friends movie recommendation
Architecture of the proposed system

System Architecture

References

  1. W. Woerndl, G. Groh, “Utilizing Physical and Social Context to Improve Recommender Systems“, IEEE/WIC/ACM International Conferences on Web Intelligence and Intelligent Agent Technology, 2007.

, , , , , , , , ,

No Comments