Question: Facebook Tab application that I installed on my Page is not even viewable on smartphones.What are the different ways so that I can make them viewable?Is facebook doing something for it?
I can't paste the web link (URL) to my app as wall post.That's cheap.
Any other suggestion

Answer: 
You need to understand what `recursion` [means](http://en.wikipedia.org/wiki/Recursion_%28computer_science%29) and how you can use it in your code. Basically you need to call the same function inside itself, n times where n is the deepness level of your request.

Start with some little examples like Fibonacci series, and you will find the way to implement your function.

All is based on a condition `($deepness > 0)`.

Here's a little suggestion (in pseudocode) based on what I understood.

```
function findSimilar($words,$deepness) {
    if($deepness == 0) {
        return similarWordsOf($words);
    } else {
        return similarWordsOf(findSimilar($words,$deepness -1));
    }
}

```
As others have already pointed out, the key to the solution is to use a recursive function, i.e. a function that calls itself again for each of the similar words using a decreased deepness value.

My PHP is a bit rusty, so here's some pseudo code (aka Python):

```
def printSimilar(word, deepness=1, indent=0):
    print ("  " * indent) + word
    if deepness > 0:
        for similar in similarWords(word):
            printSimilar(similar, deepness - 1, indent + 1)

```

Assuming that `similarWords` returns the list of similar words, this should result in the desired output.