1. We need a Facebook App (iFrame based), that will show up as a tab on a users facebook page.
2. Once user clicks on App - We need users FacebookID in order to show the app - so we may need to ask for permission to access his basic information so that we can get his FacebookID
3. If FacebookID does not exists in our DB (validated through a quick web service ping to our DB) - we will show the main landing page:
a. On Main Landing page: The iframe based facebook app will have 4 text boxes, 4 text box labels (one for each text box) , one drop down list with a label for that list and 1 button to submit the information
b. Once User clicks on Button - the code in the iframe will pass the params via a webservice call and receive a return result:
c. The app will communicate the above information via a Web service call (FYI - we have a Windows based infrastructure with SQL server 2008 and .NET framework version 4.0 (C# programming language) - the web service will communicate to our backend ).
d. The server will return a "result message": Depending on responses in text box we may show different messages to the user upon submission of information. So if user submits A, then response returned by server = X; if user submits B, then response returned by server = Y.
e. The responses are returned and shown in response confirmation landing page with a button hyperlinked to a given URL
4. If FacebookID exists in our DB - we show a simple page saying "You have already visited this page before and provided your information" with a button hyperlinked to a given URL
5. App Title and Label Text, URL's, body text should be configurable to Administrator of App.
6. You can create a simplistic / intuitive iframe layout for this purpose
7. Optional add on functionality to app: We may choose to show App only to facebook friends / Likers - so there may be an additional step involved here - of first clicking on like to get access to the main landing page