views:

48

answers:

0

Hi,

I have a json output of list of products(menu) and their prices.

I have a application tab on my facebook fan page.

{"menu": {
  "id": "file",
  "name": "productname",
  "popup": {
    "price": [
      {"value": "$4"},
    ]
  }
}}

The product list or menu is long. I want to use fbjs to loop through it and extract productname and price. I am able to extract data but I dont know how to loop through the response with fbjs.

I appreciate any help.

Thanks.