The illustration below outlines the process followed each time an App is loaded.
When an App is loaded, a call is made to the
3rd party developer’s server. For example, when the
Share Your Mood App is loaded, the
Rediff Apps server makes a call to
www.x.com/share-your-mood, which is the callback
URL for this App.
Calls to 3rd party developer’s server from the Rediff Apps server:
Whenever an App is loaded, the Rediff Apps server sends an
Initialization XML(as shown below) in the
POST field to the App's callback
URL. The
Initialization XML will have the following structure.
<?xml version="1.0"?>
<initialcall>
<userid>XXXXXXXXXX</userid>
</initialcall>
Also X-REDF-UID, X-REDF-AUTHKEY, X-REDF-UAUTH variables is set in Header.
All calls from the App should go to the
3rd party developer’s server i.e. Callback
URL, or to other Rediff Services, such as MyPage or Pages.
The
3rd party developer’s server will build the App using the data and patterns from the
Rediff API server.
All calls to the Rediff API server should include the user’s ID, the Apps AuthKey and the AppKey.
The App built in (Step 3) will be returned to the Rediff Apps server.
The Rediff Apps server renders your App in the user’s window.
CLICK HERE to return to the main Table of Contents.
Back to top