Question: Is it possible to search for mentions of my page via the Facebook API?

e.g. get statuses that look like: "I love the page [my page] - have a great day"

Answer: 
Assuming your data looked something like this (*I'm assuming this is the kind of data you want to deal with since you mentioned multiple values*):

```
data = [
    ("jimmy", 5, 250, "james",)
    ("bobby", 7, 270, "mark",)
]

```

You can simply iterate through the data in a simple "for loop" and write "comma separated" values out in each line:

```
with open("data.csv", "w") as f:
    for values in data:
        f.write("{0:s}\n".format(",".join(map(str, values))))

```

Alternatively (*and recommended*) you can use the Python `csv` module; specifically the [`csv.writer`](https://docs.python.org/2/library/csv.html#csv.writer) class like this:

```
import csv

with open("data.csv", "wb") as fd:
    csvfile = csv.writer(fd)

    for values in data:
        csvfile.writerow(values)

```

You can of course shorten this by using `csv.writer.writerows()`:

```
import csv

with open("data.csv", "wb") as fd:
    csvfile = csv.writer(fd)
    csvfile.writerows(data)

```
For a variable that holds multiple values I would use an array and loop through that with a foreach loop or something similar. That way every value stays properly seperated regardless of punctuation.