The Movie4Mi application program interface (API) is a free and easy to use system for web developers to make their site more engaging and informative for their users. Using this API, Movie4Mi ratings can easily be integrated into a web based application.
Using this API, web developers can:
- Find Movie IDs for movies based on their movie titles
- Calculate a rating for a particular movie for a particular user based on the Movie ID and the
Facebook UserID Or
- Show this rating dynamically loaded on a web page
There are two operations (named-key) supported by the API. Responses are returned via the standard JSON format.
1) Get the Movie ID:
This calls Movie4Mi to find the Movie ID from the database based on the movie title.
Movies can be added to the database but only from the Movie4Mi website.
2) Calculate the Movie Rating:
This calls Movie4Mi to calculcate the user's unique rating for the movie based on the Movie ID
and Facebook ID. It is best to call this operation asynchronously with the program flow.
Generally speaking, there is no one way to integrate Movie4Mi ratings into a website, however we do require web developers to use our branded logo when
requesting ratings from the Movie4Mi API and displaying them to users.
You can download a high resolution version of this logo here. Download(png)
How do I get my user's Facebook ID?
How do I get my user's Google ID?
To get your users Facebook IDs, you must first register your web application as an App on Facebook. Once you do that and your users have logged into your site via Facebook,
Similarly to obtaining the Facebook ID, you must first register your web application as an App on the Google Developers Console. Once you do that and your users have logged into your site via Google Login,